Function at 0x423010
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 0x423037
mov dword [ebp - 0x24], 1
jmp 0x42303e
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x42305a
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 0x4232ad
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 0x42308e
mov dword [ebp - 0x2c], 1
jmp 0x423095
mov dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
test edx, edx
je 0x4230b1
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 0x4232ad
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 0x4230e9
mov dword [ebp - 0x34], 1
jmp 0x4230f0
mov dword [ebp - 0x34], 0
mov cl, byte [ebp - 0x34]
mov byte [ebp - 3], cl
movzx edx, byte [ebp - 3]
test edx, edx
je 0x42310c
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 0x4232ad
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 0x423148
mov dword [ebp - 0x3c], 1
jmp 0x42314f
mov dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
mov byte [ebp - 4], al
movzx ecx, byte [ebp - 4]
test ecx, ecx
je 0x42316b
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.00422770
add esp, 8
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jbe 0x4232a2
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 0x4231c4
mov dword [ebp - 0x44], 1
jmp 0x4231cb
mov dword [ebp - 0x44], 0
mov cl, byte [ebp - 0x44]
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
test edx, edx
je 0x4231ed
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 0x4232a2
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 0x42323a
mov dword [ebp - 0x4c], 1
jmp 0x423241
mov dword [ebp - 0x4c], 0
mov cl, byte [ebp - 0x4c]
mov byte [ebp - 6], cl
movzx edx, byte [ebp - 6]
test edx, edx
je 0x423263
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 0x4232a2
mov byte [ebp - 7], 1
lea ecx, [ebp - 0xb4]
call fcn.004219d0
mov al, byte [ebp - 7]
jmp 0x4232af
lea ecx, [ebp - 0xb4]
call fcn.004219d0
xor al, al
mov esp, ebp
pop ebp
ret