Function at 0x600e900
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6018078
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push 0x80
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [esp + 0x84]
or edi, 0xffffffff
cmp eax, edi
mov dword [esi], eax
jne 0x600e9a4
push 0x6022228
push ebx
push 0x166
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [esp + 0x40]
mov dword [esi], ebx
call fcn.06013920
mov ecx, dword [0x6022278]
push str.BootMode_Fial_:_Open_comport_fial_
push ecx
push eax
mov dword [esp + 0x88], ebx
call fcn.060139a0
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], edi
call fcn.06013990
pop edi
pop esi
pop ebp
mov eax, 0x2af8
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov ebp, dword [sym.imp.KERNEL32.dll_ClearCommError]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x88]
push edx
push ecx
push eax
call ebp
mov edx, dword [esi]
push 0x2000
push 0x10000
push edx
call dword [sym.imp.KERNEL32.dll_SetupComm]
test eax, eax
jne 0x600ea3a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6022228
push ebx
push 0x16f
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [esp + 0x40]
mov dword [esi], ebx
call fcn.06013920
mov ecx, dword [0x6022278]
push str.BootMode_Fial_2_
push ecx
push eax
mov dword [esp + 0x88], 1
call fcn.060139a0
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], edi
call fcn.06013990
pop edi
pop esi
pop ebp
mov eax, 0x2af9
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov ecx, dword [esi]
lea edx, [esp + 0x10]
lea eax, [esp + 0x88]
push edx
push eax
push ecx
call ebp
mov eax, dword [esi]
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCommState]
test eax, eax
jne 0x600eac7
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6022228
push ebx
push 0x179
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [esp + 0x40]
call fcn.06013920
mov edx, dword [0x6022278]
push str.BootMode_Fial_3_
push edx
push eax
mov dword [esp + 0x88], 2
call fcn.060139a0
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], edi
call fcn.06013990
mov dword [esi], ebx
pop edi
pop esi
pop ebp
mov eax, 0x2afa
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
and eax, 0xffffb395
lea edx, [esp + 0x88]
or al, 0x11
push ecx
and eax, 0xffffdc7b
push edx
or ah, 0x10
mov dword [esp + 0x60], 0x1c
mov dword [esp + 0x68], eax
mov eax, dword [esi]
push eax
mov byte [esp + 0x77], bl
mov byte [esp + 0x76], 8
mov byte [esp + 0x78], bl
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], bl
mov byte [esp + 0x7d], bl
mov byte [esp + 0x79], bl
mov byte [esp + 0x7a], bl
call ebp
mov edx, dword [esi]
lea ecx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetCommState]
test eax, eax
jne 0x600eba5
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6022228
push ebx
push 0x19b
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [esp + 0x40]
mov dword [esi], ebx
call fcn.06013920
mov esi, eax
mov dword [esp + 0x7c], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x6022278]
push eax
push str.BootMode_SetCommState___fail__error_code_is__d_
push ecx
push esi
call fcn.060139a0
add esp, 0x10
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], edi
call fcn.06013990
pop edi
pop esi
pop ebp
mov eax, 0x2afb
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov edx, dword [esi]
push 0xf
push edx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
test eax, eax
jne 0x600ec23
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6022228
push ebx
push 0x1a3
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [esp + 0x40]
mov dword [esi], ebx
call fcn.06013920
mov esi, eax
mov dword [esp + 0x7c], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x6022278]
push eax
push str.BootMode_PurgeComm___fail__error_code_is__d_
push ecx
push esi
call fcn.060139a0
add esp, 0x10
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], edi
call fcn.06013990
pop edi
pop esi
pop ebp
mov eax, 0x2afc
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov eax, dword [esi]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x1388
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
test eax, eax
jne 0x600ecb6
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x6022228
push ebx
push 0x1b1
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [esp + 0x40]
mov dword [esi], ebx
call fcn.06013920
mov edx, dword [0x6022278]
push str.BootMode_Fial_6_
push edx
push eax
mov dword [esp + 0x88], 5
call fcn.060139a0
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], edi
call fcn.06013990
pop edi
pop esi
pop ebp
mov eax, 0x2afd
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
push 0x6022228
push ebx
push 0x1b7
push str.E:_svneboot_dll_trunkeboot.cpp
lea ecx, [esp + 0x54]
call fcn.06013920
mov ecx, dword [0x6022278]
push str.BootMode_Success_
push ecx
push eax
mov dword [esp + 0x88], 6
call fcn.060139a0
add esp, 0xc
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c], edi
call fcn.06013990
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov eax, 0x2710
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret