Function at 0x40347c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff94c
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, 0x40e470
call fcn.0040669c
push esi
push edi
mov esi, 0x40d484
lea edi, [ebp - 0x6c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x40d4a4
lea edi, [ebp - 0x190]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
xor ebx, ebx
push 0x411050
push 0x400
lea eax, [ebp - 0x590]
push eax
push 0x40db3f
push dword [ebp + ebx*4 - 0x6c]
push esi
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [ebp - 0x590]
push edx
call fcn.004065b0
pop ecx
mov dword [ebp + ebx*4 - 0x8c], eax
inc ebx
cmp ebx, 8
jle 0x4034c3
mov ecx, dword [ebp - 0x78]
cmp byte [ecx], 0
jne 0x403518
push 0x30
push esi
push str.File
push edi
call sub.USER32.DLL_MessageBoxA
jmp 0x4037f8
mov eax, dword [ebp - 0x74]
cmp byte [eax], 0
je 0x403547
jmp 0x40352e
movsx edx, dl
cmp edx, 0x23
jne 0x40352d
mov byte [eax], 0xa
inc eax
mov dl, byte [eax]
test dl, dl
jne 0x403522
push 0x41
push esi
push dword [ebp - 0x74]
push edi
call sub.USER32.DLL_MessageBoxA
dec eax
jne 0x4037f8
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
je 0x403586
mov ecx, dword [ebp - 0x80]
cmp byte [ecx], 0
je 0x403586
push 3
push esi
push 0x40dc8d
push edi
call sub.USER32.DLL_MessageBoxA
sub eax, 6
je 0x403575
dec eax
je 0x40357d
jmp 0x4037f8
mov eax, dword [ebp - 0x80]
mov byte [eax], 0
jmp 0x403586
mov edx, dword [ebp - 0x8c]
mov byte [edx], 0
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
je 0x4035b6
push eax
push 0x104
lea edx, [ebp - 0x190]
push edx
push 0x40db3f
push dword [ebp - 0x84]
push dword [ebp - 0x88]
call sub.KERNEL32.DLL_GetPrivateProfileStringA
jmp 0x4035db
mov eax, dword [ebp - 0x80]
cmp byte [eax], 0
je 0x4035db
push esi
push edi
push dword [ebp - 0x7c]
push eax
lea edx, [ebp - 0x190]
push edx
call fcn.004033d0
add esp, 0x14
test al, al
je 0x4037f8
mov ecx, dword [ebp - 0x8c]
cmp byte [ecx], 0
jne 0x4035ee
mov eax, dword [ebp - 0x80]
cmp byte [eax], 0
je 0x403605
cmp byte [ebp - 0x190], 0
jne 0x403605
push 0x30
push esi
push 0x40dce6
push edi
call sub.USER32.DLL_MessageBoxA
cmp byte [ebp - 0x190], 0
jne 0x403642
push esi
push 0x40dd3c
lea edx, [ebp - 0x590]
push edx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea ecx, [ebp - 0x590]
push ecx
lea eax, [ebp - 0x190]
push eax
push edi
call fcn.00404b48
add esp, 0xc
test eax, eax
je 0x4037f8
lea edx, [ebp - 0x190]
push edx
push 0x411154
call fcn.00404f6c
add esp, 8
lea ecx, [ebp - 0x190]
push ecx
call sub.KERNEL32.DLL_lstrlenA
movsx eax, byte [ebp + eax - 0x191]
cmp eax, 0x5c
je 0x403680
push 0x40dd71
lea edx, [ebp - 0x190]
push edx
call sub.KERNEL32.DLL_lstrcatA
mov word [ebp - 0x3c], 0x14
push 0x2c
lea ecx, [ebp - 0x20]
push dword [ebp - 0x78]
push ecx
call fcn.00404c80
add esp, 0xc
lea eax, [ebp - 0x190]
add dword [ebp - 0x30], 3
mov word [ebp - 0x3c], 8
push eax
lea edx, [ebp - 0x590]
push 0x40dd73
push edx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
jmp 0x4036e3
push str._n
lea eax, [ebp - 0x590]
push eax
call sub.KERNEL32.DLL_lstrcatA
push dword [ebx]
lea edx, [ebp - 0x590]
push edx
call sub.KERNEL32.DLL_lstrcatA
add ebx, 4
cmp ebx, dword [ebp - 0x18]
jne 0x4036c1
push 0x40ddb7
lea ecx, [ebp - 0x590]
push ecx
call sub.KERNEL32.DLL_lstrcatA
push 1
lea eax, [ebp - 0x590]
push 0x40dddc
push eax
push edi
call sub.USER32.DLL_MessageBoxA
dec eax
jne 0x40378d
mov byte [ebp - 0x590], 0
mov ebx, dword [ebp - 0x1c]
mov word [ebp - 0x3c], 8
jmp 0x403774
lea eax, [ebp - 0x190]
push eax
lea edx, [ebp - 0x6b4]
push edx
call sub.KERNEL32.DLL_lstrcpyA
push dword [ebx]
lea ecx, [ebp - 0x6b4]
push ecx
call sub.KERNEL32.DLL_lstrcatA
push dword [ebx]
lea eax, [ebp - 0x590]
push eax
call sub.KERNEL32.DLL_lstrcatA
lea edx, [ebp - 0x6b4]
push edx
call fcn.00404a98
pop ecx
push dword [eax*4 + 0x40d460]
lea ecx, [ebp - 0x590]
push ecx
call sub.KERNEL32.DLL_lstrcatA
add ebx, 4
cmp ebx, dword [ebp - 0x18]
jne 0x403722
push 0
lea eax, [ebp - 0x590]
push 0x40dde1
push eax
push edi
call sub.USER32.DLL_MessageBoxA
dec dword [ebp - 0x30]
lea edx, [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
call fcn.00401548
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov word [ebp - 0x3c], 0x2c
inc dword [ebp - 0x30]
push eax
call fcn.00404fd0
pop ecx
dec dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x20
mov word [ebp - 0x3c], 8
dec dword [ebp - 0x30]
dec dword [ebp - 0x30]
mov word [ebp - 0x3c], 0
mov eax, dword [ebp - 0x70]
cmp byte [eax], 0
je 0x4037f8
jmp 0x4037e6
movsx edx, dl
cmp edx, 0x23
jne 0x4037e5
mov byte [eax], 0xa
inc eax
mov dl, byte [eax]
test dl, dl
jne 0x4037da
push 0x40
push esi
push dword [ebp - 0x70]
push edi
call sub.USER32.DLL_MessageBoxA
xor ebx, ebx
push dword [ebp + ebx*4 - 0x8c]
call fcn.00405458
pop ecx
inc ebx
cmp ebx, 8
jle 0x4037fa
mov eax, dword [ebp - 0x4c]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret