Function at 0x170c6f0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x17e7776
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x1845170]
xor eax, esp
mov dword [esp + 0x66c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1845170]
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], 0x17358f0
mov dword [esp + 0x20], 0x1750200
mov dword [esp + 0x24], 0x17516d0
call fcn.0170ab80
call fcn.01787430
push eax
call fcn.017b225b
mov esi, dword [esp + 0x698]
add esp, 4
cmp esi, 3
jl 0x170c779
call fcn.0176dcc0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x3c]
mov dword [0x1868bbc], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1868cec], eax
mov dword [0x186895c], ebx
mov eax, 0x1868960
mov edx, edi
mov dword [0x1868958], esi
xor ebx, ebx
xor ebp, ebp
mov esi, 0x40
sub edx, eax
jmp 0x170c7c0
lea ecx, [esi + 0x7fffffbe]
test ecx, ecx
je 0x170c7dd
mov cl, byte [edx + eax]
cmp cl, bl
je 0x170c7dd
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x170c7c0
jmp 0x170c7e1
cmp esi, ebx
jne 0x170c7e9
sub eax, 1
mov ebp, 0x8007007a
cmp ebp, ebx
mov byte [eax], bl
je 0x170c7fc
call fcn.0176dcc0
or eax, 0xffffffff
jmp 0x170ccce
mov edx, dword [esp + 0x6a0]
mov eax, 0x18689a0
xor ebp, ebp
mov esi, 0x104
sub edx, eax
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x170c82e
mov cl, byte [edx + eax]
cmp cl, bl
je 0x170c82e
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x170c811
jmp 0x170c832
cmp esi, ebx
jne 0x170c83a
sub eax, 1
mov ebp, 0x8007007a
cmp ebp, ebx
mov byte [eax], bl
jne 0x170c7ef
mov eax, dword [esp + 0x6a4]
cmp eax, 1
je 0x170c865
push 1
push eax
push str.wrong_server_framework_version_:__d____d
push edi
call fcn.0170b0b0
add esp, 0x10
or eax, 0xffffffff
jmp 0x170ccce
push str.Global_
lea ecx, [esp + 0x50]
call fcn.01667d20
mov dword [esp + 0x68c], ebx
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x170c880
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x54]
call fcn.016831a0
push 0x103
lea edx, [esp + 0x171]
push ebx
push edx
mov byte [esp + 0x178], bl
call fcn.017b03e0
push 0x103
lea eax, [esp + 0x281]
push ebx
push eax
mov byte [esp + 0x288], bl
call fcn.017b03e0
push 0x103
lea ecx, [esp + 0x85]
push ebx
push ecx
mov byte [esp + 0x8c], bl
call fcn.017b03e0
push 0x103
lea edx, [esp + 0x4a1]
push ebx
push edx
mov byte [esp + 0x4a8], bl
call fcn.017b03e0
push 0x103
lea eax, [esp + 0x3a9]
push ebx
push eax
mov byte [esp + 0x3b0], bl
call fcn.017b03e0
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.017b33d2
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 0x170c980
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 0x1868aa4
call fcn.0167a070
add esp, 0x14
test eax, eax
je 0x170c9c4
call fcn.0176dcc0
or esi, 0xffffffff
jmp 0x170ccbc
mov ecx, dword [esp + 0x6a8]
or esi, 0xffffffff
push str.ServerFrameworkRes.dll
mov dword [0x1868cf0], 0x112
mov dword [0x1868cf4], 0x201
mov dword [0x1868d04], esi
mov dword [0x1868d08], ebx
mov dword [0x1868d0c], ecx
mov dword [0x1868d10], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x1868954], eax
jne 0x170ca18
push str.cannot_load_ServerFrameworkRes.dll
jmp 0x170ccb3
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x1868d1c
push 0x1868d18
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
jne 0x170ca54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_GetProcessAffinityMask._ErrorCode_:__u
push edi
call fcn.0170b0b0
add esp, 0xc
call fcn.0176dcc0
jmp 0x170ccbc
push edi
mov dword [0x1868d18], ebx
mov dword [0x1868d14], ebx
call fcn.0170baf0
add esp, 4
test al, al
jne 0x170ca81
push edi
push str.cant_find_server.cfg_or_failed_to_parse_server_config_block___s_
push edi
call fcn.0170b0b0
add esp, 0xc
jmp 0x170ccbc
cmp dword [esp + 0x694], 2
jne 0x170cab7
push edi
push str.MachineManager
call fcn.016628f0
add esp, 8
test eax, eax
jne 0x170cab7
push str.MachineManagerAsWindowsApplication
mov ecx, 0x1868958
call fcn.016746c0
cmp eax, ebx
je 0x170cab7
mov dword [esp + 0x694], ebx
cmp dword [0x1868d14], ebx
jne 0x170caec
mov eax, dword [0x1868d18]
cmp eax, ebx
je 0x170caec
mov ecx, dword [0x1868d1c]
cmp eax, ecx
jbe 0x170caf6
push ecx
push eax
push str.invalid_ProcessorAffinityMask_:__u._SystemAffinityMask_:__u
push edi
call fcn.0170b0b0
add esp, 0x10
call fcn.0176dcc0
jmp 0x170ccbc
mov eax, dword [0x1868d1c]
mov dword [0x1868d18], eax
push eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
jne 0x170cb2a
call fcn.0176dcc0
mov edx, dword [0x1868d18]
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.0170b0b0
add esp, 0x10
jmp 0x170ccbc
push str.SR_GameServer
push edi
call fcn.016628f0
add esp, 8
test eax, eax
je 0x170cb4e
push str.AgentServer
push edi
call fcn.016628f0
add esp, 8
test eax, eax
jne 0x170cb84
mov eax, dword [0x1868ce4]
cmp eax, ebx
je 0x170ccae
push 0xa
push 0x104
lea ecx, [esp + 0x584]
push ecx
push eax
call fcn.017b20b0
add esp, 0x10
lea edx, [esp + 0x57c]
push edx
lea ecx, [esp + 0x50]
call fcn.01683720
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
jae 0x170cb93
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
call fcn.01750650
mov byte [esp + 0x68c], 1
lea ecx, [esp + 0x14]
call fcn.017506b0
test eax, eax
jne 0x170cbd5
push str.cannot_create_semaphore_:_module_already_executing
push edi
call fcn.0170b0b0
add esp, 8
mov byte [esp + 0x68c], bl
lea ecx, [esp + 0x14]
call fcn.01750690
jmp 0x170ccbc
mov eax, 0x1868bc0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x170cbe0
sub eax, edx
jne 0x170cc23
push str.Certification
push edi
call fcn.016628c0
add esp, 8
test eax, eax
je 0x170cc23
push edi
push str.there_is_no_assigned_ip_for_certifying_server___s_
push edi
call fcn.0170b0b0
add esp, 0xc
mov byte [esp + 0x68c], bl
lea ecx, [esp + 0x14]
call fcn.01750690
jmp 0x170ccbc
push 0x1868bac
push 0x1868ba8
call fcn.0170b190
add esp, 8
test al, al
jne 0x170cc43
push str.failed_to_identify_public_ip_of_this_machine
jmp 0x170cbb7
call fcn.01750640
mov eax, dword [0x1868cf4]
mov ecx, dword [0x1868cf0]
push eax
push ecx
call fcn.0176cbc0
add esp, 8
call fcn.0170b0a0
test eax, eax
jne 0x170cc70
push str.Anti_DLL_Injection_Init___Failed______Anti_DLL_Log_Check_Plz
jmp 0x170cbb7
mov edx, dword [esp + 0x694]
mov eax, dword [esp + edx*4 + 0x1c]
call eax
mov ecx, dword [0x1868954]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0x68c], bl
lea ecx, [esp + 0x14]
call fcn.01750690
mov dword [esp + 0x68c], esi
lea ecx, [esp + 0x4c]
call fcn.01666500
xor eax, eax
jmp 0x170ccce
push str.cannot_find_config_:_myport
push edi
call fcn.0170b0b0
add esp, 8
mov dword [esp + 0x68c], esi
lea ecx, [esp + 0x4c]
call fcn.01666500
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.017b0193
add esp, 0x67c
ret