Function at 0x403c70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419cf7
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x425004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.00402ce0
mov byte [ebp - 4], 5
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.00403ab0
add esp, 8
mov dword [ebp - 0x2e4], eax
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], edx
mov byte [ebp - 4], 6
lea eax, [ebp + 0x24]
push eax
mov edx, dword [ebp - 0x2e8]
lea ecx, [ebp - 0x24c]
call fcn.00404060
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x294]
call fcn.00402190
lea ecx, [ebp - 0x24c]
call fcn.00404e50
movzx ecx, al
test ecx, ecx
je 0x403ece
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x24c]
call fcn.00402150
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x41c68c
lea ecx, [ebp + 0x54]
call fcn.00402150
push eax
lea ecx, [ebp + 0x3c]
call fcn.00402150
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x21c]
test eax, eax
je 0x403ece
push str.Application
lea ecx, [ebp - 0x264]
call fcn.00402ca0
mov byte [ebp - 4], 9
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2c4]
push edx
call fcn.00403ab0
add esp, 8
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x2f0]
push edx
lea eax, [ebp - 0x2ac]
push eax
call fcn.00404840
add esp, 0xc
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2f8]
push edx
lea ecx, [ebp - 0x234]
call fcn.00402bf0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2ac]
call fcn.00402190
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c4]
call fcn.00402190
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x264]
call fcn.00402190
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00402ca0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x2dc]
push eax
call fcn.00404840
add esp, 0xc
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x300]
push edx
lea ecx, [ebp - 0x234]
call fcn.00402bf0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00402190
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x27c]
call fcn.00402190
lea ecx, [ebp - 0x234]
call fcn.00404f80
movzx eax, al
test eax, eax
je 0x403ece
mov edx, 0x10
lea ecx, [ebp - 0x234]
call fcn.00404600
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402c60
mov edx, dword [ebp - 0x2e0]
or edx, 1
mov dword [ebp - 0x2e0], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.00402190
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.00402190
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.00402190
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x24]
call fcn.00402190
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3c]
call fcn.00402190
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x54]
call fcn.00402190
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417f82
mov esp, ebp
pop ebp
ret