Function at 0x4484d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464063
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x47c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ebx, [edi + 0x368]
cmp dword [esi + 0x14], 8
jb 0x448513
mov eax, dword [esi]
jmp 0x448515
mov eax, esi
push dword [esi + 0x10]
push eax
push dword [ebx + 0x10]
push ecx
mov ecx, ebx
call fcn.0040bc60
test eax, eax
je 0x448733
cmp ebx, esi
je 0x44853c
push 0xffffffffffffffff
push 0
push esi
mov ecx, ebx
call fcn.00401620
mov ecx, dword [edi + 0x364]
test ecx, ecx
je 0x448556
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x364], 0
xor eax, eax
mov dword [ebp - 0x18], 7
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00401620
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x448697
mov ecx, dword [edi + 0x20]
lea eax, [ebp - 0x8c]
push eax
call fcn.0040d410
mov esi, eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00413050
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0040acd0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00429f80
mov esi, eax
add esp, 8
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x448611
cmp dword [ebp - 0x18], 8
jb 0x4485f4
push dword [ebp - 0x2c]
call fcn.0044d735
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404330
cmp dword [ebp - 0x60], 8
jb 0x448622
push dword [ebp - 0x74]
call fcn.0044d735
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x448647
push dword [ebp - 0x44]
call fcn.0044d735
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x44866c
push dword [ebp - 0x5c]
call fcn.0044d735
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x448697
push dword [ebp - 0x8c]
call fcn.0044d735
add esp, 4
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
je 0x448722
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x4486de
cmp dword [ebp - 0x18], 8
lea eax, [esi + 4]
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
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 0x4486e0
xor esi, esi
mov dword [edi + 0x364], esi
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
jne 0x448722
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 0x44871b
mov dword [esi + 8], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp dword [ebp - 0x18], 8
jb 0x448733
push dword [ebp - 0x2c]
call fcn.0044d735
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044d726
mov esp, ebp
pop ebp
ret 4