Function at 0x4143cf
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4242b4]
and dword [ebp - 0x418], 0
push esi
push edi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 4], eax
mov esi, ecx
mov dword [ebp - 0x41c], edi
call fcn.00413063
call fcn.0040db35
test eax, eax
je 0x41440e
xor eax, eax
inc eax
jmp 0x4146f6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push 0x406764
push edi
call ebx
test eax, eax
mov edi, 0x104
jne 0x41444b
lea eax, [esi + 0x58c]
push eax
lea eax, [esi + 0x74]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040c2ca
test eax, eax
jne 0x414460
push 0x406738
jmp 0x4144ee
push edi
lea eax, [esi + 0x898]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x20c]
push eax
push edi
lea eax, [ebp - 0x310]
push eax
push 0x40368c
push 0x40672c
push 0x403678
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x41448f
push 0x4066fc
jmp 0x4144ee
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4144b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4066bc
call fcn.0040be00
pop ecx
jmp 0x4144f3
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0040c335
test eax, eax
lea eax, [ebp - 0x20c]
push eax
jne 0x4144d8
push 0x406694
jmp 0x4144b0
call fcn.0040c129
mov edi, eax
test edi, edi
mov dword [ebp - 0x434], edi
jne 0x4144fa
push 0x40665c
call fcn.0040be00
xor eax, eax
jmp 0x4146f4
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x401354
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x414589
mov eax, dword [ebp - 0x428]
mov eax, dword [eax + 0x1c]
and eax, 1
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x4017a4
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x414589
mov eax, dword [ebp - 0x430]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x108]
push 0x406634
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x108]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4145a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4065f8
call fcn.0040be00
pop ecx
jmp 0x4146e2
push dword [ebp - 0x424]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, esi
call fcn.00410752
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
lea eax, [ebp - 0x108]
push eax
call edi
push 0x406764
push dword [ebp - 0x41c]
call ebx
test eax, eax
jne 0x414610
test byte [esi + 0x6b], 8
jne 0x414600
mov eax, dword [esi + 0xac4]
cmp eax, 2
je 0x414600
cmp eax, 3
je 0x414600
cmp dword [esi + 0x20], 0
je 0x414610
mov ecx, esi
call fcn.00413da3
jmp 0x414606
lea eax, [esi + 0x7604]
push eax
lea eax, [ebp - 0x108]
push eax
call edi
cmp dword [ebp - 0x42c], 0
je 0x41462d
cmp dword [esi + 0x20], 0
jne 0x41462d
push 0x4065f4
lea eax, [ebp - 0x108]
push eax
call edi
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x41c]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [ebp + 0xc]
add esp, 0xc
test edi, edi
jne 0x414683
push 0x406764
push dword [ebp - 0x41c]
call ebx
test eax, eax
mov eax, 0x4065e8
je 0x41466c
mov eax, 0x4065dc
push eax
mov ecx, esi
call fcn.00410774
test eax, eax
jne 0x414683
push 0x406590
call fcn.0040be00
pop ecx
call fcn.0040db35
test eax, eax
je 0x4146a6
push edi
add esi, 0x74
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00418b5d
jmp 0x4146ce
call fcn.0040ddf3
push edi
add esi, 0x74
test eax, eax
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x310]
push eax
je 0x4146c9
call fcn.00418a6f
jmp 0x4146ce
call fcn.00418d1e
test eax, eax
mov dword [ebp - 0x418], eax
jne 0x4146e3
push 0x406540
call fcn.0040be00
pop ecx
push dword [ebp - 0x434]
call fcn.0041af7c
mov eax, dword [ebp - 0x418]
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0041a84f
leave
ret 8