Function at 0x43c190
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a2850
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eed38]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x5c]
call fcn.00402530
mov ecx, dword [esp + 0x58]
push 0x5c
xor ebp, ebp
push ecx
mov dword [esp + 0x58], ebp
call fcn.00482892
add esp, 8
cmp eax, ebp
jne 0x43c1e5
or eax, 0xffffffff
jmp 0x43c1eb
sub eax, dword [esp + 0x58]
sar eax, 1
inc eax
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x60]
call fcn.00401a60
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 1
call fcn.00401c20
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x50], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c22f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xb
push str.MCPType.ini
lea ecx, [esp + 0x60]
call fcn.00401ae0
lea edx, [esp + 0x58]
lea ecx, [ebx + 0x134]
push edx
call fcn.00401c20
lea ecx, [ebx + 0xe0]
mov dword [esp + 0x1c], ecx
call fcn.0042d4d0
lea ecx, [ebx + 0xfc]
mov dword [esp + 0x28], ecx
call fcn.0042d4d0
push 0xffffffffffffffff
lea ecx, [ebx + 0x118]
push ebp
call fcn.0045e6e9
push 0x2000
call fcn.00451e0a
push 0x2000
mov edi, eax
push ebp
push edi
mov dword [esp + 0x30], edi
call fcn.00482280
mov eax, dword [esp + 0x68]
add esp, 0x10
push eax
push 0x1000
push edi
push str.MCPTypeList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea ecx, [esp + 0x34]
call fcn.0045e668
lea ecx, [esp + 0x34]
push ecx
push edi
mov byte [esp + 0x58], 2
call fcn.00446de0
add esp, 8
cmp eax, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebp
jle 0x43c451
test ebp, ebp
jl 0x43c553
cmp ebp, dword [esp + 0x3c]
jge 0x43c553
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ebp*4]
sub eax, 0x10
push eax
call fcn.004015b0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea eax, [ebp + 1]
mov byte [esp + 0x50], 3
test eax, eax
jl 0x43c553
cmp eax, dword [esp + 0x3c]
jge 0x43c553
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ebp*4 + 4]
sub eax, 0x10
push eax
call fcn.004015b0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x30], esi
mov byte [esp + 0x50], 4
call fcn.00459da6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43c627
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov byte [esp + 0x58], 5
call fcn.0042d9d0
test eax, eax
jne 0x43c399
mov eax, dword [ebx + 0x120]
lea ecx, [ebx + 0x118]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0045e9e3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00433670
test esi, esi
jne 0x43c3af
xor edx, edx
jmp 0x43c3c7
mov edx, esi
lea ecx, [edx + 2]
mov di, word [edx]
add edx, 2
test di, di
jne 0x43c3b4
mov edi, dword [esp + 0x20]
sub edx, ecx
sar edx, 1
push edx
push esi
mov ecx, eax
call fcn.00401890
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x50], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c3f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x50], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c416
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c43b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
inc eax
add ebp, 2
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jl 0x43c2dc
mov ecx, dword [esp + 0x58]
push ecx
push 0
push str.CheckMCPType
push str.MCPSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x2000
push 0
push edi
mov dword [ebx + 0x12c], eax
call fcn.00482280
mov edx, dword [esp + 0x64]
add esp, 0xc
push edx
push 0x1000
push edi
push 0x4a8ca8
push 0x4b1e2c
push str.MCPSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c4a3
sub eax, edx
sar eax, 1
je 0x43c6b9
push 0x2c
push edi
mov esi, edi
call fcn.00483813
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x43c5d7
mov bl, 6
xor eax, eax
push esi
lea ecx, [esp + 0x18]
mov word [ebp], ax
call fcn.00402530
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], bl
call fcn.00408e70
lea ecx, [esp + 0x14]
call fcn.00408f10
call fcn.00459da6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43c627
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov byte [esp + 0x58], 7
call fcn.0042d9d0
mov edi, dword [esp + 0x24]
test eax, eax
je 0x43c576
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
call fcn.00433670
mov ecx, eax
test edi, edi
jne 0x43c558
xor edx, edx
jmp 0x43c56f
call fcn.00451f1d
mov edx, edi
lea eax, [edx + 2]
lea ecx, [ecx]
mov si, word [edx]
add edx, 2
test si, si
jne 0x43c560
sub edx, eax
sar edx, 1
push edx
push edi
call fcn.00401890
lea esi, [ebp + 2]
push 0x2c
push esi
call fcn.00483813
mov ebp, eax
lea eax, [edi - 0x10]
add esp, 8
mov byte [esp + 0x50], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c5a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c5cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x43c4d1
mov edi, dword [esp + 0x20]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c5e0
sub eax, edx
sar eax, 1
je 0x43c6b9
push esi
lea ecx, [esp + 0x1c]
call fcn.00402530
mov bl, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], bl
call fcn.00408e70
lea ecx, [esp + 0x18]
call fcn.00408f10
call fcn.00459da6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43c631
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov byte [esp + 0x58], 9
call fcn.0042d9d0
mov esi, dword [esp + 0x24]
test eax, eax
je 0x43c670
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push esi
push eax
call fcn.00433a60
lea eax, [esi - 0x10]
mov byte [esp + 0x50], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c6b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
push edi
call fcn.00451dff
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 0
call fcn.0045e894
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov dword [esp + 0x50], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c6f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8