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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628abb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x14]
mov ecx, dword [esi + 0x240]
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
add ecx, 0x490
push ebx
mov dword [ebp - 4], edi
call fcn.004e6a10
cmp eax, edi
jne 0x53268d
cmp ebx, edi
jl 0x53268d
mov ecx, dword [esi + 0x240]
cmp ebx, dword [ecx + 0xb0]
jge 0x53268d
mov eax, dword [0x6cc708]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x84], eax
call fcn.0041cad0
lea ecx, [ebp - 0x74]
call fcn.0041cad0
lea ecx, [ebp - 0x68]
call fcn.0041cad0
mov eax, dword [0x6cc708]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
call fcn.0041cad0
mov eax, dword [0x6cc708]
mov dword [ebp - 0xdc], 0x635674
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov ecx, dword [esi + 0x240]
lea edx, [ebp - 0xdc]
push edi
push edx
push ebx
add ecx, 8
mov byte [ebp - 4], 1
call fcn.005d70f0
test al, al
jne 0x5326a0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0
call fcn.004764a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x6d12c4], edi
je 0x5326c9
mov eax, dword [ebp - 0x80]
cmp eax, edi
jne 0x5326b2
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5326c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x53267e
mov eax, dword [ebp - 0x80]
cmp eax, edi
jne 0x5326d3
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.00495c30
add esp, 8
cmp eax, edi
jne 0x5326f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x53267e
cmp dword [0x6d12c4], edi
jne 0x53267e
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebp - 0x80]
cmp eax, edi
jne 0x532705
lea eax, [ebp - 0x7c]
mov ecx, dword [0x6d1400]
lea edx, [esi + 0x278]
neg ecx
sbb ecx, ecx
and ecx, 8
add ecx, 0x18
push ecx
push edx
push eax
mov eax, dword [esi + 0x4f4]
push eax
lea ecx, [esi + 0x5c]
call fcn.00537090
mov ebx, eax
cmp ebx, edi
je 0x532811
push ebx
call fcn.00605b1f
cmp eax, edi
jne 0x532745
xor eax, eax
jmp 0x532748
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x274]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov ecx, dword [esi + 0x240]
mov edx, dword [ebp + 8]
add ecx, 0x490
push edx
mov edi, eax
call fcn.00532f00
push ebx
mov dword [eax], edi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esi + 0x5c8], 4
jne 0x532811
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jl 0x532811
mov eax, dword [esi + 0x28c]
test eax, eax
jl 0x5327b3
xor eax, eax
cmp eax, dword [esi + 0x29c]
jge 0x5327b3
mov edx, dword [esi + 0x298]
mov edi, dword [ebp + 8]
cmp dword [edx + eax*4], edi
jne 0x53281c
mov ecx, eax
lea eax, [ebp - 0x10c]
push 1
push eax
push ecx
lea ecx, [esi + 0x4d8]
call fcn.005fcba9
mov edx, dword [esi + 0x4f4]
lea ecx, [ebp - 0xec]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0xec]
push eax
lea edx, [ebp - 0xfc]
push ecx
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x532811
mov ecx, dword [esi + 0x4f4]
lea eax, [ebp - 0xfc]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x53267e
inc eax
jmp 0x53279b