Function at 0x4728a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d9c0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x4c]
push esi
push edi
mov esi, ecx
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push 2
push eax
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [ebx + 0xc0], eax
call edx
mov eax, dword [ebx + 0x34]
shr eax, 3
not eax
and eax, 1
je 0x472919
mov edi, dword [ebx + 8]
call fcn.0048c010
test eax, eax
je 0x472919
mov edi, edi
mov ecx, dword [eax + 0x34]
shr ecx, 3
not ecx
and ecx, 1
je 0x472919
mov edi, dword [eax + 8]
call fcn.0048c010
test eax, eax
jne 0x472900
test esi, esi
mov dword [esp + 0x14], esi
je 0x472b2b
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x38], 0x10
jb 0x472938
mov edi, dword [eax + 0x24]
mov dword [esp + 0x18], edi
jmp 0x472941
add eax, 0x24
mov dword [esp + 0x18], eax
mov edi, eax
mov ecx, edi
call fcn.00472b80
mov ebx, eax
test ebx, ebx
jne 0x4729b0
mov esi, str.break
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x47297d
push 0x30
call fcn.0049fa24
add esp, 4
test eax, eax
je 0x472b55
mov esi, eax
call fcn.00474f20
mov ebx, eax
test ebx, ebx
jne 0x4729b0
mov edi, dword [esp + 0x18]
mov esi, 0x4eda60
mov ecx, 7
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4729ae
push 0x34
call fcn.0049fa24
add esp, 4
test eax, eax
je 0x472b6a
mov esi, eax
call fcn.00474fd0
mov ebx, eax
jmp 0x4729b0
xor ebx, ebx
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x472afb
test byte [0x509c24], 1
jne 0x4729ee
or dword [0x509c24], 1
mov dword [esp + 0x34], 0
call fcn.0045dde0
push 0x4db260
call fcn.0049f796
add esp, 4
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [0x509bf4]
cmp eax, 0xffffffff
jne 0x472aa0
lea esi, [esp + 0x1c]
call fcn.0045d8c0
mov eax, dword [eax]
push eax
push 0
push 0x4ecee8
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x472a3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x472a4e
mov ecx, 0x509be8
call fcn.0045dae0
test eax, eax
jne 0x472a94
mov edi, 0x509be8
call fcn.0045dd30
test eax, eax
jne 0x472a94
mov dword [0x509bf4], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebx + 0x1c], eax
lea eax, [esi + 0xc8]
mov dword [ebx + 0x18], eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x74]
push eax
mov ecx, ebx
call edx
mov eax, dword [esi + 0xf0]
add esi, 0xec
test eax, eax
jne 0x472ab7
xor edx, edx
jmp 0x472abf
mov dword [0x509bf4], 1
jmp 0x472aa4
test eax, eax
je 0x472a61
mov esi, dword [ebp + 8]
cmp dword [esi + 0xb4], 0
je 0x472a61
mov eax, 1
jmp 0x472a66
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x472adc
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x472adc
mov eax, dword [esi + 8]
mov dword [eax], ebx
add eax, 4
mov dword [esi + 8], eax
jmp 0x472afb
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x472ae8
call fcn.004a089d
push edi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov eax, esi
call fcn.00475290
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x40]
test esi, esi
je 0x472b1a
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x472b4a
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x472b06
xor eax, eax
test eax, eax
mov dword [esp + 0x14], eax
jne 0x472925
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, 1
mov dword [ebx + 0xd0], eax
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x472b1c
xor al, al
mov byte [esp + 0x12], al
push 0x4f7e44
lea eax, [esp + 0x16]
push eax
call fcn.004b1663
push 0x4f7e44
lea ecx, [esp + 0x17]
xor al, al
push ecx
mov byte [esp + 0x1b], al
call fcn.004b1663
int3