Function at 0x40c5f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43d219
mov eax, dword fs:[0]
push eax
mov eax, 0x1011c
mov dword fs:[0], esp
call fcn.0041f750
mov eax, dword [0x451330]
push ebx
push ebp
push esi
mov dword [esp + 0x10124], eax
push edi
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x10134], ebp
call fcn.00433b2e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov esi, dword [esi + 4]
xor eax, eax
mov ecx, 0x3fff
lea edi, [esp + 0x128]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
push esi
mov ecx, 0x41
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10140]
push 0xffff
lea eax, [esp + 0x130]
push eax
push ecx
mov byte [esp + 0x10144], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
xor edi, edi
jmp 0x40c690
mov al, byte [esp + edi + 0x128]
test al, al
jne 0x40c6a6
mov al, byte [esp + edi + 0x129]
test al, al
je 0x40c6af
inc edi
cmp edi, 0xffff
jl 0x40c690
mov esi, dword [esp + 0x10140]
push 0xffffffffffffffff
inc edi
push 0
mov ecx, esi
mov dword [esp + 0x24], edi
call fcn.0042e38e
mov ecx, dword [esp + 0x10144]
push 0xffffffffffffffff
push 0
call fcn.0042e38e
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], ecx
jle 0x40c81e
mov al, byte [esp + ecx + 0x128]
mov byte [esp + ebp + 0x24], al
inc ebp
test al, al
jne 0x40c811
lea eax, [esp + 0x24]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c700
sub eax, edx
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call fcn.00401b10
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx - 0xc]
test eax, eax
jg 0x40c728
or eax, 0xffffffff
jmp 0x40c73e
push 0x3d
push ebx
call fcn.0041fd55
add esp, 8
test eax, eax
jne 0x40c73c
or eax, 0xffffffff
jmp 0x40c73e
sub eax, ebx
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.004041d0
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x1013c], 2
call fcn.0042e58b
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x10134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c787
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx - 0xc]
test eax, eax
jg 0x40c793
or eax, 0xffffffff
jmp 0x40c7a9
push 0x3d
push ebx
call fcn.0041fd55
add esp, 8
test eax, eax
jne 0x40c7a7
or eax, 0xffffffff
jmp 0x40c7a9
sub eax, ebx
inc eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00407880
mov edx, dword [esp + 0x10144]
mov ecx, dword [edx + 8]
push eax
push ecx
mov ecx, edx
mov byte [esp + 0x1013c], 3
call fcn.0042e58b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x10134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c7fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
xor ebp, ebp
inc ecx
cmp ecx, edi
mov dword [esp + 0x14], ecx
jl 0x40c6e4
mov edi, dword [esi + 8]
lea eax, [ebx - 0x10]
mov byte [esp + 0x10134], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c843
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1013c]
add eax, 0xfffffff0
mov dword [esp + 0x10134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c86f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1012c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1011c]
pop ebx
call fcn.0041e059
add esp, 0x10128
ret 0xc