Function at 0x410d20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a4bde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x850
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x868], ebx
mov eax, dword [str.state]
mov cx, word [0x4d5944]
mov edx, dword [str.name]
mov dword [esp + 0x44], eax
mov al, byte [0x4d593c]
mov word [esp + 0x48], cx
mov ecx, dword [0x4d5934]
mov byte [esp + 0x20], al
mov eax, dword [0x4d592c]
mov dword [esp + 0x1c], edx
mov edx, dword [str.download]
mov dword [esp + 0x28], ecx
mov cl, byte [0x4d5930]
mov dword [esp + 0x34], eax
mov eax, dword [0x4d93ac]
mov dword [esp + 0x4a], ebx
mov dword [esp + 0x21], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov byte [esp + 0x38], cl
mov dword [esp + 0x39], ebx
xor edi, edi
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x868], 4
lea edx, [esp + 0x20]
push 0xa
push edx
push edi
call fcn.0047aedc
lea eax, [esp + 0x37]
push 0xa
push eax
push edi
call fcn.0047aedc
mov ecx, dword [esp + 0x898]
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x60]
push ecx
push 0x800
push edx
lea eax, [esp + 0x28]
push ebx
push eax
push str.Group
call esi
mov ebp, eax
cmp ebp, ebx
je 0x410f0a
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048fcfa
mov edx, dword [esp + 0x880]
lea eax, [esp + 0x60]
push edx
push 0x800
push eax
lea ecx, [esp + 0x34]
push ebx
push ecx
push str.Group
call esi
mov ebp, eax
cmp ebp, ebx
je 0x410f0a
lea edx, [esp + 0x60]
lea ecx, [esp + 0x18]
push edx
call fcn.0048fcfa
lea eax, [esp + 0x38]
push 0xa
push eax
push edi
call fcn.0047aedc
mov ecx, dword [esp + 0x88c]
add esp, 0xc
lea edx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
push edx
push str.Group
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x870]
mov dword [esp + 0x40], eax
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x410eb4
cmp dl, bl
je 0x410eb0
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x410eb4
add ecx, 2
add esi, 2
cmp dl, bl
jne 0x410e90
xor ecx, ecx
jmp 0x410eb9
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x410f0a
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x874]
mov al, byte [ecx]
mov dl, al
cmp al, byte [esi]
jne 0x410eec
cmp dl, bl
je 0x410ee8
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [esi + 1]
jne 0x410eec
add ecx, 2
add esi, 2
cmp dl, bl
jne 0x410ec8
xor ecx, ecx
jmp 0x410ef1
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
jne 0x410f0a
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x87c]
cmp eax, ecx
jne 0x410f0a
xor ebp, ebp
mov dword [esp + 0x14], ebx
inc edi
cmp ebp, ebx
jne 0x410dc6
cmp dword [esp + 0x14], ebx
je 0x410ffe
cmp edi, ebx
jle 0x410f22
dec edi
lea edx, [esp + 0x49]
push 0xa
push edx
push edi
call fcn.0047aedc
lea eax, [esp + 0x2c]
push 0xa
push eax
push edi
call fcn.0047aedc
lea ecx, [esp + 0x43]
push 0xa
push ecx
push edi
call fcn.0047aedc
lea edx, [esp + 0x5c]
push 0xa
push edx
push edi
call fcn.0047aedc
mov eax, dword [esp + 0x8b0]
mov ecx, dword [esp + 0x8a0]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x30
lea edx, [esp + 0x1c]
push eax
push ecx
push edx
push str.Group
call esi
mov eax, dword [esp + 0x880]
mov ecx, dword [esp + 0x874]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
push str.Group
call esi
cmp dword [esp + 0x878], ebx
jne 0x410fc9
lea eax, [esp + 0x50]
push 0xa
push eax
push ebx
call fcn.0047aedc
mov ecx, dword [esp + 0x88c]
add esp, 0xc
lea edx, [esp + 0x50]
lea eax, [esp + 0x44]
push ecx
push edx
push eax
push str.Group
call esi
mov eax, dword [esp + 0x87c]
cmp eax, 0xffffffff
je 0x410ffe
lea ecx, [esp + 0x50]
push 0xa
push ecx
push eax
call fcn.0047af8f
mov edx, dword [esp + 0x88c]
add esp, 0xc
lea eax, [esp + 0x50]
lea ecx, [esp + 0x30]
push edx
push eax
push ecx
push str.Group
call esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x868], 3
call fcn.0048fb71
lea ecx, [esp + 0x10]
mov byte [esp + 0x868], 2
call fcn.0048fb71
lea ecx, [esp + 0x870]
mov byte [esp + 0x868], 1
call fcn.0048fb71
lea ecx, [esp + 0x874]
mov byte [esp + 0x868], bl
call fcn.0048fb71
lea ecx, [esp + 0x880]
mov dword [esp + 0x868], 0xffffffff
call fcn.0048fb71
mov ecx, dword [esp + 0x860]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x85c
ret