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

Disassembly:
push 0xffffffffffffffff
push 0x492bde
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x2f4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30c]
mov edi, dword [esp + 0x304]
mov edx, dword [esp + 0x314]
mov ecx, dword [esp + 0x310]
mov dword [esp + 0x4c], eax
xor ebx, ebx
xor eax, eax
mov word [esp + 0xd0], ax
mov ebp, 7
mov eax, edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], ebx
lea edx, [eax + 2]
jmp 0x4134e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4134e0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0xd4]
call fcn.00402210
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x304], ebx
mov esi, edi
call fcn.00406900
mov byte [esp + 0x2fc], 1
jmp 0x413530
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebp, 7
movzx eax, word [esi]
cmp ax, bx
jne 0x413542
cmp word [esi - 2], bx
je 0x4138cb
mov ecx, esi
sub ecx, edi
sar ecx, 1
cmp ecx, dword [esp + 0x308]
jge 0x4138cb
cmp ax, bx
jne 0x41355f
add esi, 2
jmp 0x413530
xor edx, edx
mov eax, esi
mov word [esp + 0x98], dx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413580
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x9c]
call fcn.00402210
mov eax, esi
mov byte [esp + 0x2fc], 2
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4135b0
sub eax, edx
push 1
sar eax, 1
push ebx
lea ecx, [esp + 0x58]
lea eax, [esi + eax*2 + 2]
push ecx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x5c], 0x3d
call fcn.00410070
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
ja 0x4135ff
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x9c]
call fcn.00401a50
jmp 0x41360f
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.004109f0
push ebx
xor edx, edx
push 0x499b28
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
call fcn.00402210
push 1
xor eax, eax
push 0x49a438
lea ecx, [esp + 0x2c]
mov byte [esp + 0x304], 3
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
call fcn.00402210
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x308], 4
call fcn.00435890
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x3c], esi
jb 0x41368e
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00443d03
add esp, 4
xor edx, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], dx
mov byte [esp + 0x2fc], 2
cmp dword [esp + 0x70], esi
jb 0x4136b8
mov eax, dword [esp + 0x5c]
push eax
call fcn.00443d03
add esp, 4
xor ecx, ecx
push ebx
mov word [esp + 0x60], cx
push 0x499b28
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
call fcn.00402210
push 1
xor edx, edx
push 0x49a434
lea ecx, [esp + 0x2c]
mov byte [esp + 0x304], 5
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
call fcn.00402210
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0x308], 6
call fcn.00435890
add esp, 0xc
cmp dword [esp + 0x3c], esi
jb 0x413732
mov eax, dword [esp + 0x28]
push eax
call fcn.00443d03
add esp, 4
xor ecx, ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
mov byte [esp + 0x2fc], 2
cmp dword [esp + 0x70], esi
jb 0x41375c
mov edx, dword [esp + 0x5c]
push edx
call fcn.00443d03
add esp, 4
push 0x206
lea ecx, [esp + 0xee]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xf4], ax
call fcn.00467480
add esp, 0xc
cmp dword [esp + 0xac], esi
mov esi, dword [esp + 0x98]
jae 0x413793
lea esi, [esp + 0x98]
mov ecx, dword [esp + 0x54]
call fcn.00401820
mov ecx, dword [esp + 0x4c]
push eax
push 0x103
lea edx, [esp + 0xf0]
push edx
push 0x499b28
push esi
call fcn.00401820
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x24]
call fcn.00402ba0
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x304], 7
call fcn.004106c0
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0xbc]
mov ebp, dword [esp + 0xb8]
xor esi, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
cmp eax, ebx
je 0x413820
cmp eax, ebp
je 0x413825
call fcn.0046767e
cmp dword [esp + 0x44], edi
je 0x41383b
lea ecx, [esp + 0x40]
inc esi
call fcn.00404860
mov eax, dword [esp + 0x40]
jmp 0x413818
cmp esi, ebx
jne 0x413878
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x78]
call fcn.0040bc90
mov edx, edi
lea ecx, [edx + 2]
lea esp, [esp]
mov si, word [edx]
add edx, 2
cmp si, bx
jne 0x413860
sub edx, ecx
sar edx, 1
push edx
push edi
mov ecx, eax
call fcn.00402210
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2fc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4138a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xac], 8
mov byte [esp + 0x2fc], 1
jb 0x413523
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00443d03
add esp, 4
jmp 0x413523
cmp dword [esp + 0x90], 4
je 0x413906
lea ecx, [esp + 0x74]
mov byte [esp + 0x2fc], bl
call fcn.0040b3e0
cmp dword [esp + 0xe4], 8
jb 0x4138ff
mov edx, dword [esp + 0xd0]
push edx
call fcn.00443d03
add esp, 4
xor eax, eax
jmp 0x413afd
push 4
xor eax, eax
push str.Name
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], ax
call fcn.00402210
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x300], 8
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
xor edx, edx
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], dx
call fcn.00402110
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x2fc], 9
cmp eax, 0x15
jb 0x4139b2
cmp eax, 0x14
jb 0x41399d
push 0xffffffffffffffff
push 0x14
lea ecx, [esp + 0xb8]
call fcn.00401a50
jmp 0x4139b2
mov ecx, 0x14
sub ecx, eax
push ebx
push ecx
lea ecx, [esp + 0xb8]
call fcn.004109f0
mov esi, dword [esp + 0x48]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb8]
push edx
mov ecx, esi
call fcn.00402110
push 4
push str.Type
lea ecx, [esp + 0x9c]
call fcn.00402210
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x78]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1c]
call fcn.00402110
push 5
push str.Group
lea ecx, [esp + 0x9c]
call fcn.00402210
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x78]
call fcn.0040bc90
mov edx, dword [eax + 0x14]
push 6
push str.MMORPG
push edx
push ebx
mov ecx, eax
call fcn.00404b10
neg eax
sbb eax, eax
push 4
neg eax
push str.Path
lea ecx, [esp + 0x9c]
mov dword [esi + 0x38], eax
call fcn.00402210
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x78]
call fcn.0040bc90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x3c]
call fcn.00402110
mov esi, 8
cmp dword [esp + 0xc8], esi
jb 0x413a86
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00443d03
add esp, 4
xor edx, edx
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], dx
cmp dword [esp + 0xac], esi
jb 0x413ab7
mov eax, dword [esp + 0x98]
push eax
call fcn.00443d03
add esp, 4
xor ecx, ecx
mov word [esp + 0x98], cx
lea ecx, [esp + 0x74]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x2fc], bl
call fcn.0040b3e0
cmp dword [esp + 0xe4], esi
jb 0x413af8
mov edx, dword [esp + 0xd0]
push edx
call fcn.00443d03
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2dc]
xor ecx, esp
call fcn.004673e3
add esp, 0x2ec
ret 0x14