Function at 0x429720
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28c], ecx
mov eax, dword [0x5b6180]
mov dword [ebp - 0x210], eax
push 0x204
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.005533a0
add esp, 0xc
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045b550
add esp, 0xc
movzx edx, al
test edx, edx
je 0x4297cc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4297c7
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.00428410
lea edx, [ebp - 0x210]
push edx
call fcn.0045c2e0
add esp, 4
mov dword [ebp - 0x214], eax
jmp 0x429adc
cmp dword [ebp - 0x218], 1
jle 0x429aca
push 0x2010
push 0x100
push 0x100
push 1
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.USER32.dll_GetIconInfo]
cmp dword [ebp - 0x224], 0
jne 0x429820
xor eax, eax
jmp 0x429b16
mov dword [ebp - 0x220], 0
push 0x100
push 0x100
call fcn.0045b120
add esp, 8
mov dword [ebp - 0x23c], eax
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push 3
push 0
push 0
push 0x100
push 0x100
mov edx, dword [ebp - 0x238]
push edx
push 0
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0
mov ecx, dword [ebp - 0x23c]
push ecx
call fcn.00416710
add esp, 8
mov dword [ebp - 0x220], eax
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp - 0x240], 0x100
mov dword [ebp - 0x244], 0x100
mov ecx, dword [ebp - 0x220]
call fcn.004275c0
cmp eax, 0x26200a
je 0x429ac0
mov ecx, dword [ebp - 0x220]
call fcn.00427590
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00427560
push eax
push 0
push 0
lea ecx, [ebp - 0x254]
call fcn.00427290
push 0x26200a
call fcn.004272d0
add esp, 4
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
imul ecx, dword [ebp - 0x24c]
add ecx, 0x1f
and ecx, 0xffffffe0
shr ecx, 3
mov dword [ebp - 0x26c], ecx
mov eax, dword [ebp - 0x248]
imul eax, dword [ebp - 0x26c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00553501
add esp, 4
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x274]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.004275c0
push eax
push 7
lea edx, [ebp - 0x254]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.00427740
push 0x10
call fcn.004164d0
add esp, 4
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
je 0x429a10
mov eax, dword [ebp - 0x264]
push eax
push 0x26200a
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x280]
call fcn.00427620
mov dword [ebp - 0x290], eax
jmp 0x429a1a
mov dword [ebp - 0x290], 0
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x27c], ecx
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x25c], edx
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00427780
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x284], edx
cmp dword [ebp - 0x284], 0
je 0x429a81
push 1
mov eax, dword [ebp - 0x284]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x284]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x294], eax
jmp 0x429a8b
mov dword [ebp - 0x294], 0
mov ecx, dword [ebp - 0x25c]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.00429b30
movzx edx, al
test edx, edx
je 0x429ab6
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.00429bd0
mov eax, dword [ebp - 0x25c]
jmp 0x429b16
mov eax, dword [ebp - 0x220]
jmp 0x429b16
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045c2e0
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x429b10
mov edx, dword [ebp - 0x214]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.00429b30
movzx eax, al
test eax, eax
je 0x429b10
mov ecx, dword [ebp - 0x214]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.00429bd0
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4