Function at 0x4ae9f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x170
push ebx
push esi
push edi
mov edx, dword [0x5a2300]
mov ecx, dword [0x5a243c]
mov dword [esp + 0x20], edx
mov edx, dword [0x5a240c]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x5a2304]
mov dword [esp + 0x30], edx
mov edx, dword [0x5a23e4]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x5a2410]
mov dword [esp + 0x40], edx
mov edx, dword [0x5a42e0]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x5a23e8]
mov dword [esp + 0x50], edx
mov edx, dword [0x5a42d8]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x5a42e4]
mov dword [esp + 0x60], edx
mov edx, dword [0x5a23cc]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x5a42dc]
mov dword [esp + 0x70], edx
mov edx, dword [str.jpeg]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x5a23d0]
mov dword [esp + 0x80], edx
mov edx, dword [0x5a42d0]
mov dword [esp + 0x74], ecx
mov ecx, 8
mov dword [esp + 0x84], edx
mov dx, word [0x5a42d4]
mov eax, dword [0x5a2438]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x598468]
mov word [esp + 0x88], dx
mov edx, dword [0x59846c]
mov dword [esp + 0x90], ecx
mov ecx, dword [0x5a22f0]
mov dword [esp + 0x94], edx
mov edx, dword [0x5a22f4]
mov dword [esp + 0xa0], ecx
mov ecx, dword [0x5a42c4]
mov dword [esp + 0xa4], edx
mov edx, dword [0x5a42c8]
mov dword [esp + 0xb0], ecx
mov ecx, dword [0x5a42bc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xb4], edx
mov edx, dword [0x5a42c0]
xor eax, eax
mov dword [esp + 0xc0], ecx
mov ecx, dword [0x5a23a4]
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 3
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 5
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 6
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x78], eax
mov word [esp + 0x8a], ax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 9
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0xa
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0xb
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], 0xc
mov edx, dword [0x5a23a8]
mov dword [esp + 0xd0], ecx
mov ecx, dword [0x5a23b4]
mov dword [esp + 0xd4], edx
mov edx, dword [0x5a23b8]
mov dword [esp + 0xe0], ecx
mov ecx, dword [0x59bb90]
mov dword [esp + 0xe4], edx
mov edx, dword [0x59bb94]
mov dword [esp + 0xf0], ecx
mov ecx, dword [0x5a239c]
mov dword [esp + 0xf4], edx
mov edx, dword [0x5a23a0]
mov dword [esp + 0x100], ecx
mov ecx, dword [0x5a2394]
mov dword [esp + 0x104], edx
mov edx, dword [0x5a2398]
mov dword [esp + 0x110], ecx
mov ecx, dword [0x5a238c]
mov dword [esp + 0x114], edx
mov edx, dword [0x5a2390]
mov dword [esp + 0x120], ecx
mov ecx, dword [0x5a42b4]
mov dword [esp + 0x124], edx
mov edx, dword [0x5a42b8]
mov dword [esp + 0x130], ecx
mov ecx, dword [0x5a22e0]
mov dword [esp + 0x134], edx
mov edx, dword [0x5a22e4]
mov dword [esp + 0x140], ecx
mov ecx, dword [0x5a234c]
mov dword [esp + 0x144], edx
mov edx, dword [0x5a2350]
mov dword [esp + 0x150], ecx
mov ecx, dword [0x59bb98]
mov ebx, dword [esp + 0x180]
mov dword [esp + 0x154], edx
mov edx, dword [0x59bb9c]
mov dword [esp + 0x160], ecx
mov ecx, dword [str.webp]
mov dword [esp + 0x164], edx
mov edx, dword [0x5a42ac]
mov dword [esp + 0x170], ecx
mov cx, word [0x5a42b0]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0xd
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], 0xe
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], 0x10
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0x11
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], 0x12
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], 0x13
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], 0x14
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], 0x15
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], 0x16
mov dword [esp + 0x174], edx
mov word [esp + 0x178], cx
mov word [esp + 0x17a], ax
xor esi, esi
lea edi, [esp + 0x10]
push ebx
push edi
call fcn.004d7652
add esp, 8
test eax, eax
je 0x4aede5
inc esi
add edi, 0x10
cmp esi, 0x17
jl 0x4aedc1
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x170
ret
shl esi, 4
pop edi
mov eax, dword [esp + esi + 8]
pop esi
pop ebx
add esp, 0x170
ret