Function at 0x44e850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593518
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5f88c0]
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 ecx, esi
cmp dword [esi + 0x14], 8
jb 0x44e88c
mov ecx, dword [esi]
cmp dword [edi + 0x37c], 8
lea eax, [edi + 0x368]
jb 0x44e8a1
mov eax, dword [edi + 0x368]
mov edx, dword [edi + 0x378]
cmp edx, dword [esi + 0x10]
jne 0x44e8db
test edx, edx
je 0x44e8d7
sub eax, ecx
mov dword [ebp - 0x8c], eax
nop dword [eax + eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x44e8db
mov eax, dword [ebp - 0x8c]
add ecx, 2
sub edx, 1
jne 0x44e8c0
xor al, al
jmp 0x44e8dd
mov al, 1
test al, al
je 0x44ea93
lea ecx, [edi + 0x368]
cmp ecx, esi
je 0x44e902
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x44e8f9
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00403260
mov ecx, dword [edi + 0x364]
test ecx, ecx
je 0x44e91c
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.00403cc0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44e9f6
mov eax, dword [edi + 0x20]
lea ecx, [ebp - 0x58]
add eax, 0x118
push eax
call fcn.00403cc0
push 0x5fa0a4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00403cc0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00430d60
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00430d00
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x44e9cf
mov ecx, eax
call fcn.00403120
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x70]
call fcn.00403120
lea ecx, [ebp - 0x88]
call fcn.00403120
lea ecx, [ebp - 0x40]
call fcn.00403120
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00403120
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ea8b
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
mov dword [ebp - 0x8c], esi
test esi, esi
je 0x44ea47
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 0x44ea49
xor esi, esi
mov dword [edi + 0x364], esi
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
jne 0x44ea8b
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 0x44ea84
mov dword [esi + 8], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x28]
call fcn.00403120
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.0054b289
mov esp, ebp
pop ebp
ret 4