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

Disassembly:
push 0x58
mov eax, 0x5146d6
call fcn.004d8abf
mov edi, edx
mov dword [ebp - 0x18], edi
mov ebx, ecx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 4], 2
cmp dword [ebp + 0x10], esi
jne 0x43456a
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], esi
jne 0x434384
push 0x53d64c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00409442
pop ecx
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.004b0ee5
mov ecx, dword [ebp - 0x18]
jmp 0x43443d
push 0x2a
push eax
call fcn.004da438
pop ecx
pop ecx
test eax, eax
jne 0x43444a
push 0x53d64c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.00409442
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.0040a037
pop ecx
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43443a
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00409a0d
mov esi, eax
lea edi, [ebp - 0x64]
lea eax, [ebp - 0x10]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x5c]
call fcn.00409a5e
test al, al
jne 0x43443a
mov edi, dword [ebp - 0x18]
cmp dword [edi + 4], 0xccccccc
je 0x434861
lea eax, [ebp - 0x10]
push eax
push dword [edi]
lea ecx, [ebp - 0x40]
push edi
call fcn.004c1a6b
lea ecx, [ebp - 0x40]
mov esi, dword [eax + 4]
and dword [eax + 4], 0
call fcn.004c0cd7
push esi
push dword [ebp - 0x60]
mov ecx, edi
push dword [ebp - 0x64]
call fcn.00409917
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x434556
lea ecx, [ebp - 0x40]
call fcn.004acf13
push esi
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x5444d8
call fcn.00406fea
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
push ecx
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 - 0x64]
mov dword [esi], eax
xor edx, edx
mov byte [ebp - 4], 7
call fcn.0042aaf3
add esp, 0x10
mov byte [ebp - 4], 9
cmp dword [ebp - 0x64], 0
jge 0x4344c3
lea eax, [ebp - 0x64]
mov ecx, ebx
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x40]
call fcn.004add79
jmp 0x43480f
mov esi, dword [ebp - 0x40]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
jmp 0x43453f
mov ecx, dword [ebp + 0x14]
add eax, 0x10
push 1
mov dword [ebp - 0x18], eax
mov edx, dword [eax]
call fcn.00433918
pop ecx
test al, al
je 0x434534
push 0x53d64c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00409442
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
push dword [ebp - 0x18]
mov edx, eax
call fcn.0040a037
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.004b0ee5
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x14]
call fcn.004094c2
mov eax, dword [ebp - 0x14]
cmp eax, esi
jne 0x4344cd
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x40]
call fcn.004add79
and dword [ebx], 0
lea ecx, [ebx + 8]
and dword [ebx + 4], 0
call fcn.0040687a
jmp 0x43480f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
sub ecx, 0x10
call fcn.004070e7
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.004b0289
push 0x2a
push esi
call fcn.004da438
pop ecx
pop ecx
test eax, eax
jne 0x43467a
push 0x53d64c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00409442
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push ecx
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.0040a037
pop ecx
pop ecx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00407189
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x434611
call fcn.00406710
push 0x2c
push eax
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, ebx
call fcn.00406620
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x14]
jmp 0x43480a
test al, 0x10
je 0x43466e
push ecx
mov esi, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.004070e7
add eax, 0x10
mov dword [esi], eax
push ecx
push ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004ada4a
push ecx
mov byte [ebp - 4], 0x11
mov esi, esp
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
mov edx, edi
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.0043432b
add esp, 0x10
jmp 0x4345fe
push 0x32
push 0x80070003
jmp 0x4345ef
lea ecx, [ebp - 0x4c]
call fcn.004acf13
push 0
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x5444d8
call fcn.00406fea
push 0
push ecx
mov byte [ebp - 4], 0x13
mov edi, esp
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea edx, [ebp - 0x4c]
mov dword [edi], eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x12
call fcn.0042aaf3
add esp, 0x10
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x58], 0
jge 0x4346f3
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x4c]
call fcn.004add79
jmp 0x434609
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x4347e5
mov ecx, dword [eax + 0x10]
sub ecx, 0x10
call fcn.004070e7
mov dword [ebp - 0x10], eax
lea edx, [eax + 0x10]
mov dword [ebp - 0x20], edx
push 1
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.00433918
pop ecx
test al, al
je 0x4347c5
push ecx
mov edi, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.004070e7
add eax, 0x10
mov dword [edi], eax
push ecx
push ecx
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004ada4a
push 0x53d64c
lea edx, [ebp + 8]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x24]
call fcn.00409442
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 0x18
mov ecx, esp
push edx
mov edx, eax
call fcn.0040a037
pop ecx
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x19
call fcn.0043432b
add esp, 0x10
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, dword [ebp - 0x64]
test eax, eax
jns 0x4347ba
cmp eax, 0x80070002
je 0x4347ba
cmp eax, 0x80070003
jne 0x434841
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x14]
call fcn.004094c2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x4c]
jne 0x434703
and dword [ebx], 0
lea ecx, [ebx + 8]
and dword [ebx + 4], 0
call fcn.0040687a
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x4c]
call fcn.004add79
lea ecx, [esi - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov edx, dword [ebp + 0xc]
call fcn.004b6f07
push 0xc
push dword [ebp + 0xc]
call fcn.004d840d
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, ebx
call fcn.004d8a8d
ret
lea eax, [ebp - 0x64]
mov ecx, ebx
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x10]
call fcn.00407189
jmp 0x4347f4
call fcn.00409e63
int3