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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c2dd
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x55f3a4]
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
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004efd80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [0x56d540]
cmp eax, dword [ebx + 4]
jle 0x42f137
push 0x56d540
call fcn.004af7b6
add esp, 4
cmp dword [0x56d540], 0xffffffff
jne 0x42f137
push 0x56d540
mov dword [0x56d544], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x239], 0
movlpd qword [ebp - 0x230], xmm0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.00432a45
add esp, 4
mov dword [ebp - 4], 1
lea eax, [ebp - 0x230]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x239]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x228]
push eax
push 0x431010
push 0x56d544
call fcn.00432c10
add esp, 0xc
test eax, eax
je 0x42f6c8
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
call fcn.00432a7f
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x218]
push 0x56cda0
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f1fb
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.004af60c
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 5
call fcn.00405ae0
mov ecx, eax
test ecx, ecx
je 0x42f6f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
push ecx
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 6
call fcn.0042c520
mov ecx, dword [0x56d558]
mov esi, eax
cmp ecx, dword [ebx + 4]
jle 0x42f26f
push 0x56d558
call fcn.004af7b6
add esp, 4
cmp dword [0x56d558], 0xffffffff
jne 0x42f26f
push 0x56d558
mov dword [0x56d55c], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x239], 0
movlpd qword [ebp - 0x220], xmm0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 7
push eax
call fcn.00432a45
add esp, 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x239]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x228]
push eax
push 0x431200
push 0x56d55c
call fcn.00432c10
add esp, 0xc
test eax, eax
je 0x42f6ac
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 9
push eax
call fcn.00432a7f
mov eax, dword [0x56d550]
add esp, 4
cmp eax, dword [ebx + 4]
jle 0x42f31a
push 0x56d550
call fcn.004af7b6
add esp, 4
cmp dword [0x56d550], 0xffffffff
jne 0x42f31a
push 0x56d550
mov dword [0x56d554], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x239], 0
movlpd qword [ebp - 0x220], xmm0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xc
push eax
call fcn.00432a45
add esp, 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x239]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x228]
push eax
push 0x431160
push 0x56d554
call fcn.00432c10
add esp, 0xc
test eax, eax
je 0x42f693
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xe
push eax
call fcn.00432a7f
mov eax, dword [0x56d548]
add esp, 4
cmp eax, dword [ebx + 4]
jle 0x42f3c5
push 0x56d548
call fcn.004af7b6
add esp, 4
cmp dword [0x56d548], 0xffffffff
jne 0x42f3c5
push 0x56d548
mov dword [0x56d54c], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x239], 0
movlpd qword [ebp - 0x220], xmm0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x11
push eax
call fcn.00432a45
add esp, 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x239]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x228]
push eax
push 0x4310c0
push 0x56d54c
call fcn.00432c10
add esp, 0xc
test eax, eax
je 0x42f67a
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x13
push eax
call fcn.00432a7f
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
push 0x56cd7c
push 0x56cd80
push 0x56cd90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0x22c]
lea edi, [esi - 0x10]
test esi, esi
jne 0x42f46d
xor eax, eax
jmp 0x42f481
push dword [edi + 8]
push esi
call fcn.004fa4fd
add esp, 8
test eax, eax
js 0x42f715
cmp eax, dword [edi + 8]
jg 0x42f715
xor ecx, ecx
mov dword [edi + 4], eax
mov word [esi + eax*2], cx
mov eax, dword [0x56d560]
cmp eax, dword [ebx + 4]
jle 0x42f4cd
push 0x56d560
call fcn.004af7b6
add esp, 4
cmp dword [0x56d560], 0xffffffff
jne 0x42f4cd
push 0x56d560
mov dword [0x56d564], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x239], 0
movlpd qword [ebp - 0x220], xmm0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x16
push eax
call fcn.00432a45
add esp, 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x239]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x228]
push eax
push 0x431290
push 0x56d564
call fcn.00432c10
add esp, 0xc
test eax, eax
je 0x42f661
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x18
push eax
call fcn.00432a7f
add esp, 4
lea ecx, [ebp - 0x22c]
mov edx, 0x56cd5c
call fcn.0041f290
test al, al
jne 0x42f639
mov eax, dword [0x56d568]
cmp eax, dword [ebx + 4]
jle 0x42f590
push 0x56d568
call fcn.004af7b6
add esp, 4
cmp dword [0x56d568], 0xffffffff
jne 0x42f590
push 0x56d568
mov dword [0x56d56c], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x23a], 0
movlpd qword [ebp - 0x220], xmm0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00432a45
add esp, 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23a]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push eax
push 0x431350
push 0x56d56c
call fcn.00432c10
add esp, 0xc
test eax, eax
je 0x42f615
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x1d
push eax
call fcn.00432a7f
add esp, 4
lea ecx, [ebp - 0x22c]
mov edx, 0x56cd44
call fcn.0041f290
test al, al
jne 0x42f639
xor esi, esi
jmp 0x42f63e
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x1e
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 0x1c
test al, al
je 0x42f710
jmp 0x42f6fa
mov esi, 1
mov dword [ebp - 4], 0x20
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42f65a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
jmp 0x42f1df
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x19
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 0x17
jmp 0x42f62c
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x14
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 0x12
jmp 0x42f62c
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xf
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 0xd
jmp 0x42f62c
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xa
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 8
jmp 0x42f62c
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 1
test al, al
je 0x42f710
sub esp, 8
lea eax, [ebp - 0x230]
mov ecx, esp
jmp 0x42f705
push 0x80004005
call fcn.004060f0
sub esp, 8
lea eax, [ebp - 0x220]
mov ecx, esp
push eax
call fcn.00404e30
call fcn.00404e90
call fcn.00432c28
push 0x80070057
call fcn.004060f0
int3