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

Disassembly:
push 0xffffffffffffffff
push 0x492ffe
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4bb190]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb190]
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 0x413650
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413650
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0xd4]
call fcn.00402220
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.00406920
mov byte [esp + 0x2fc], 1
jmp 0x4136a0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebp, 7
movzx eax, word [esi]
cmp ax, bx
jne 0x4136b2
cmp word [esi - 2], bx
je 0x413a3b
mov ecx, esi
sub ecx, edi
sar ecx, 1
cmp ecx, dword [esp + 0x308]
jge 0x413a3b
cmp ax, bx
jne 0x4136cf
add esi, 2
jmp 0x4136a0
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 0x4136f0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x9c]
call fcn.00402220
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 0x413720
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.00410040
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
ja 0x41376f
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x9c]
call fcn.00401a60
jmp 0x41377f
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.00410a40
push ebx
xor edx, edx
push 0x49ab28
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
call fcn.00402220
push 1
xor eax, eax
push 0x49b438
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.00402220
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.00435bc0
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x3c], esi
jb 0x4137fe
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004440cb
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 0x413828
mov eax, dword [esp + 0x5c]
push eax
call fcn.004440cb
add esp, 4
xor ecx, ecx
push ebx
mov word [esp + 0x60], cx
push 0x49ab28
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
call fcn.00402220
push 1
xor edx, edx
push 0x49b434
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.00402220
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.00435bc0
add esp, 0xc
cmp dword [esp + 0x3c], esi
jb 0x4138a2
mov eax, dword [esp + 0x28]
push eax
call fcn.004440cb
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 0x4138cc
mov edx, dword [esp + 0x5c]
push edx
call fcn.004440cb
add esp, 4
push 0x206
lea ecx, [esp + 0xee]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xf4], ax
call fcn.00467850
add esp, 0xc
cmp dword [esp + 0xac], esi
mov esi, dword [esp + 0x98]
jae 0x413903
lea esi, [esp + 0x98]
mov ecx, dword [esp + 0x54]
call fcn.00401830
mov ecx, dword [esp + 0x4c]
push eax
push 0x103
lea edx, [esp + 0xf0]
push edx
push 0x49ab28
push esi
call fcn.00401830
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x24]
call fcn.00402bb0
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x304], 7
call fcn.00410710
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 0x413990
cmp eax, ebp
je 0x413995
call fcn.00467a4e
cmp dword [esp + 0x44], edi
je 0x4139ab
lea ecx, [esp + 0x40]
inc esi
call fcn.004048c0
mov eax, dword [esp + 0x40]
jmp 0x413988
cmp esi, ebx
jne 0x4139e8
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x78]
call fcn.0040bcc0
mov edx, edi
lea ecx, [edx + 2]
lea esp, [esp]
mov si, word [edx]
add edx, 2
cmp si, bx
jne 0x4139d0
sub edx, ecx
sar edx, 1
push edx
push edi
mov ecx, eax
call fcn.00402220
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 0x413a10
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 0x413693
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004440cb
add esp, 4
jmp 0x413693
cmp dword [esp + 0x90], 4
je 0x413a76
lea ecx, [esp + 0x74]
mov byte [esp + 0x2fc], bl
call fcn.0040b410
cmp dword [esp + 0xe4], 8
jb 0x413a6f
mov edx, dword [esp + 0xd0]
push edx
call fcn.004440cb
add esp, 4
xor eax, eax
jmp 0x413c6d
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.00402220
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x300], 8
call fcn.0040bcc0
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.00402120
mov eax, dword [esp + 0xc4]
mov byte [esp + 0x2fc], 9
cmp eax, 0x15
jb 0x413b22
cmp eax, 0x14
jb 0x413b0d
push 0xffffffffffffffff
push 0x14
lea ecx, [esp + 0xb8]
call fcn.00401a60
jmp 0x413b22
mov ecx, 0x14
sub ecx, eax
push ebx
push ecx
lea ecx, [esp + 0xb8]
call fcn.00410a40
mov esi, dword [esp + 0x48]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb8]
push edx
mov ecx, esi
call fcn.00402120
push 4
push str.Type
lea ecx, [esp + 0x9c]
call fcn.00402220
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x78]
call fcn.0040bcc0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1c]
call fcn.00402120
push 5
push str.Group
lea ecx, [esp + 0x9c]
call fcn.00402220
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x78]
call fcn.0040bcc0
mov edx, dword [eax + 0x14]
push 6
push str.MMORPG
push edx
push ebx
mov ecx, eax
call fcn.00404b70
neg eax
sbb eax, eax
push 4
neg eax
push str.Path
lea ecx, [esp + 0x9c]
mov dword [esi + 0x38], eax
call fcn.00402220
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x78]
call fcn.0040bcc0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x3c]
call fcn.00402120
mov esi, 8
cmp dword [esp + 0xc8], esi
jb 0x413bf6
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.004440cb
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 0x413c27
mov eax, dword [esp + 0x98]
push eax
call fcn.004440cb
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.0040b410
cmp dword [esp + 0xe4], esi
jb 0x413c68
mov edx, dword [esp + 0xd0]
push edx
call fcn.004440cb
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.004677ab
add esp, 0x2ec
ret 0x14