Function at 0x434e20
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466dab
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x24]
push eax
call fcn.004345f0
mov ecx, dword [ebp - 0x24]
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x434ea6
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x475810
lea ecx, [ebp - 0x14]
call fcn.0040fbe0
push 0x475810
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040fbe0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
mov esi, dword [ebp - 0x24]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x105
or eax, ecx
mov byte [ebp - 4], 2
jge 0x434ef2
push 0x105
lea ecx, [ebp - 0x14]
call fcn.0040f3c0
mov edx, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push 0x104
push edx
push 0x475810
push 0x46e644
push 0x46e63c
call edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00449ab1
add esp, 8
test eax, eax
jl 0x4353e8
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x4353e8
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
lea ecx, [ebp - 0x14]
call fcn.00422520
mov ecx, eax
call fcn.00422570
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov esi, dword [ebp - 0x24]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x105
or eax, ecx
jge 0x434f79
push 0x105
lea ecx, [ebp - 0x10]
call fcn.0040f3c0
mov edx, dword [ebp - 0x10]
push esi
push 0x104
push edx
push 0x475810
push 0x46e634
push 0x46e63c
call edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00449ab1
add esp, 8
test eax, eax
jl 0x4353e8
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x4353e8
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
lea ecx, [ebp - 0x10]
call fcn.00422520
mov ecx, eax
call fcn.00422570
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x434fe2
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
je 0x434ffb
lea edx, [ebp - 0x14]
lea esi, [ebx + 0x50]
push edx
mov ecx, esi
call fcn.0041a9c0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0041a9c0
mov eax, dword [ebx + 0xa0]
test eax, eax
jne 0x4351d7
push 0x475921
lea ecx, [ebp - 0x18]
call fcn.0041a4b0
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0xbc]
push 3
mov dword [ebp - 0xc0], ecx
push edx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 3
call fcn.00416fc0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 8]
mov esi, dword [ebp - 0xc0]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x209
or eax, ecx
mov byte [ebp - 4], 4
jge 0x435068
push 0x209
lea ecx, [ebp - 0x18]
call fcn.00403460
mov edx, dword [ebp - 0x18]
push esi
push 0x208
push edx
push 0x475921
push 0x46e62c
push 0x46e624
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 3
cmp eax, ecx
je 0x4350a1
push eax
call fcn.00448a6b
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0044e2ae
add esp, 8
test eax, eax
jl 0x4353e8
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx - 8]
jg 0x4353e8
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
mov byte [eax + edx], 0
call fcn.00407f30
mov ecx, eax
call fcn.00407fc0
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00406a20
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2c]
add esp, 4
push eax
call fcn.00419020
mov ecx, dword [ebp - 0x2c]
push 0x46e544
mov bl, 5
push ecx
mov byte [ebp - 4], bl
call fcn.0044b14d
add esp, 0x10
test eax, eax
je 0x435191
mov edx, dword [ebp - 0x2c]
push 0x46e540
push edx
call fcn.0044e678
add esp, 8
test eax, eax
je 0x435191
mov esi, dword [ebp - 0x30]
add esi, 0x84
lea esp, [esp]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040fbe0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00433a40
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43517e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46e540
push 0
call fcn.0044e678
add esp, 8
test eax, eax
jne 0x435140
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4351b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4351d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x475810
lea ecx, [ebp - 0x20]
call fcn.0040fbe0
mov edx, dword [ebp - 0x20]
mov eax, dword [edx - 8]
mov esi, dword [ebp - 0x24]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x105
or eax, ecx
mov bl, 7
mov byte [ebp - 4], bl
jge 0x435213
push 0x105
lea ecx, [ebp - 0x20]
call fcn.0040f3c0
mov edx, dword [ebp - 0x20]
push esi
push 0x104
push edx
push 0x46e61c
push 0x46e60c
push 0x46e5fc
call edi
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00449ab1
add esp, 8
test eax, eax
jl 0x4353e8
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx - 8]
jg 0x4353e8
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov word [edx + eax*2], cx
lea ecx, [ebp - 0x20]
call fcn.00422520
mov ecx, eax
call fcn.00422570
mov eax, dword [ebp - 0x20]
push 0x46e5f4
push eax
call fcn.0044b14d
mov edx, dword [ebp - 0x30]
xor ecx, ecx
add esp, 8
test eax, eax
sete cl
push 0x475810
mov dword [edx + 0xa4], ecx
lea ecx, [ebp - 0x1c]
call fcn.0040fbe0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 8]
mov esi, dword [ebp - 0x24]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x105
or eax, ecx
mov byte [ebp - 4], 8
jge 0x4352c6
push 0x105
lea ecx, [ebp - 0x1c]
call fcn.0040f3c0
mov edx, dword [ebp - 0x1c]
push esi
push 0x104
push edx
push 0x46e61c
push 0x46e5e4
push 0x46e5fc
call edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00449ab1
add esp, 8
test eax, eax
jl 0x4353e8
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx - 8]
jg 0x4353e8
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov word [edx + eax*2], cx
lea ecx, [ebp - 0x1c]
call fcn.00422520
mov ecx, eax
call fcn.00422570
mov eax, dword [ebp - 0x1c]
push 0x46e5f4
push eax
call fcn.0044b14d
mov edx, dword [ebp - 0x30]
xor ecx, ecx
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x1c]
sete cl
add eax, 0xfffffff0
mov byte [ebp - 4], bl
mov dword [edx + 0xa8], ecx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435383
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4353a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4353c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x434e88
push 0x80070057
call fcn.00403dd0
int3