Function at 0x4ed280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b6bd
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x280], ecx
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 0x28]
call fcn.00428cc0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x280]
cmp dword [ecx + 0x34], 0
je 0x4ed318
mov edx, dword [ebp - 0x280]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x25c], ecx
cmp dword [ebp - 0x25c], 0
je 0x4ed30e
push 1
mov edx, dword [ebp - 0x25c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x25c]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x284], eax
jmp 0x4ed318
mov dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x280]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x280]
cmp dword [ecx + 0x44], 0
je 0x4ed37b
mov edx, dword [ebp - 0x280]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x264], ecx
cmp dword [ebp - 0x264], 0
je 0x4ed371
push 1
mov edx, dword [ebp - 0x264]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x264]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x288], eax
jmp 0x4ed37b
mov dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x280]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx + 0x28]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x280]
call fcn.004ee820
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ed3f1
push 0
lea ecx, [ebp - 0x10]
call fcn.0041e1e0
push eax
call fcn.00434810
add esp, 8
mov ecx, dword [ebp - 0x280]
mov dword [ecx + 0x34], eax
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x280]
add ecx, 0xb0
call fcn.0041dad0
jmp 0x4ed4cb
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 0x28]
call fcn.00428cc0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4ed447
push 0x100
push 0x100
mov ecx, dword [ebp - 0x280]
mov ecx, dword [ecx + 0x28]
call fcn.00429db0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
call fcn.004276d0
add esp, 4
mov ecx, dword [ebp - 0x280]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4ed4cb
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0045b3e0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4ed4af
push ecx
mov ecx, esp
mov dword [ebp - 0x26c], esp
push 0x59dc40
call fcn.0041d9b0
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0045a720
add esp, 8
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004ecd40
add esp, 4
mov edx, dword [ebp - 0x280]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4ed4cb
push 0x59dc44
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0045af00
add esp, 0xc
mov edx, dword [ebp - 0x280]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 0x30]
add ecx, 0x20
call fcn.0041e310
movzx ecx, al
test ecx, ecx
jne 0x4ed503
mov edx, dword [ebp - 0x280]
mov ecx, dword [edx + 0x30]
add ecx, 0x20
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ed71f
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 0x28]
call fcn.00428ce0
push eax
lea ecx, [ebp - 0x38]
call fcn.0041d9b0
mov byte [ebp - 4], 1
mov ecx, dword [0x59dc4c]
mov dword [ebp - 0x244], ecx
push 0x204
push 0
lea edx, [ebp - 0x240]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
call fcn.004011a0
add esp, 4
push str.dataicon
lea ecx, [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [ebp + eax*2 - 0x244]
push edx
call fcn.00554842
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.0041d970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.0041d970
mov byte [ebp - 4], 3
lea eax, [ebp - 0x244]
push eax
push str._s.png
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00423c30
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ed5cb
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x248]
call fcn.0041dad0
jmp 0x4ed6ca
lea eax, [ebp - 0x244]
push eax
push str._s.ico
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00423c30
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ed60a
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x248]
call fcn.0041dad0
jmp 0x4ed6ca
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
lea eax, [ebp - 0x38]
push eax
call fcn.0041d990
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x298], ecx
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x274], esp
lea edx, [ebp - 0x244]
push edx
call fcn.0041d9b0
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x280]
mov ecx, dword [ecx + 0x28]
call fcn.00428d00
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push eax
call fcn.0041d9b0
mov dword [ebp - 0x2a4], eax
lea edx, [ebp - 0x27c]
push edx
mov byte [ebp - 4], 3
call fcn.004585d0
add esp, 0x10
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0041dad0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.0041dab0
lea ecx, [ebp - 0x248]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ed6f8
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 0x30]
add ecx, 0x20
call fcn.0041dad0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0041dab0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x280]
add ecx, 4
call fcn.00453190
mov edx, dword [ebp - 0x280]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x280]
mov edx, dword [ecx + 0xdc]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.USER32.dll_UnionRect]
push 1
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x280]
add ecx, 4
call fcn.0046ae20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret