Function at 0x413b30
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x492c73
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov eax, dword [esp + 0x318]
mov ebp, dword [esp + 0x310]
mov ecx, dword [esp + 0x31c]
mov edi, dword [esp + 0x320]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x3c], eax
mov eax, ebp
mov word [esp + 0xc0], dx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413bc0
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0xc4]
call fcn.00402210
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x310], ebx
mov esi, ebp
call fcn.00406900
mov byte [esp + 0x308], 1
jmp 0x413c0f
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
movzx eax, word [esi]
cmp ax, bx
jne 0x413c21
cmp word [esi - 2], bx
je 0x413ffe
mov edx, esi
sub edx, ebp
sar edx, 1
cmp edx, dword [esp + 0x314]
jge 0x413ffe
cmp ax, bx
jne 0x413c3e
add esi, 2
jmp 0x413c0f
xor eax, eax
mov word [esp + 0xa4], ax
mov edi, 7
mov eax, esi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413c60
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0xa8]
call fcn.00402210
mov eax, esi
mov byte [esp + 0x308], 2
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413c90
sub eax, edx
sar eax, 1
push 1
lea ecx, [esi + eax*2 + 2]
push ebx
lea edx, [esp + 0x84]
mov dword [esp + 0x48], ecx
push edx
lea ecx, [esp + 0xac]
mov dword [esp + 0x88], 0x3d
call fcn.00410070
mov ecx, dword [esp + 0xb4]
cmp eax, ecx
ja 0x413ce5
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xa8]
call fcn.00401a50
jmp 0x413cf5
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0xa8]
call fcn.004109f0
push ebx
xor eax, eax
push 0x499b28
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], ax
call fcn.00402210
xor ecx, ecx
push 1
mov word [esp + 0x50], cx
push 0x49a438
lea ecx, [esp + 0x50]
mov byte [esp + 0x310], 3
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
call fcn.00402210
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0x314], 4
call fcn.00435890
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x60], esi
jb 0x413d83
mov edx, dword [esp + 0x4c]
push edx
call fcn.00443d03
add esp, 4
xor eax, eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
mov byte [esp + 0x308], 2
cmp dword [esp + 0x98], esi
jb 0x413db3
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00443d03
add esp, 4
push ebx
xor edx, edx
push 0x499b28
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], dx
call fcn.00402210
push 1
xor eax, eax
push 0x49a434
lea ecx, [esp + 0x50]
mov byte [esp + 0x310], 5
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], ax
call fcn.00402210
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x314], 6
call fcn.00435890
add esp, 0xc
cmp dword [esp + 0x60], esi
jb 0x413e3c
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00443d03
add esp, 4
xor edx, edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
mov byte [esp + 0x308], 2
cmp dword [esp + 0x98], esi
jb 0x413e6c
mov eax, dword [esp + 0x84]
push eax
call fcn.00443d03
add esp, 4
push 0x104
lea ecx, [esp + 0xf8]
push ebx
push ecx
call fcn.00467480
add esp, 0xc
cmp dword [esp + 0xb8], esi
mov esi, dword [esp + 0xa4]
jae 0x413e99
lea esi, [esp + 0xa4]
mov ecx, dword [esp + 0x9c]
call fcn.00401820
mov ecx, dword [esp + 0x3c]
push eax
push 0x103
lea edx, [esp + 0xfc]
push edx
push 0x499b28
push esi
call fcn.00401820
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov word [esp + 0xdc], ax
lea eax, [esp + 0xf4]
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
lea edx, [eax + 2]
jmp 0x413ef0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413ef0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esp + 0xe0]
call fcn.00402210
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x310], 7
call fcn.004106c0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
xor esi, esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
lea esp, [esp]
cmp eax, ebx
je 0x413f58
cmp eax, ebp
je 0x413f5d
call fcn.0046767e
cmp dword [esp + 0x68], edi
je 0x413f73
lea ecx, [esp + 0x64]
inc esi
call fcn.00404860
mov eax, dword [esp + 0x64]
jmp 0x413f50
cmp esi, ebx
jne 0x413f9a
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x20]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xe0]
push ecx
mov ecx, eax
call fcn.00402110
mov esi, 8
cmp dword [esp + 0xf0], esi
jb 0x413fb8
mov edx, dword [esp + 0xdc]
push edx
call fcn.00443d03
add esp, 4
xor eax, eax
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], ax
mov byte [esp + 0x308], 1
cmp dword [esp + 0xb8], esi
jb 0x413c03
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00443d03
add esp, 4
jmp 0x413c03
cmp dword [esp + 0x38], 0xa
je 0x414036
lea ecx, [esp + 0x1c]
mov byte [esp + 0x308], bl
call fcn.0040b3e0
cmp dword [esp + 0xd4], 8
jb 0x41402f
mov edx, dword [esp + 0xc0]
push edx
call fcn.00443d03
add esp, 4
xor eax, eax
jmp 0x41441e
push 9
xor eax, eax
mov ebp, 7
push str.GameGroup
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
call fcn.00402210
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x310], 8
call fcn.004106c0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
push ecx
push edx
mov dword [esp + 0x30], ebx
call fcn.00410310
add esp, 0x18
cmp dword [esp + 0x18], ebx
jne 0x414106
mov esi, 8
cmp dword [esp + 0xb8], esi
jb 0x4140d2
mov eax, dword [esp + 0xa4]
push eax
call fcn.00443d03
add esp, 4
xor ecx, ecx
mov word [esp + 0xa4], cx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov byte [esp + 0x308], bl
call fcn.0040b3e0
cmp dword [esp + 0xd4], esi
jmp 0x41401d
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.0040bc90
mov ecx, dword [eax + 0x14]
push 6
push str.MMORPG
push ecx
push ebx
mov ecx, eax
call fcn.00404b10
neg eax
sbb eax, eax
push 8
neg eax
push str.GameName
lea ecx, [esp + 0xa8]
mov dword [edi], eax
call fcn.00402210
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x20]
call fcn.00410ad0
test eax, eax
jne 0x414189
lea ecx, [esp + 0xa0]
call fcn.004053a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x308], bl
call fcn.0040b3e0
lea ecx, [esp + 0xbc]
call fcn.004053a0
xor eax, eax
jmp 0x41441e
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 4]
call fcn.00402110
push 9
push str.GameGrade
lea ecx, [esp + 0xa8]
call fcn.00402210
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x20]
call fcn.00410ad0
test eax, eax
je 0x41415a
push str.TESTING
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x24]
call fcn.0040bc90
push eax
call fcn.00410350
xor ecx, ecx
add esp, 8
test al, al
sete cl
push str.GameType
mov dword [edi + 0x3c], ecx
lea ecx, [esp + 0xa4]
call fcn.00402b70
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x20]
call fcn.00410ad0
test eax, eax
je 0x41415a
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x20]
call fcn.00402110
push str.GameURLDownLoad
lea ecx, [esp + 0xa4]
call fcn.00402b70
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x20]
call fcn.00410ad0
test eax, eax
je 0x41415a
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x20]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x40]
call fcn.00402110
push str.GameURLDownLoad_MAX
lea ecx, [esp + 0xa4]
call fcn.00402b70
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.00410ad0
lea ecx, [esp + 0xa0]
test eax, eax
je 0x414161
push ecx
lea ecx, [esp + 0x20]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x5c]
call fcn.00402110
push str.GameURLHome
lea ecx, [esp + 0xa4]
call fcn.00402b70
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x20]
call fcn.00410ad0
test eax, eax
je 0x41415a
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x78]
call fcn.00402110
push str.GameURLHome_MAX
lea ecx, [esp + 0xa4]
call fcn.00402b70
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x20]
call fcn.00410ad0
test eax, eax
je 0x41415a
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x20]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x94]
call fcn.00402110
push str.GameLaunchName
lea ecx, [esp + 0xa4]
call fcn.00402b70
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.00410ad0
lea ecx, [esp + 0xa0]
test eax, eax
je 0x414161
push ecx
lea ecx, [esp + 0x20]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0xb0]
call fcn.00402110
push 0x49a43c
lea ecx, [esp + 0xa4]
call fcn.00402b70
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x20]
call fcn.00410ad0
test eax, eax
je 0x41415a
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0xcc]
call fcn.00402110
lea ecx, [esp + 0xa0]
call fcn.004053a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x308], bl
call fcn.0040b3e0
lea ecx, [esp + 0xbc]
call fcn.004053a0
mov eax, 1
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.004673e3
add esp, 0x2f8
ret 0x14