Function at 0x44b160
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b94a0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a360]
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.00402560
mov ecx, dword [esp + 0x58]
push 0x5c
xor ebp, ebp
push ecx
mov dword [esp + 0x58], ebp
call fcn.0049543c
add esp, 8
cmp eax, ebp
jne 0x44b1b5
or eax, 0xffffffff
jmp 0x44b1bb
sub eax, dword [esp + 0x58]
sar eax, 1
inc eax
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x60]
call fcn.00401a30
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 1
call fcn.00401bf0
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 0x44b1ff
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.00401ab0
lea edx, [esp + 0x58]
lea ecx, [ebx + 0x134]
push edx
call fcn.00401bf0
lea ecx, [ebx + 0xe0]
mov dword [esp + 0x1c], ecx
call fcn.00418fe0
lea ecx, [ebx + 0xfc]
mov dword [esp + 0x28], ecx
call fcn.00418fe0
push 0xffffffffffffffff
lea ecx, [ebx + 0x118]
push ebp
call fcn.0046e6d1
push 0x2000
call fcn.00464376
push 0x2000
mov edi, eax
push ebp
push edi
mov dword [esp + 0x30], edi
call fcn.00494750
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.0046e650
lea ecx, [esp + 0x34]
push ecx
push edi
mov byte [esp + 0x58], 2
call fcn.004589d0
add esp, 8
cmp eax, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebp
jle 0x44b421
test ebp, ebp
jl 0x44b523
cmp ebp, dword [esp + 0x3c]
jge 0x44b523
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ebp*4]
sub eax, 0x10
push eax
call fcn.00401560
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea eax, [ebp + 1]
mov byte [esp + 0x50], 3
test eax, eax
jl 0x44b523
cmp eax, dword [esp + 0x3c]
jge 0x44b523
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ebp*4 + 4]
sub eax, 0x10
push eax
call fcn.00401560
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x30], esi
mov byte [esp + 0x50], 4
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x44b5f7
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.00413190
test eax, eax
jne 0x44b369
mov eax, dword [ebx + 0x120]
lea ecx, [ebx + 0x118]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0046e9cb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00425ad0
test esi, esi
jne 0x44b37f
xor edx, edx
jmp 0x44b397
mov edx, esi
lea ecx, [edx + 2]
mov di, word [edx]
add edx, 2
test di, di
jne 0x44b384
mov edi, dword [esp + 0x20]
sub edx, ecx
sar edx, 1
push edx
push esi
mov ecx, eax
call fcn.00401860
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 0x44b3c5
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 0x44b3e6
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 0x44b40b
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 0x44b2ac
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.00494750
mov edx, dword [esp + 0x64]
add esp, 0xc
push edx
push 0x1000
push edi
push 0x4ef7cc
push 0x4ca5ac
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 0x44b473
sub eax, edx
sar eax, 1
je 0x44b689
push 0x2c
push edi
mov esi, edi
call fcn.004952a4
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x44b5a7
mov bl, 6
xor eax, eax
push esi
lea ecx, [esp + 0x18]
mov word [ebp], ax
call fcn.00402560
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], bl
call fcn.00407740
lea ecx, [esp + 0x14]
call fcn.00407830
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x44b5f7
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.00413190
mov edi, dword [esp + 0x24]
test eax, eax
je 0x44b546
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
call fcn.00425ad0
mov ecx, eax
test edi, edi
jne 0x44b528
xor edx, edx
jmp 0x44b53f
call fcn.00464489
mov edx, edi
lea eax, [edx + 2]
lea ecx, [ecx]
mov si, word [edx]
add edx, 2
test si, si
jne 0x44b530
sub edx, eax
sar edx, 1
push edx
push edi
call fcn.00401860
lea esi, [ebp + 2]
push 0x2c
push esi
call fcn.004952a4
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 0x44b576
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 0x44b59b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x44b4a1
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 0x44b5b0
sub eax, edx
sar eax, 1
je 0x44b689
push esi
lea ecx, [esp + 0x1c]
call fcn.00402560
mov bl, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], bl
call fcn.00407740
lea ecx, [esp + 0x18]
call fcn.00407830
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44b601
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.00413190
mov esi, dword [esp + 0x24]
test eax, eax
je 0x44b640
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push esi
push eax
call fcn.00428b10
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 0x44b660
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 0x44b685
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.0046436b
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 0
call fcn.0046e87c
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 0x44b6c8
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