Function at 0x411aa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ad96
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x133]
push ebx
push ecx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x174], eax
mov byte [ebp - 0x134], bl
call fcn.0041e130
add esp, 0xc
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
push 0x104
lea edx, [ebp - 0x134]
push edx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x134]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411b40
sub eax, ecx
mov edi, eax
lea eax, [ebp - 0x134]
lea esi, [ebp - 0x150]
call fcn.00413000
lea eax, [ebp - 0x170]
push eax
mov edi, esi
mov byte [ebp - 0x170], 0x5c
call fcn.00412c50
cmp eax, ebx
jl 0x411bb1
inc eax
mov ecx, esi
push eax
push ecx
lea esi, [ebp - 0x16c]
call fcn.00412930
mov edi, eax
lea esi, [ebp - 0x150]
mov byte [ebp - 4], 1
call fcn.00412960
mov byte [ebp - 4], bl
cmp dword [ebp - 0x158], 0x10
jb 0x411bb1
mov edx, dword [ebp - 0x16c]
push edx
call fcn.00416863
add esp, 4
mov ecx, dword [ebp - 0x178]
lea eax, [ebp - 0x150]
push eax
or eax, 0xffffffff
xor ebx, ebx
call fcn.00412f20
push 0xa
mov eax, str.Config.ini
lea ecx, [ebp - 0x150]
call fcn.00412d80
xor eax, eax
cmp dword [ebp - 0x13c], 0x10
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x150]
mov byte [ebp - 0x30], bl
jae 0x411c10
lea eax, [ebp - 0x150]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x20
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0x435110
push str.config
call ebx
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411c31
mov esi, dword [ebp - 0x180]
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x30]
call fcn.00413000
push 0x104
lea edx, [ebp - 0x134]
push 0
push edx
call fcn.0041e130
mov eax, dword [ebp - 0x150]
add esp, 0xc
cmp dword [ebp - 0x13c], 0x10
jae 0x411c75
lea eax, [ebp - 0x150]
push eax
push 0x20
lea eax, [ebp - 0x134]
push eax
push 0
push 0x43510c
push str.config
call ebx
lea eax, [ebp - 0x134]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411c96
mov esi, dword [ebp - 0x17c]
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x134]
call fcn.00413000
push 0x104
lea ecx, [ebp - 0x134]
push 0
push ecx
call fcn.0041e130
mov eax, dword [ebp - 0x150]
add esp, 0xc
cmp dword [ebp - 0x13c], 0x10
jae 0x411cdd
lea eax, [ebp - 0x150]
push eax
push 0x20
lea edx, [ebp - 0x134]
push edx
push 0
push 0x435108
push str.config
call ebx
lea eax, [ebp - 0x134]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411d00
mov esi, dword [ebp - 0x174]
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x134]
call fcn.00413000
cmp dword [ebp - 0x13c], 0x10
jb 0x411d34
mov eax, dword [ebp - 0x150]
push eax
call fcn.00416863
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004167b2
mov esp, ebp
pop ebp
ret