Function at 0x433580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x4335a7
mov dword [ebp - 0x24], 1
jmp 0x4335ae
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4335ca
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x43381d
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 8
jb 0x4335fe
mov dword [ebp - 0x2c], 1
jmp 0x433605
mov dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
test edx, edx
je 0x433621
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
movzx eax, word [edx]
test eax, eax
je 0x43381d
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 8
jb 0x433659
mov dword [ebp - 0x34], 1
jmp 0x433660
mov dword [ebp - 0x34], 0
mov cl, byte [ebp - 0x34]
mov byte [ebp - 3], cl
movzx edx, byte [ebp - 3]
test edx, edx
je 0x43367c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43381d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x4336b8
mov dword [ebp - 0x3c], 1
jmp 0x4336bf
mov dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
mov byte [ebp - 4], al
movzx ecx, byte [ebp - 4]
test ecx, ecx
je 0x4336db
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.00433020
add esp, 8
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jbe 0x433812
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0x10
jb 0x433734
mov dword [ebp - 0x44], 1
jmp 0x43373b
mov dword [ebp - 0x44], 0
mov cl, byte [ebp - 0x44]
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
test edx, edx
je 0x43375d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x8c], eax
xor ecx, ecx
shl ecx, 0
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
movsx eax, byte [edx]
cmp eax, 0x4d
jne 0x433812
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 0x10
jb 0x4337aa
mov dword [ebp - 0x4c], 1
jmp 0x4337b1
mov dword [ebp - 0x4c], 0
mov cl, byte [ebp - 0x4c]
mov byte [ebp - 6], cl
movzx edx, byte [ebp - 6]
test edx, edx
je 0x4337d3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x98], eax
mov ecx, 1
shl ecx, 0
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
movsx eax, byte [edx]
cmp eax, 0x5a
jne 0x433812
mov byte [ebp - 7], 1
lea ecx, [ebp - 0xb4]
call fcn.0041d880
mov al, byte [ebp - 7]
jmp 0x43381f
lea ecx, [ebp - 0xb4]
call fcn.0041d880
xor al, al
mov esp, ebp
pop ebp
ret