Function at 0x464b20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be3f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea ebx, [eax + 0x18]
push 0x1a8
mov dword [eax], vtable.StandardJpegCompressor.0
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 0x4b
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov edi, dword [ebx]
mov esi, dword [ebx + 0xc]
push 0
push ebx
call fcn.00499150
push 0x54
mov dword [ebx], edi
mov dword [ebx + 0xc], esi
mov byte [ebx + 0x10], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x14], 0
call fcn.0049fea4
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x464bd1
mov ecx, dword [ebx]
push ebx
mov dword [ecx + 0x14], 0x38
mov ecx, dword [ebx]
mov dword [ecx + 0x18], eax
mov eax, dword [ebx]
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi], fcn.0047cf70
mov dword [esi + 4], fcn.0047d0b0
mov dword [esi + 8], fcn.0047d180
mov dword [esi + 0xc], fcn.0047d240
mov dword [esi + 0x10], 0x47d300
mov dword [esi + 0x14], 0x47d370
mov dword [esi + 0x18], 0x47d3e0
mov dword [esi + 0x1c], 0x47d6d0
mov dword [esi + 0x20], 0x47d820
mov dword [esi + 0x24], fcn.0047d970
mov dword [esi + 0x28], 0x47da80
mov dword [esi + 0x30], 0x3b9aca00
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [ebx + 4], esi
call fcn.004b52b6
add esp, 4
test eax, eax
je 0x464cab
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0x78
push ecx
lea ecx, [ebp - 0x14]
push ecx
push str._ld_c
push eax
call fcn.0047cf30
add esp, 0x10
test eax, eax
jle 0x464cab
mov al, byte [ebp - 0xd]
cmp al, 0x6d
je 0x464c9b
cmp al, 0x4d
mov eax, dword [ebp - 0x14]
jne 0x464ca2
imul eax, dword [ebp - 0x14], 0x3e8
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
mov esi, dword [ebp - 0x18]
mov dword [ebx + 8], 0
lea eax, [esi + 0x1c0]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x54], 0
movsd xmm0, qword [0x4e1de0]
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x68], 0x64
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x6c], 0x64
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x70], 0x64
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x74], 0x64
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x16c], 8
mov dword [ebx + 0x170], 0x4cc0f8
mov dword [ebx + 0x174], 0x3f
mov dword [ebx + 0x19c], 0
movsd qword [ebx + 0x30], xmm0
mov dword [ebx + 0x14], 0x64
mov dword [eax], 0x47cbc0
mov dword [eax + 4], 0x47cc50
mov dword [eax + 8], 0x47cbf0
mov dword [eax + 0xc], 0x47cca0
mov dword [eax + 0x10], 0x47cd60
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x70], 0x4cbd48
mov dword [eax + 0x74], 0x7e
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0
mov dword [ebx], eax
mov dword [eax], 0x465070
mov eax, dword [ebx]
push 0x18
mov dword [eax + 8], fcn.0040a580
call fcn.00497c04
add esp, 4
mov ecx, ebx
mov dword [eax + 8], 0x464a60
mov dword [eax + 0xc], 0x464ab0
mov dword [eax + 0x10], 0x464b00
mov dword [eax + 0x14], esi
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], 3
mov dword [esi + 0x40], 2
call fcn.0047c3e0
mov dword [esi + 0xf4], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret