Function at 0x434867
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x40
mov eax, 0x514748
call fcn.004d8abf
mov edi, edx
mov dword [ebp - 0x10], edi
mov ebx, ecx
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea edx, [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [esi], eax
call fcn.00428612
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0
jge 0x434911
cmp dword [ebp - 0x34], 0
push 0x54
pop eax
cmovne eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x38]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x4c]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, ebx
jmp 0x434b28
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00407189
push 0x2a
push dword [ebp + 8]
call fcn.004da438
pop ecx
pop ecx
test eax, eax
jne 0x4349b9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4349a5
lea eax, [ebp + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00409a0d
mov esi, eax
lea edi, [ebp - 0x4c]
lea eax, [ebp + 8]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x44]
call fcn.00409a5e
test al, al
jne 0x4349a5
mov edi, dword [ebp - 0x10]
cmp dword [edi + 4], 0xccccccc
je 0x434b2e
lea eax, [ebp + 8]
push eax
push dword [edi]
lea ecx, [ebp - 0x34]
push edi
call fcn.004c1a6b
lea ecx, [ebp - 0x34]
mov esi, dword [eax + 4]
and dword [eax + 4], 0
call fcn.004c0cd7
push esi
push dword [ebp - 0x48]
mov ecx, edi
push dword [ebp - 0x4c]
call fcn.00409917
and dword [ebx], 0
lea ecx, [ebx + 8]
and dword [ebx + 4], 0
call fcn.0040687a
jmp 0x4348ff
lea ecx, [ebp - 0x40]
call fcn.004adabc
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x18], esp
push 1
push 0x5c
call fcn.004af0df
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x40]
mov dword [esi], eax
xor dl, dl
mov byte [ebp - 4], 3
call fcn.004b1620
cmp dword [ebp - 0x3c], 2
pop ecx
pop ecx
jae 0x434a4e
push 0x61
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x4c]
call fcn.00406620
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov edx, dword [ebp - 0x40]
call fcn.004b6f07
push 0xc
push dword [ebp - 0x40]
call fcn.004d840d
pop ecx
pop ecx
jmp 0x4348ff
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
sub ecx, 0x10
call fcn.004070e7
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x40]
push dword [eax]
call fcn.004b0289
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
sub ecx, 0x10
call fcn.004070e7
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x40]
push dword [eax + 4]
call fcn.004b0289
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x28], esp
mov ebx, esp
mov ecx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], eax
call fcn.004070e7
add eax, 0x10
mov dword [ebx], eax
push ecx
push ecx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.004ada4a
push ecx
mov byte [ebp - 4], 9
lea ecx, [edi - 0x10]
mov esi, esp
mov dword [ebp - 0x30], esi
call fcn.004070e7
mov edx, dword [ebp - 0x10]
add eax, 0x10
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
mov byte [ebp - 4], 7
call fcn.0043432b
mov ecx, dword [ebp - 0x18]
add esp, 0x10
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
mov edx, dword [ebp - 0x40]
call fcn.004b6f07
push 0xc
push dword [ebp - 0x40]
call fcn.004d840d
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, dword [ebp - 0x14]
call fcn.004d8a8d
ret
call fcn.00409e63
int3