Function at 0x485750
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x5226a6
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x553150]
xor eax, esp
mov dword [esp + 0x55c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x553150]
xor eax, esp
push eax
lea eax, [esp + 0x574]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x584]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004e7bc8
add esp, 4
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x30]
mov dword [0x59b604], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
mov dword [0x59b630], eax
mov eax, 0x59b3a8
mov edx, str.GlobalManager
xor edi, edi
mov dword [0x59b3a0], ebx
mov dword [0x59b3a4], ebp
lea esi, [ebx + 0x40]
sub edx, eax
mov cl, byte [edx + eax]
cmp cl, bl
je 0x4857f3
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x4857e0
jmp 0x4857f7
cmp esi, ebx
jne 0x4857ff
sub eax, 1
mov edi, 0x8007007a
cmp edi, ebx
mov byte [eax], bl
je 0x485812
call fcn.004be360
or eax, 0xffffffff
jmp 0x485b86
mov edx, dword [esp + 0x588]
mov eax, 0x59b3e8
xor edi, edi
mov esi, 0x104
sub edx, eax
mov cl, byte [edx + eax]
cmp cl, bl
je 0x48583a
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x485827
jmp 0x48583e
cmp esi, ebx
jne 0x485846
sub eax, 1
mov edi, 0x8007007a
cmp edi, ebx
mov byte [eax], bl
jne 0x485805
push str.Global_
lea ecx, [esp + 0x44]
call fcn.0040ba90
mov dword [esp + 0x57c], ebx
mov eax, str.GlobalManager
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x485870
sub eax, edx
push eax
push str.GlobalManager
lea eax, [esp + 0x48]
call fcn.00475cc0
cmp dword [esp + 0x58], 0x10
mov eax, dword [esp + 0x44]
jae 0x485899
lea eax, [esp + 0x44]
lea esi, [esp + 0x14]
call fcn.004a21e0
mov byte [esp + 0x57c], 1
mov ecx, esi
call fcn.004a2240
test eax, eax
jne 0x4858fb
push str.cannot_create_semaphore_:_module_already_executing
call fcn.004bcee0
push str.cannot_create_semaphore_:_module_already_executing
mov esi, str.GlobalManager
call fcn.00485670
add esp, 8
mov byte [esp + 0x57c], bl
lea esi, [esp + 0x14]
call fcn.004a2220
or ebp, 0xffffffff
mov dword [esp + 0x57c], ebp
lea ecx, [esp + 0x40]
call fcn.0040ba60
mov eax, ebp
jmp 0x485b86
push 0x104
lea edx, [esp + 0x268]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [esp + 0x36c]
push eax
push 0x104
lea ecx, [esp + 0x478]
push ecx
push 0x104
lea edx, [esp + 0x70]
push edx
push 0x104
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x284]
push ecx
call fcn.004e7bf7
lea eax, [esp + 0x80]
add esp, 0x24
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x485960
sub eax, edx
mov byte [esp + eax + 0x5b], bl
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x164]
push eax
push str._s_s
mov eax, 0x104
mov edi, 0x59b4ec
call fcn.00412470
add esp, 0xc
test eax, eax
je 0x4859a1
call fcn.004be360
jmp 0x4858d1
or ebp, 0xffffffff
push str.ServerFrameworkRes.dll
mov dword [0x59b634], 0x112
mov dword [0x59b638], 0x201
mov dword [0x59b644], ebx
mov dword [0x59b64c], ebp
mov dword [0x59b650], ebx
mov dword [0x59b654], ebx
mov dword [0x59b658], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x558cdc], eax
jne 0x485a2d
push str.cannot_load_ServerFrameworkRes.dll
call fcn.004bcee0
push str.cannot_load_ServerFrameworkRes.dll
mov esi, str.GlobalManager
call fcn.00485670
add esp, 8
mov byte [esp + 0x57c], bl
lea esi, [esp + 0x14]
call fcn.004a2220
mov dword [esp + 0x57c], ebp
lea ecx, [esp + 0x40]
call fcn.0040ba60
mov eax, ebp
jmp 0x485b86
call fcn.00485e80
test al, al
jne 0x485a7e
push str.GlobalManager
push str.cant_find_server.cfg_or_failed_to_parse_server_config_block___s_
call fcn.004bcee0
push str.paring_config_error
mov esi, str.GlobalManager
call fcn.00485670
add esp, 0xc
mov byte [esp + 0x57c], bl
lea esi, [esp + 0x14]
call fcn.004a2220
mov dword [esp + 0x57c], ebp
lea ecx, [esp + 0x40]
call fcn.0040ba60
mov eax, ebp
jmp 0x485b86
mov eax, 0x59b608
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x485a86
sub eax, edx
jne 0x485ae7
mov esi, str.Certification
mov edi, str.GlobalManager
call fcn.0040b6e0
test eax, eax
je 0x485ae7
push edi
push str.there_is_no_assigned_ip_for_certifying_server___s_
call fcn.004bcee0
push str.certification_ip_is_void
mov esi, edi
call fcn.00485670
add esp, 0xc
mov byte [esp + 0x57c], bl
lea esi, [esp + 0x14]
call fcn.004a2220
mov dword [esp + 0x57c], ebp
lea ecx, [esp + 0x40]
call fcn.0040ba60
mov eax, ebp
jmp 0x485b86
push 0x59b5f0
mov eax, 0x59b5f4
call fcn.00485bf0
add esp, 4
test al, al
jne 0x485b3d
push str.failed_to_identify_public_ip_of_this_machine
call fcn.004bcee0
push str.cannot_identity_machine_public_ip
mov esi, str.GlobalManager
call fcn.00485670
add esp, 8
mov byte [esp + 0x57c], bl
lea esi, [esp + 0x14]
call fcn.004a2220
mov dword [esp + 0x57c], ebp
lea ecx, [esp + 0x40]
call fcn.0040ba60
mov eax, ebp
jmp 0x485b86
call fcn.004a2990
mov ecx, dword [0x59b638]
mov eax, dword [0x59b634]
call fcn.004bdd00
call fcn.0048f540
mov ecx, dword [0x558cdc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0x57c], bl
lea esi, [esp + 0x14]
call fcn.004a2220
mov dword [esp + 0x57c], ebp
lea ecx, [esp + 0x40]
call fcn.0040ba60
xor eax, eax
mov ecx, dword [esp + 0x574]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x55c]
xor ecx, esp
call fcn.004e6578
add esp, 0x56c
ret