Function at 0x466cb0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x508746
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x540a54]
xor eax, esp
mov dword [esp + 0x66c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x540a54]
xor eax, esp
push eax
lea eax, [esp + 0x684]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x69c]
mov edi, dword [esp + 0x698]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x46f850
mov dword [esp + 0x20], 0x48af30
mov dword [esp + 0x24], 0x48c400
call fcn.00463ff0
call fcn.004a45a0
push eax
call fcn.004de2b9
mov esi, dword [esp + 0x698]
add esp, 4
cmp esi, 3
jl 0x466d39
call fcn.004a6300
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x3c]
mov dword [0x5a3344], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x5a3474], eax
mov dword [0x5a30e4], ebx
mov eax, 0x5a30e8
mov edx, edi
mov dword [0x5a30e0], esi
xor ebx, ebx
xor ebp, ebp
mov esi, 0x40
sub edx, eax
jmp 0x466d80
lea ecx, [esi + 0x7fffffbe]
test ecx, ecx
je 0x466d9d
mov cl, byte [edx + eax]
cmp cl, bl
je 0x466d9d
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x466d80
jmp 0x466da1
cmp esi, ebx
jne 0x466da9
sub eax, 1
mov ebp, 0x8007007a
cmp ebp, ebx
mov byte [eax], bl
je 0x466dbc
call fcn.004a6300
or eax, 0xffffffff
jmp 0x46728e
mov edx, dword [esp + 0x6a0]
mov eax, 0x5a3128
xor ebp, ebp
mov esi, 0x104
sub edx, eax
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x466dee
mov cl, byte [edx + eax]
cmp cl, bl
je 0x466dee
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x466dd1
jmp 0x466df2
cmp esi, ebx
jne 0x466dfa
sub eax, 1
mov ebp, 0x8007007a
cmp ebp, ebx
mov byte [eax], bl
jne 0x466daf
mov eax, dword [esp + 0x6a4]
cmp eax, 1
je 0x466e25
push 1
push eax
push str.wrong_server_framework_version_:__d____d
push edi
call fcn.004647f0
add esp, 0x10
or eax, 0xffffffff
jmp 0x46728e
push str.Global_
lea ecx, [esp + 0x50]
call fcn.00425160
mov dword [esp + 0x68c], ebx
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x466e40
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x54]
call fcn.0043a790
push 0x103
lea edx, [esp + 0x171]
push ebx
push edx
mov byte [esp + 0x178], bl
call fcn.004dc170
push 0x103
lea eax, [esp + 0x281]
push ebx
push eax
mov byte [esp + 0x288], bl
call fcn.004dc170
push 0x103
lea ecx, [esp + 0x85]
push ebx
push ecx
mov byte [esp + 0x8c], bl
call fcn.004dc170
push 0x103
lea edx, [esp + 0x4a1]
push ebx
push edx
mov byte [esp + 0x4a8], bl
call fcn.004dc170
push 0x103
lea eax, [esp + 0x3a9]
push ebx
push eax
mov byte [esp + 0x3b0], bl
call fcn.004dc170
mov edx, dword [esp + 0x54]
add esp, 0x3c
push 0x104
lea ecx, [esp + 0x170]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [esp + 0x378]
push eax
push 0x104
lea ecx, [esp + 0x484]
push ecx
push 0x104
lea edx, [esp + 0x7c]
push edx
push 0x104
lea eax, [esp + 0x28c]
push eax
lea ecx, [esp + 0x18c]
push ecx
call fcn.004dedc2
lea eax, [esp + 0x8c]
add esp, 0x24
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x466f40
sub eax, edx
lea edx, [esp + 0x68]
push edx
mov byte [esp + eax + 0x6b], bl
lea eax, [esp + 0x274]
push eax
push str._s_s
push 0x104
push 0x5a322c
call fcn.00431690
add esp, 0x14
test eax, eax
je 0x466f84
call fcn.004a6300
or esi, 0xffffffff
jmp 0x46727c
mov ecx, dword [esp + 0x6a8]
or esi, 0xffffffff
push str.ServerFrameworkRes.dll
mov dword [0x5a3478], 0x112
mov dword [0x5a347c], 0x201
mov dword [0x5a348c], esi
mov dword [0x5a3490], ebx
mov dword [0x5a3494], ecx
mov dword [0x5a3498], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x5a30dc], eax
jne 0x466fd8
push str.cannot_load_ServerFrameworkRes.dll
jmp 0x467273
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x5a34a4
push 0x5a34a0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
jne 0x467014
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_GetProcessAffinityMask._ErrorCode_:__u
push edi
call fcn.004647f0
add esp, 0xc
call fcn.004a6300
jmp 0x46727c
push edi
mov dword [0x5a34a0], ebx
mov dword [0x5a349c], ebx
call fcn.00466070
add esp, 4
test al, al
jne 0x467041
push edi
push str.cant_find_server.cfg_or_failed_to_parse_server_config_block___s_
push edi
call fcn.004647f0
add esp, 0xc
jmp 0x46727c
cmp dword [esp + 0x694], 2
jne 0x467077
push edi
push str.MachineManager
call fcn.00434200
add esp, 8
test eax, eax
jne 0x467077
push str.MachineManagerAsWindowsApplication
mov ecx, 0x5a30e0
call fcn.00429e00
cmp eax, ebx
je 0x467077
mov dword [esp + 0x694], ebx
cmp dword [0x5a349c], ebx
jne 0x4670ac
mov eax, dword [0x5a34a0]
cmp eax, ebx
je 0x4670ac
mov ecx, dword [0x5a34a4]
cmp eax, ecx
jbe 0x4670b6
push ecx
push eax
push str.invalid_ProcessorAffinityMask_:__u._SystemAffinityMask_:__u
push edi
call fcn.004647f0
add esp, 0x10
call fcn.004a6300
jmp 0x46727c
mov eax, dword [0x5a34a4]
mov dword [0x5a34a0], eax
push eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
jne 0x4670ea
call fcn.004a6300
mov edx, dword [0x5a34a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetProcessAffinityMask._ErrorCode_:__u._Input_ProcessAffinityMask_:__u
push edi
call fcn.004647f0
add esp, 0x10
jmp 0x46727c
push str.SR_GameServer
push edi
call fcn.00434200
add esp, 8
test eax, eax
je 0x46710e
push str.AgentServer
push edi
call fcn.00434200
add esp, 8
test eax, eax
jne 0x467144
mov eax, dword [0x5a346c]
cmp eax, ebx
je 0x46726e
push 0xa
push 0x104
lea ecx, [esp + 0x584]
push ecx
push eax
call fcn.004de475
add esp, 0x10
lea edx, [esp + 0x57c]
push edx
lea ecx, [esp + 0x50]
call fcn.0043a8a0
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
jae 0x467153
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
call fcn.0048b380
mov byte [esp + 0x68c], 1
lea ecx, [esp + 0x14]
call fcn.0048b3e0
test eax, eax
jmp 0x467195
push edi
call fcn.004647f0
add esp, 8
mov byte [esp + 0x68c], bl
lea ecx, [esp + 0x14]
call fcn.0048b3c0
jmp 0x46727c
mov eax, 0x5a3348
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4671a0
sub eax, edx
jne 0x4671e3
push str.Certification
push edi
call fcn.00431350
add esp, 8
test eax, eax
je 0x4671e3
push edi
push str.there_is_no_assigned_ip_for_certifying_server___s_
push edi
call fcn.004647f0
add esp, 0xc
mov byte [esp + 0x68c], bl
lea ecx, [esp + 0x14]
call fcn.0048b3c0
jmp 0x46727c
push 0x5a3334
push 0x5a3330
call fcn.004648d0
add esp, 8
test al, al
jne 0x467203
push str.failed_to_identify_public_ip_of_this_machine
jmp 0x467177
call fcn.0048b370
mov eax, dword [0x5a347c]
mov ecx, dword [0x5a3478]
push eax
push ecx
call fcn.004a5200
add esp, 8
call fcn.004647e0
test eax, eax
jne 0x467230
push str.Anti_DLL_Injection_Init___Failed______Anti_DLL_Log_Check_Plz
jmp 0x467177
mov edx, dword [esp + 0x694]
mov eax, dword [esp + edx*4 + 0x1c]
call eax
mov ecx, dword [0x5a30dc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0x68c], bl
lea ecx, [esp + 0x14]
call fcn.0048b3c0
mov dword [esp + 0x68c], esi
lea ecx, [esp + 0x4c]
call fcn.00424580
xor eax, eax
jmp 0x46728e
push str.cannot_find_config_:_myport
push edi
call fcn.004647f0
add esp, 8
mov dword [esp + 0x68c], esi
lea ecx, [esp + 0x4c]
call fcn.00424580
mov eax, esi
mov ecx, dword [esp + 0x684]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x66c]
xor ecx, esp
call fcn.004dc8c2
add esp, 0x67c
ret