Function at 0x411d1c
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4583b4
mov eax, dword fs:[0]
push eax
mov eax, 0x1018
call fcn.0042bd30
mov eax, dword [0x461070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x1014], esi
mov eax, 0x40e6fc
cmp dword [ebp + 8], ebx
jne 0x411d72
mov eax, 0x40e748
push eax
lea ecx, [ebp - 0x1008]
call fcn.00410d1a
mov dword [ebp - 4], ebx
xor eax, eax
push 0x1f4
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push ebx
push eax
mov dword [ebp - 0x100c], ebx
call fcn.00427b40
xor eax, eax
push 0x9c4
mov word [ebp - 0xfec], ax
lea eax, [ebp - 0xfea]
push ebx
push eax
call fcn.00427b40
xor eax, eax
push 0x208
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push ebx
push eax
call fcn.00427b40
push 0x40e6c8
push 0xfb
lea eax, [ebp - 0x41c]
push eax
mov edi, 0x40df5c
push edi
push 0x40e634
push 0x40e5e8
call fcn.0044680b
push esi
lea eax, [ebp - 0x224]
push 0x105
push eax
call fcn.0042250d
lea eax, [ebp - 0x224]
add esp, 0x48
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x411e1c
sub eax, ecx
mov ecx, dword [ebp - 0x1008]
sar eax, 1
cmp dword [ebp - 0xff4], 8
jae 0x411e40
lea ecx, [ebp - 0x1008]
mov edx, 0x104
sub edx, eax
push edx
push ecx
lea eax, [ebp - 0x224]
push eax
call fcn.0041128f
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.00422ca6
pop ecx
pop ecx
test eax, eax
je 0x411e9a
xor esi, esi
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x1008]
call fcn.0041103b
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004224f9
leave
ret 0xc
lea eax, [ebp - 0x224]
push eax
push 0x4e3
lea eax, [ebp - 0xfec]
push eax
cmp dword [ebp + 8], ebx
je 0x411fd3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [ebp - 0xfec]
mov edx, ecx
lea eax, [ebp - 0x41c]
mov si, word [eax]
cmp si, word [edx]
jne 0x411ef0
cmp si, bx
je 0x411eec
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x411ef0
add eax, 4
add edx, 4
cmp si, bx
jne 0x411eca
xor eax, eax
jmp 0x411ef5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x411f1b
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x411efe
sub eax, esi
sar eax, 1
lea ecx, [ecx + eax*2 + 2]
cmp word [ecx], bx
jne 0x411ec2
jmp 0x412007
mov ecx, dword [ebp - 0x1014]
call fcn.00411c31
test eax, eax
je 0x412007
xor eax, eax
push 0x206
mov word [ebp - 0x624], ax
lea eax, [ebp - 0x622]
push ebx
push eax
call fcn.00427b40
mov ecx, dword [ebp - 0x1014]
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
call fcn.0041197c
test eax, eax
jne 0x411ffd
cmp dword [ebp - 0x1010], ebx
je 0x412007
cmp dword [ebp + 0x10], 1
jbe 0x412007
push ebx
lea ecx, [ebp - 0x1024]
call fcn.0042e933
mov byte [ebp - 4], 1
push 0x4644c0
lea eax, [ebp - 0x1024]
push 0x1075
push eax
call fcn.0042e9a1
mov eax, dword [ebp - 0x1020]
add esp, 0xc
cmp eax, ebx
jne 0x411fb1
mov eax, edi
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x1010]
call fcn.0042250d
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1024]
call fcn.0042e991
jmp 0x412007
push edi
push 0x40e678
push 0x40e668
call fcn.0044680b
lea eax, [ebp - 0xfec]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.004231bc
add esp, 0x20
test eax, eax
jne 0x412007
mov dword [ebp - 0x100c], 1
mov esi, dword [ebp - 0x100c]
jmp 0x411e6a