Function at 0x40dd60
Capabilities:
Access peb ldr_data
Get kernel32 base address
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x434518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], 0
call fcn.004273c8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov eax, dword [0x4460e8]
mov ecx, dword [eax + 0x1c]
add edi, 0xc
push edi
add ecx, 0x10
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x3c], 0
call fcn.004043f0
push 0x436674
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x3c], 1
call fcn.00406000
push edi
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x3c], 2
call fcn.004043f0
push 0x436c54
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x3c], 3
call fcn.00406000
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x30], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x30], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x3e8
or eax, ecx
jge 0x40de86
push 0x3e8
lea ecx, [esp + 0x10]
call fcn.004014b0
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
push ebp
push 0x104
push esi
push 0x436670
push 0x4383f8
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x40deae
xor eax, eax
jmp 0x40debf
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x40e059
cmp eax, dword [esi - 8]
jg 0x40e059
push 0x436670
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], 0
call fcn.00419cde
add esp, 8
test eax, eax
jne 0x40dfdb
mov eax, dword [0x4460e8]
mov ecx, dword [eax + 0x1c]
push edi
add ecx, 0x14
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004043f0
push 0x4383dc
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x3c], 8
call fcn.00406000
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 9
call fcn.00404380
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x30], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x30], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, ebp
sub eax, 0x3e8
or eax, ecx
jge 0x40df90
push 0x3e8
lea ecx, [esp + 0x10]
call fcn.004014b0
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
push ebp
push 0x104
push esi
push 0x436670
push 0x4383f8
push 0x437000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
jne 0x40dfb8
xor eax, eax
jmp 0x40dfc9
push esi
call fcn.0041924a
add esp, 4
test eax, eax
jl 0x40e059
cmp eax, dword [esi - 8]
jg 0x40e059
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov eax, dword [0x4460e8]
mov ecx, dword [eax + 0x1c]
lea edx, [esp + 0xc]
add ecx, 0x1c
push edx
call fcn.00404380
add esi, 0xfffffff0
push esi
call fcn.00401500
mov edi, dword [esp + 0x3c]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x10]
add esp, 4
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x30], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e043
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push 0x80070057
call fcn.004011c0
int3