Function at 0x10004a80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x1002a1dc], 0
mov eax, dword [0x100290e0]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [0x1002a1c4], edi
jne 0x10004abb
push 0x423
push 0x1002a1dc
push 0x1400
push eax
call ebx
mov ecx, dword [0x1002a2b4]
xor esi, esi
push 0x7a
push dword [0x1002a2bc]
push dword [0x1002a2b8]
push esi
push 0x50
call fcn.1000315b
mov dword [ebp + 8], eax
test eax, eax
je 0x10004b25
mov ecx, dword [0x1002a2c0]
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push 4
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push esi
push 0xf0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], edi
call dword [eax]
mov ecx, dword [0x1002a2b4]
push 0x70
push dword [0x1002a2bc]
push dword [0x1002a2b8]
push esi
push 0x34
call fcn.1000315b
push dword [0x1002a2b0]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 1
push str.groupbtn
push str.gen_ml_config
mov dword [0x1002a1bc], eax
call esi
push dword [0x1002a2b0]
neg eax
sbb eax, eax
neg eax
mov dword [0x10029030], eax
xor eax, eax
push eax
push str.enqueuedef
push str.gen_ml_config
call esi
neg eax
mov dword [ebp - 0x34], 0x420
push 0x752
sbb eax, eax
mov dword [ebp - 0x30], edi
neg eax
mov dword [ebp - 0x2c], 0x41803e8
mov dword [0x1002a1c8], eax
lea eax, [ebp - 0x34]
push eax
push 0x1400
push dword [0x100290e0]
mov dword [ebp - 0x28], str.ml_downloads
call ebx
xor esi, esi
test eax, eax
je 0x10004bdd
cmp word [eax], si
je 0x10004bdd
push eax
push 0x3e8
push edi
mov dword [0x1002a1b8], 1
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x10004be3
mov dword [0x1002a1b8], esi
push 7
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x20]
pop esi
mov ecx, 0x1400
mov dword [ebp - 0x20], edi
push ecx
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
call ebx
cmp dword [0x10029030], 0
mov ecx, 0x10007
mov eax, esi
mov dword [ebp - 0x20], 0x417
cmovne eax, ecx
mov dword [ebp - 0x1c], 0x418
push eax
xor eax, eax
mov dword [ebp - 0x18], 0x3e8
push eax
push 3
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.10004233
push esi
xor esi, esi
mov dword [ebp - 0x20], 0x9c58
push esi
push 3
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x424
push eax
push edi
mov dword [ebp - 0x18], 0x422
call fcn.10004233
push edi
call fcn.10003ba9
push edi
call fcn.1000564a
add esp, 0x30
push 0x405
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov ecx, 0x1002a1d0
call fcn.100087d7
mov ecx, dword [0x1002a2b4]
push esi
push esi
push 0x3a
push dword [0x1002a2bc]
push dword [0x1002a2b8]
push esi
push 0xb
pop esi
push esi
call fcn.10002927
push dword [0x10029038]
mov ecx, 0x1002a1d0
push eax
call fcn.10008710
mov ecx, dword [0x1002a2b4]
xor eax, eax
push eax
push eax
push 0x3b
push dword [0x1002a2bc]
push dword [0x1002a2b8]
push eax
push esi
call fcn.10002927
push dword [str.ddd]
mov ecx, 0x1002a1d0
push eax
call fcn.10008710
xor eax, eax
push eax
push eax
mov ecx, dword [0x1002a2b4]
push 0x52
push dword [0x1002a2bc]
push dword [0x1002a2b8]
push eax
push esi
call fcn.10002927
push dword [0x10029048]
mov ecx, 0x1002a1d0
push eax
call fcn.10008710
mov ecx, dword [0x1002a2b4]
xor eax, eax
push eax
push eax
push 0x39
push dword [0x1002a2bc]
push dword [0x1002a2b8]
push eax
push esi
call fcn.10002927
push dword [0x10029034]
mov ecx, 0x1002a1d0
push eax
call fcn.10008710
mov ecx, dword [0x1002a2b4]
xor eax, eax
push eax
push eax
push 0x54
push dword [0x1002a2bc]
push dword [0x1002a2b8]
push eax
push esi
call fcn.10002927
push dword [0x10029044]
mov ecx, 0x1002a1d0
push eax
call fcn.10008710
mov ecx, dword [0x1002a2b4]
xor eax, eax
push eax
push eax
push 0x3c
push dword [0x1002a2bc]
push dword [0x1002a2b8]
push eax
push esi
call fcn.10002927
push dword [0x10029040]
mov ecx, 0x1002a1d0
push eax
call fcn.10008710
call fcn.10004428
xor esi, esi
push esi
push dword [0x10029050]
push 0x102f
push dword [0x1002a1d0]
call ebx
xor eax, eax
cmp dword [0x1002a1c8], 1
sete al
push eax
push edi
call fcn.100055a2
push edi
call fcn.10004e05
push edi
call fcn.10004920
movzx eax, byte [0x1002a1c0]
push eax
push dword [0x1002902c]
push edi
call fcn.10005287
add esp, 0x1c
push esi
push 0x3e8
push esi
push edi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
leave
ret