Function at 0x402060
Capabilities:
Get memory capacity
Print debug messages
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x427ef7
mov eax, dword fs:[0]
push eax
sub esp, 0x78c
mov eax, dword [0x430240]
xor eax, esp
mov dword [esp + 0x788], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0x7a0]
mov dword fs:[0], eax
push 0x3e8
lea edi, [esp + 0x374]
mov esi, ecx
call fcn.00401af0
push eax
add esi, 4
xor ebx, ebx
push esi
lea edi, [esp + 0xd4]
mov dword [esp + 0x7b0], ebx
call fcn.004037c0
add esp, 8
mov edi, 8
mov byte [esp + 0x7a8], 2
cmp dword [esp + 0x388], edi
jb 0x4020f1
mov eax, dword [esp + 0x374]
push eax
call fcn.00413bbf
add esp, 4
push 0x206
lea ecx, [esp + 0x392]
push ebx
mov ebp, 7
push ecx
mov dword [esp + 0x394], ebp
mov dword [esp + 0x390], ebx
mov word [esp + 0x380], bx
mov word [esp + 0x398], bx
call fcn.00415be0
add esp, 0xc
push 0x206
lea edx, [esp + 0x59a]
push ebx
push edx
mov word [esp + 0x5a0], bx
call fcn.00415be0
mov eax, dword [esp + 0xdc]
add esp, 0xc
cmp dword [esp + 0xe4], edi
jae 0x40215f
lea eax, [esp + 0xd0]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [esp + 0x394]
push eax
push ebx
push 0x42b034
push str.game
call esi
cmp dword [esp + 0xe4], edi
mov eax, dword [esp + 0xd0]
jae 0x402197
lea eax, [esp + 0xd0]
push eax
push 0x104
lea ecx, [esp + 0x59c]
push ecx
push ebx
push str.version
push str.game
call esi
lea edx, [esp + 0x94]
push edx
call fcn.00402ac0
push ebx
mov byte [esp + 0x7ac], 3
call fcn.0041392d
add esp, 4
push edx
push eax
lea ecx, [esp + 0x80]
call fcn.00404f70
add esp, 8
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
xor eax, eax
mov byte [esp + 0x370], bl
mov dword [esp + 0x371], eax
mov dword [esp + 0x375], eax
mov dword [esp + 0x379], eax
mov word [esp + 0x37d], ax
mov byte [esp + 0x37f], al
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
mov byte [esp + 0x7a8], 7
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x40225a
lea ecx, [esp + 0x7c]
cmp dword [esp + 0xac], edi
mov eax, dword [esp + 0x98]
jae 0x402271
lea eax, [esp + 0x98]
push str.et55wIkeQU
push ecx
push eax
lea eax, [esp + 0x398]
push eax
push str._s_s_s_s
lea ecx, [esp + 0xc4]
call fcn.004053d0
add esp, 0x14
lea edi, [esp + 0xb0]
lea esi, [esp + 0x20]
call fcn.0040d280
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x7b4], 8
call fcn.00402de0
mov esi, 0x10
mov byte [esp + 0x7a8], 7
cmp dword [esp + 0x38], esi
jb 0x4022d9
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x74], esi
mov ecx, dword [esp + 0x60]
jae 0x4022e7
lea ecx, [esp + 0x60]
mov ebx, dword [esp + 0xc4]
lea esi, [esp + 0x370]
lea edi, [esp + 0x20]
call fcn.00408710
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x7b0], 9
call fcn.004030d0
mov ebp, 8
mov byte [esp + 0x7a8], 7
cmp dword [esp + 0x38], ebp
jb 0x402334
mov edx, dword [esp + 0x24]
push edx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x54], ebx
jne 0x402404
cmp dword [esp + 0x74], 0x10
jb 0x402352
mov eax, dword [esp + 0x60]
push eax
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0xc8], ebp
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x40237b
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x58], ebp
mov esi, 7
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
jb 0x4023a9
mov edx, dword [esp + 0x44]
push edx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
jb 0x4023cc
mov eax, dword [esp + 0x7c]
push eax
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0xac], ebp
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x4023f8
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00413bbf
add esp, 4
mov dword [esp + 0xac], esi
jmp 0x402a6c
push 0x11c
lea eax, [esp + 0x250]
push ebx
push eax
call fcn.00415be0
add esp, 0xc
lea ecx, [esp + 0x24c]
push ecx
mov dword [esp + 0x250], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x402525
cmp dword [esp + 0x74], 0x10
jb 0x40244f
mov edx, dword [esp + 0x60]
push edx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0xc8], ebp
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x402478
mov eax, dword [esp + 0xb4]
push eax
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x58], ebp
mov esi, 7
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
jb 0x4024a6
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
jb 0x4024c9
mov edx, dword [esp + 0x7c]
push edx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0xac], ebp
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x4024f5
mov eax, dword [esp + 0x98]
push eax
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0xe4], ebp
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
jb 0x402a94
mov ecx, dword [esp + 0xd0]
push ecx
jmp 0x402a8c
mov eax, 7
mov dword [esp + 0x138], eax
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], bx
mov dword [esp + 0x11c], eax
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], bx
mov byte [esp + 0x7a8], 0xb
mov eax, dword [esp + 0x250]
lea esi, [esp + 0x20]
call fcn.004053b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x128]
mov byte [esp + 0x7b0], 0xc
call fcn.004030d0
mov byte [esp + 0x7a8], 0xb
cmp dword [esp + 0x38], ebp
jb 0x4025a0
mov edx, dword [esp + 0x24]
push edx
call fcn.00413bbf
add esp, 4
mov eax, dword [esp + 0x254]
lea esi, [esp + 0x20]
call fcn.004053b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x10c]
mov byte [esp + 0x7b0], 0xd
call fcn.004030d0
mov byte [esp + 0x7a8], 0xb
cmp dword [esp + 0x38], ebp
jb 0x4025e2
mov eax, dword [esp + 0x24]
push eax
call fcn.00413bbf
add esp, 4
lea ecx, [esp + 0x1a4]
push ecx
call fcn.00409cb0
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x7a8], 0xe
call fcn.0040aaa0
lea edx, [esp + 0x1a4]
push edx
mov dword [esp + 0x1a8], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea ecx, [esp + 0x1a4]
call fcn.00409e30
lea eax, [esp + 0x1a4]
push eax
call fcn.0040a470
lea esi, [esp + 0x13c]
lea eax, [esp + 0x1a4]
call fcn.0040aa70
mov dword [esp + 0x190], 7
mov dword [esp + 0x18c], ebx
mov word [esp + 0x17c], bx
mov dword [esp + 0x194], ebx
mov dword [esp + 0x198], ebx
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x1a0], ebx
lea edi, [esp + 0x174]
mov byte [esp + 0x7a8], 0x10
call fcn.00404680
lea esi, [esp + 0x158]
mov eax, edi
call fcn.00404650
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], bx
mov byte [esp + 0x7a8], 0x12
cmp dword [esp + 0x170], ebp
mov edi, dword [esp + 0x15c]
jae 0x4026d9
lea edi, [esp + 0x15c]
cmp dword [esp + 0x154], ebp
jb 0x4026ef
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x1c], ecx
jmp 0x4026fa
lea edx, [esp + 0x140]
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x11c], ebp
jb 0x402710
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], eax
jmp 0x40271b
lea ecx, [esp + 0x108]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x138], ebp
mov esi, dword [esp + 0x124]
jae 0x402732
lea esi, [esp + 0x124]
cmp dword [esp + 0x58], ebp
mov edx, dword [esp + 0x44]
jae 0x402740
lea edx, [esp + 0x44]
cmp dword [esp + 0x90], ebp
mov ecx, dword [esp + 0x7c]
jae 0x402751
lea ecx, [esp + 0x7c]
cmp dword [esp + 0xac], ebp
mov eax, dword [esp + 0x98]
jae 0x402768
lea eax, [esp + 0x98]
push edi
mov edi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
push edi
push esi
push edx
push ecx
push eax
lea edx, [esp + 0x5b0]
push edx
lea eax, [esp + 0x3ac]
push eax
push str.game_id_sversion_sguid_stime_ssign_sosmajor_sosminor_ssystem_sflash_s
lea ecx, [esp + 0x110]
call fcn.004053d0
add esp, 0x28
mov dword [esp + method.GameMgr::GMBuffer_unsigned_char_.virtual_0], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x374], ebx
mov dword [esp + 0x378], ebx
mov dword [esp + 0x37c], ebx
mov byte [esp + 0x7a8], 0x13
cmp dword [esp + 0x100], ebp
mov eax, dword [esp + 0xec]
jae 0x4027da
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x374]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
mov edi, 7
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x114]
mov word [ecx + 4], bx
call fcn.004030d0
sub esp, 0x1c
mov byte [esp + 0x7e8], 0x14
mov esi, esp
mov dword [esp + 0x5c], esp
push 0xb
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.micro_stats
mov word [esi + 4], bx
call fcn.00403260
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x98], esp
mov byte [esp + 0x804], 0x15
push 0xc
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.api.1188.com
mov word [esi + 4], bx
call fcn.00403260
mov byte [esp + 0x804], 0x13
call fcn.0040c690
mov eax, dword [esp + 0x3d4]
add esp, 0x5c
cmp eax, ebx
je 0x40288a
push eax
call fcn.00413bba
add esp, 4
cmp dword [esp + 0x100], ebp
jb 0x4028a3
mov eax, dword [esp + 0xec]
push eax
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x170], ebp
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], bx
jb 0x4028d2
mov ecx, dword [esp + 0x15c]
push ecx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x190], ebp
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
mov word [esp + 0x15c], bx
jb 0x402901
mov edx, dword [esp + 0x17c]
push edx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x154], ebp
mov dword [esp + 0x190], edi
mov dword [esp + 0x18c], ebx
mov word [esp + 0x17c], bx
jb 0x402930
mov eax, dword [esp + 0x140]
push eax
call fcn.00413bbf
add esp, 4
lea esi, [esp + 0x1a4]
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov word [esp + 0x140], bx
call fcn.00409d80
cmp dword [esp + 0x11c], ebp
jb 0x40296b
mov ecx, dword [esp + 0x108]
push ecx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x138], ebp
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], bx
jb 0x40299a
mov edx, dword [esp + 0x124]
push edx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], bx
jb 0x4029c4
mov eax, dword [esp + 0x60]
push eax
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0xc8], ebp
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x4029ed
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
jb 0x402a16
mov edx, dword [esp + 0x44]
push edx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
jb 0x402a39
mov eax, dword [esp + 0x7c]
push eax
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0xac], ebp
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
jb 0x402a65
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00413bbf
add esp, 4
mov dword [esp + 0xac], edi
cmp dword [esp + 0xe4], ebp
mov word [esp + 0x98], bx
mov dword [esp + 0xa8], ebx
jb 0x402a94
mov edx, dword [esp + 0xd0]
push edx
call fcn.00413bbf
add esp, 4
mov ecx, dword [esp + 0x7a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x788]
xor ecx, esp
call fcn.004138c3
add esp, 0x798
ret