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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bccf8
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.00498710
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.0049f4df
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x464191
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.0047c520
mov dword [esi + 4], fcn.0047c660
mov dword [esi + 8], fcn.0047c730
mov dword [esi + 0xc], fcn.0047c7f0
mov dword [esi + 0x10], 0x47c8b0
mov dword [esi + 0x14], 0x47c920
mov dword [esi + 0x18], 0x47c990
mov dword [esi + 0x1c], 0x47cc80
mov dword [esi + 0x20], 0x47cdd0
mov dword [esi + 0x24], fcn.0047cf20
mov dword [esi + 0x28], 0x47d030
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.004b3b76
add esp, 4
test eax, eax
je 0x46426b
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.0047c4f0
add esp, 0x10
test eax, eax
jle 0x46426b
mov al, byte [ebp - 0xd]
cmp al, 0x6d
je 0x46425b
cmp al, 0x4d
mov eax, dword [ebp - 0x14]
jne 0x464262
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 [0x4e1540]
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], 0x4ca0e8
mov dword [ebx + 0x174], 0x3f
mov dword [ebx + 0x19c], 0
movsd qword [ebx + 0x30], xmm0
mov dword [ebx + 0x14], 0x64
mov dword [eax], 0x47c180
mov dword [eax + 4], 0x47c210
mov dword [eax + 8], 0x47c1b0
mov dword [eax + 0xc], 0x47c260
mov dword [eax + 0x10], 0x47c320
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x70], 0x4c9d38
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], 0x464630
mov eax, dword [ebx]
push 0x18
mov dword [eax + 8], fcn.0040a770
call fcn.004971c4
add esp, 4
mov ecx, ebx
mov dword [eax + 8], 0x464020
mov dword [eax + 0xc], 0x464070
mov dword [eax + 0x10], 0x4640c0
mov dword [eax + 0x14], esi
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], 3
mov dword [esi + 0x40], 2
call fcn.0047b9a0
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