Function at 0x421c70
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x455770
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
add ecx, 4
call fcn.0042f74d
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.00401ea0
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], esi
call fcn.00421480
test eax, eax
je 0x421d04
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004209d0
add esp, 4
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], esi
jne 0x421d33
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421d04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421d2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x421f78
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x3b
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x24]
call fcn.0041f530
add esp, 8
mov byte [esp + 0x3c], 2
call fcn.0042d67b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x421f8e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x44], edi
mov byte [esp + 0x3c], 3
mov eax, dword [edi - 8]
mov esi, dword [esp + 0x14]
mov ecx, 1
sub ecx, dword [edi - 4]
mov ebx, 0x7fff
sub eax, ebx
or eax, ecx
jge 0x421daf
push ebx
lea ecx, [esp + 0x48]
call fcn.00401cc0
mov edi, dword [esp + 0x44]
cmp dword [edi - 8], ebx
jl 0x421f98
push esi
mov dword [edi - 0xc], ebx
xor ecx, ecx
push ebx
mov word [edi + 0xfffe], cx
mov edx, dword [esp + 0x20]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x421ed5
xor ebp, ebp
mov eax, dword [edi - 0xc]
test ebp, ebp
jl 0x421ed5
cmp ebp, eax
jge 0x421ed5
lea eax, [edi + ebp*2]
push 0x3d
push eax
call fcn.0043e18d
add esp, 8
test eax, eax
je 0x421ed5
sub eax, edi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x421ed5
mov ecx, esi
sub ecx, ebp
push ecx
push ebp
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
call fcn.0040dbb0
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.0040db80
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x3c], 5
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ebx
push edx
push eax
push ecx
call fcn.00421fb0
mov eax, dword [edi - 0xc]
test esi, esi
jl 0x421e80
cmp esi, eax
jge 0x421e80
lea edx, [edi + esi*2]
push 0
push edx
call fcn.0043e18d
add esp, 8
test eax, eax
je 0x421e80
sub eax, edi
sar eax, 1
jmp 0x421e83
or eax, 0xffffffff
lea ebp, [eax + 1]
lea eax, [ebx - 0x10]
mov byte [esp + 0x3c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ea7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ddc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x421ddc
add edi, 0xfffffff0
mov byte [esp + 0x3c], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ef6
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421f1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0xffffffff
jne 0x421d3f
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421f4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421f73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
push 0x80004005
call fcn.00401f60
push 0x80070057
call fcn.00401f60
int3