Function at 0x4024a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432554
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.0042aab0
mov eax, dword [0x43e0b0]
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
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1024], edi
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x43e060
mov dword [ebp - 0x1020], esi
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov edi, 1
mov ecx, 0x43e060
mov dword [ebp - 0x1024], edi
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x1018], esi
mov dword [ebp - 4], edi
mov eax, dword [0x43e060]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e060
call edx
add eax, 0x10
mov dword [ebp - 0x101c], eax
mov byte [ebp - 4], 2
mov ecx, dword [0x441568]
lea edi, [ebp - 0x1014]
call fcn.00415840
push eax
lea eax, [ebp - 0x1028]
push eax
mov ebx, 0x441584
mov byte [ebp - 4], 3
call fcn.00404db0
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x4025bf
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4025af
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4025af
call fcn.00405330
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4025a4
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x1018], ebx
jmp 0x4025bf
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x1018]
push ecx
call fcn.00405280
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1028]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4025e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1014]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40260b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x441564]
lea edi, [ebp - 0x1014]
call fcn.00415840
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [ebp - 0x1018]
call fcn.00405500
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1014]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402658
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x1000
lea ecx, [ebp - 0x1010]
push 0
push ecx
call fcn.00420a30
mov edx, dword [ebp - 0x1018]
add esp, 0xc
push edx
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x4388a0
push 0x438684
push 0x438690
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1010]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4026a0
sub eax, edx
sar eax, 1
cmp eax, 0x1b
jbe 0x402750
lea eax, [ebp - 0xfda]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4026c1
sub eax, edx
lea ecx, [ebp - 0xfda]
sar eax, 1
push ecx
lea edx, [ebp - 0x101c]
push edx
mov ebx, eax
call fcn.00405280
mov edx, dword [ebp - 0x101c]
lea ecx, [ebp - 0x1014]
call fcn.00415610
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x1020]
mov edi, esi
call fcn.004048a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1014]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40272d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x402756
call fcn.004021f0
mov ecx, dword [esi]
test ecx, ecx
je 0x402749
call fcn.004022f0
test eax, eax
jne 0x402756
call fcn.00404e60
jmp 0x402756
mov esi, dword [ebp - 0x1020]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x101c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40277c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1018]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 - 0x10]
xor ecx, ebp
call fcn.0041e965
mov esp, ebp
pop ebp
ret