Function at 0x42d490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afd5e
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], 0
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], eax
call fcn.0042d2a0
test eax, eax
je 0x42d693
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004244c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x20], 0x6d0063
mov dword [ebp - 0x1c], 0x2e0064
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d560
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00404350
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x38]
cmovae edx, dword [ebp - 0x6c]
call fcn.0041ad60
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x42d5cd
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d5c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d6e7
push edx
push ecx
call fcn.0044b3bd
add esp, 8
cmp dword [ebp - 0x24], 8
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x50]
cmovae edx, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 8
cmovae ecx, dword [ebp - 0x50]
call fcn.00427e60
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d65d
test esi, esi
je 0x42d61c
lea eax, [ebp - 0x38]
cmp esi, eax
je 0x42d61c
cmp dword [ebp - 0x24], 8
mov ecx, esi
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.00404350
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x42d656
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d64c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d6e7
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov esi, 1
jmp 0x42d695
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x42d693
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d689
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d6e7
push edx
push ecx
call fcn.0044b3bd
add esp, 8
xor esi, esi
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x42d6cb
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d6c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d6ec
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
call fcn.0047aa50
call fcn.0047aa50
int3