Function at 0x41b217
Capabilities:
Read .ini file
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
mov esi, eax
push eax
mov eax, esi
add esp, 0xffffff30
call fcn.0041d660
push 0
push 0
push 0x1032
push 0x69
push dword [esi + 4]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_SendMessageA
test eax, eax
jbe 0x41b725
push 0x45d8b0
push 0x103
lea edx, [esp + 0x24]
push edx
push 0x4533b5
push 0x453f27
push 0x4538d3
call sub.KERNEL32.dll_GetPrivateProfileStringA
push 0x45d9bc
lea ecx, [esp + 0x124]
push ecx
call fcn.00446208
add esp, 8
mov edx, 0x453f31
lea eax, [esp + 0x120]
call fcn.00445579
lea eax, [esp + 0x120]
call fcn.00443b84
mov ebx, eax
test ebx, ebx
jne 0x41b2ba
push 1
call fcn.0044cdb4
pop ecx
mov ebx, eax
mov byte [ebx], 0
mov dword [esp], ebx
xor edx, edx
mov dword [esp + 0x224], 0x450434
mov dword [esp + 0x228], edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x224], 0x454d14
mov dword [esp + 0x22c], ecx
mov eax, esp
mov dword [esp + 0x230], eax
mov edx, dword [esp + 0x228]
mov ebx, dword [esi + 4]
test edx, edx
jne 0x41b322
lea ecx, [esp + 0x224]
push ecx
push 0x404768
push ebx
push 2
push dword [0x46e788]
call sub.USER32.dll_DialogBoxParamA
dec eax
sete al
and eax, 1
jmp 0x41b324
xor eax, eax
test al, al
je 0x41b71c
push 0x45d8b0
lea edx, [esp + 0x20]
push edx
push 0x453f27
push 0x4538d3
call sub.KERNEL32.dll_WritePrivateProfileStringA
push 0x104
lea ecx, [esp + 0x238]
push ecx
push 0x67
push dword [esi + 4]
call sub.USER32.dll_GetDlgItemTextA
push 0x69
push dword [esi + 4]
call sub.USER32.dll_GetDlgItem
mov dword [esp + 4], eax
push 0
push 0
push 0x1004
push dword [esp + 0x10]
call sub.USER32.dll_SendMessageA
mov dword [esp + 8], eax
xor ebx, ebx
mov eax, dword [esp + 8]
cmp ebx, eax
jge 0x41b71c
push 2
mov edi, ebx
push edi
push 0x102c
push dword [esp + 0x10]
call sub.USER32.dll_SendMessageA
test al, 2
je 0x41b70f
xor eax, eax
lea edx, [esp + 0x338]
mov dword [esp + 0x444], eax
lea ecx, [esp + 0x43c]
mov dword [esp + 0x454], 0x104
mov dword [esp + 0x450], edx
push ecx
push edi
push 0x102d
push dword [esp + 0x10]
call sub.USER32.dll_SendMessageA
lea eax, [esp + 0x338]
push eax
lea edx, [esp + 0x238]
push edx
push 0x45dbc4
push 0x453f0b
lea ecx, [esp + 0x470]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x14
lea eax, [esp + 0x460]
push eax
lea edx, [esp + 0x77c]
push edx
call fcn.00446208
add esp, 8
lea eax, [esp + 0x87c]
mov word [eax], 1
mov word [eax + 2], 1
mov dword [eax + 4], 0x1f40
mov word [eax + 0xe], 8
movzx edx, word [eax + 2]
mov word [eax + 0xc], dx
movzx ecx, dx
imul ecx, dword [eax + 4]
mov dword [eax + 8], ecx
mov word [eax + 0x10], 0
mov byte [esp + 0xc7c], 0
lea eax, [esp + 0x338]
push eax
lea edx, [esp + 0x238]
push edx
push 0x45dbc4
push 0x453e32
lea ecx, [esp + 0xc8c]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x14
mov ecx, 0x453f44
mov edx, 0x453f1a
push 0
lea eax, [esp + 0x77c]
call fcn.00445c9e
test al, al
jne 0x41b59a
mov ecx, 0x453f4f
lea edx, [esp + 0xd80]
mov eax, 0x45d8b0
call fcn.00445bb8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0xd98]
push eax
call sub.KERNEL32.dll_CreateFileA
mov edx, eax
mov dword [esp + 0xc], edx
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea eax, [esp + 0x888]
push eax
push edx
call sub.KERNEL32.dll_ReadFile
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x41b511
push eax
call sub.KERNEL32.dll_CloseHandle
mov edx, 0x453f54
lea eax, [esp + 0xe84]
call fcn.004412fc
mov dword [esp + 0xe84], 0x454d0c
lea edx, [esp + 0x87c]
lea eax, [esp + 0xe84]
mov dword [esp + 0xe91], edx
mov edx, dword [esi + 4]
call fcn.0044131e
test al, al
jne 0x41b57e
push dword [esp]
call fcn.0044cd5c
pop ecx
mov cl, byte [esp + 0x778]
test cl, cl
je 0x41b725
lea eax, [esp + 0x778]
push eax
push 0
push 0
push 0
call sub.KERNEL32.dll_WritePrivateProfileStringA
jmp 0x41b725
lea edx, [esp + 0x778]
push edx
push 0x453925
push 0x453f44
push 0x453f1a
call sub.KERNEL32.dll_WritePrivateProfileStringA
lea eax, [esp + 0x778]
call fcn.0040142c
mov edi, eax
lea eax, [esp + 0x778]
mov edx, dword [esp]
call fcn.00401469
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
call fcn.0040154d
mov ebp, eax
push 1
mov ecx, 0x453f68
mov edx, 0x453f2b
mov eax, 0x45d8b0
call fcn.00445c9e
test al, al
je 0x41b5fa
lea eax, [esp + 0xc7c]
mov ecx, ebp
push eax
lea eax, [esp + 0x20]
mov edx, edi
call fcn.004456f0
jmp 0x41b6d9
push 0x45d8b0
push 0x103
lea eax, [esp + 0xea0]
push eax
push 0x4533b5
push 0x453f70
push 0x453f2b
call sub.KERNEL32.dll_GetPrivateProfileStringA
push 0x45d8b0
push 0x103
lea edx, [esp + 0xfa4]
push edx
push 0x4533b5
push 0x453f79
push 0x453f2b
call sub.KERNEL32.dll_GetPrivateProfileStringA
lea ecx, [esp + 0xc7c]
mov eax, edi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10a0], ecx
lea ecx, [esp + 0xf9c]
mov dword [esp + 0x10a4], ecx
mov dword [esp + 0x10a8], eax
mov edx, ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x10ac], edx
mov dword [esp + 0x10b0], eax
mov dword [esp + 0x10b4], 1
lea edx, [esp + 0xe98]
lea eax, [esp + 0x10bc]
mov dword [esp + 0x10b8], edx
mov edx, 0x453f83
call fcn.004412fc
mov dword [esp + 0x10bc], 0x454d04
lea ecx, [esp + 0x10a0]
lea eax, [esp + 0x10bc]
mov dword [esp + 0x10c9], ecx
mov edx, dword [esi + 4]
call fcn.0044131e
push ebp
call fcn.0044cd5c
pop ecx
push dword [esp + 0x14]
call fcn.0044cd5c
pop ecx
push edi
call fcn.0044cd5c
pop ecx
mov cl, byte [esp + 0x778]
test cl, cl
je 0x41b70f
lea eax, [esp + 0x778]
push eax
push 0
push 0
push 0
call sub.KERNEL32.dll_WritePrivateProfileStringA
inc ebx
mov edx, dword [esp + 8]
cmp ebx, edx
jl 0x41b38e
push dword [esp]
call fcn.0044cd5c
pop ecx
add esp, 0x10d0
pop ebp
pop edi
pop esi
pop ebx
ret