Function at 0x44ccd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e3b5
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x599680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x44cd09
mov eax, dword [esi]
cmp dword [edi + 0x37c], 8
lea ecx, [edi + 0x368]
jb 0x44cd1e
mov ecx, dword [edi + 0x368]
mov edx, dword [edi + 0x378]
cmp edx, dword [esi + 0x10]
jne 0x44cd4a
test edx, edx
je 0x44cd46
sub ecx, eax
mov dword [ebp - 0x74], ecx
mov cx, word [ecx + eax]
cmp cx, word [eax]
jne 0x44cd4a
mov ecx, dword [ebp - 0x74]
add eax, 2
sub edx, 1
jne 0x44cd32
xor al, al
jmp 0x44cd4c
mov al, 1
test al, al
je 0x44cf07
lea ecx, [edi + 0x368]
cmp ecx, esi
je 0x44cd71
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x44cd68
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.004020a0
mov ecx, dword [edi + 0x364]
test ecx, ecx
je 0x44cd8b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x364], 0
lea eax, [edi + 0x368]
push eax
lea ecx, [ebp - 0x28]
call fcn.004028b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x44ce71
mov eax, dword [edi + 0x20]
lea ecx, [ebp - 0x58]
add eax, 0x118
push eax
call fcn.004028b0
push 0x59ae64
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004028b0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004284a0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00402730
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00401f60
movups xmm0, xmmword [ebp - 0x88]
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0x18], xmm0
call fcn.00401f60
lea ecx, [ebp - 0x40]
call fcn.00401f60
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00401f60
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x44ceff
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
mov dword [ebp - 0x74], esi
test esi, esi
je 0x44cebb
cmp dword [ebp - 0x14], 8
lea eax, [esi + 4]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromFile]
mov dword [esi + 8], eax
jmp 0x44cebd
xor esi, esi
mov dword [edi + 0x364], esi
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
jne 0x44ceff
cmp byte [edi + 0x351], al
mov esi, dword [edi + 0x364]
sete al
lea eax, [eax*2 + 1]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipImageRotateFlip]
test eax, eax
je 0x44cef8
mov dword [esi + 8], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x28]
call fcn.00401f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00509f60
mov esp, ebp
pop ebp
ret 4