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

Disassembly:
sub esp, 0x130
cmp dword [esi + 0x8c], 1
jne 0x1009e49e
xor eax, eax
cmp dword [esi + 0xc0], eax
jle 0x1009e481
lea ecx, [esi + 0x7c]
lea esp, [esp]
cmp dword [ecx], 0
jne 0x1009e481
inc eax
add ecx, 4
cmp eax, dword [esi + 0xc0]
jl 0x1009e470
lea eax, [eax + eax*4]
lea ecx, [esi + eax*4]
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ecx + 0x30]
mov dword [esp], eax
mov eax, dword [esi + 0x20]
cdq
idiv dword [ecx + 0x34]
mov dword [esp + 0xc], eax
jmp 0x1009e4ab
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov dword [esp], ecx
mov dword [esp + 0xc], edx
xor eax, eax
cmp dword [esi + 0x18], eax
mov dword [esp + 0x10], eax
jle 0x1009e935
push ebx
push ebp
push edi
lea ecx, [ecx]
cmp dword [esi + 0x14], 0
mov dword [esp + 0x10], 0
jle 0x1009e8ff
cmp dword [esi + 0xd0], 0
jle 0x1009e57a
cmp dword [esi + 0xfb0], 0
jne 0x1009e57a
lea esp, [esp]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp eax, 0xff
je 0x1009e508
cmp eax, 0xffffffff
jne 0x1009e4f0
jmp 0x1009e51d
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp eax, 0xff
je 0x1009e508
test eax, eax
je 0x1009e4f0
mov ecx, dword [esi + 0xfb4]
cmp eax, ecx
jne 0x1009e91a
lea eax, [ecx + 1]
mov dword [esi + 0xfb4], eax
cmp eax, 0xd8
jne 0x1009e545
mov dword [esi + 0xfb4], 0xd0
mov eax, dword [esi + 0xd0]
xor edx, edx
mov dword [esi + 0xfb0], eax
xor eax, eax
cmp dword [esi + 0xc0], edx
mov dword [esi + 0xfc0], edx
jle 0x1009e574
lea ecx, [esi + 0x3c]
mov dword [ecx], edx
inc eax
add ecx, 0x14
cmp eax, dword [esi + 0xc0]
jl 0x1009e566
mov dword [esi + 0xfb8], edx
cmp dword [esi + 0xc0], 0
mov dword [esp + 0x30], 0
jle 0x1009e8e0
lea ebp, [esi + 0xa0]
lea ecx, [esi + 0x3c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ecx
cmp dword [ebp - 0x24], 0
je 0x1009e8bd
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ecx - 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x20]
cdq
idiv dword [ecx - 8]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov ebx, eax
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
cmp dword [esp + 0x18], ecx
mov dword [esp + 0x38], ebx
jle 0x1009e8b9
lea ecx, [ecx]
xor eax, eax
cmp dword [esp + 0xc], eax
mov dword [esp + 0x24], eax
jle 0x1009e8a9
mov edx, dword [esp + 0x1c]
add ecx, edx
mov dword [esp + 0x2c], ecx
lea ebx, [ebx]
mov ecx, dword [esi + 0x24]
imul ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0xef0]
add ecx, eax
add ecx, dword [esp + 0x10]
mov ebx, 2
lea eax, [edx + ecx*4]
mov edx, dword [esi + 0x24]
imul edx, edi
add edx, edx
add edx, edx
lea ecx, [esp + 0x40]
lea ebx, [ebx]
mov ebp, dword [eax]
mov dword [ecx - 4], ebp
mov ebp, dword [eax + 4]
mov dword [ecx], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 8], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0xc], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x10], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x14], ebp
mov ebp, dword [eax + 0x1c]
mov dword [ecx + 0x18], ebp
mov ebp, dword [eax + edx]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [eax + edx + 4]
mov dword [ecx + 0x20], ebp
mov ebp, dword [eax + edx + 8]
add eax, edx
mov dword [ecx + 0x24], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 0x28], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x2c], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x30], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x34], ebp
mov ebp, dword [eax + 0x1c]
mov dword [ecx + 0x38], ebp
mov ebp, dword [eax + edx]
mov dword [ecx + 0x3c], ebp
mov ebp, dword [eax + edx + 4]
add eax, edx
mov dword [ecx + 0x40], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 0x44], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 0x48], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x4c], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x50], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x54], ebp
mov ebp, dword [eax + 0x1c]
add eax, edx
mov dword [ecx + 0x58], ebp
mov ebp, dword [eax]
mov dword [ecx + 0x5c], ebp
mov ebp, dword [eax + 4]
mov dword [ecx + 0x60], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 0x64], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 0x68], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x6c], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x70], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x74], ebp
mov ebp, dword [eax + 0x1c]
mov dword [ecx + 0x78], ebp
add eax, edx
sub ecx, 0xffffff80
sub ebx, 1
jne 0x1009e630
mov ebp, dword [esp + 0x20]
cmp dword [esi + 0xc], ebx
je 0x1009e73e
mov eax, dword [ebp]
mov edx, dword [ebp - 0x10]
imul eax, eax, 0x156
imul edx, edx, 0x156
lea ecx, [eax + esi + 0x830]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [edx + esi + 0x2d8]
push esi
lea ebx, [esp + 0x44]
call fcn.1009ea20
jmp 0x1009e76f
mov ecx, dword [ebp]
lea eax, [esp + 0x3c]
imul ecx, ecx, 0x156
push eax
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x156
lea edx, [ecx + esi + 0x830]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [eax + esi + 0x2d8]
mov ebx, esi
call fcn.1009e940
test eax, eax
je 0x1009e932
mov ecx, dword [esi + 0x24]
imul ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0xef0]
add ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
lea ecx, [edx + ecx*4]
mov edx, 2
lea esp, [esp]
mov ebx, dword [eax - 4]
mov dword [ecx], ebx
mov ebx, dword [eax]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 0xc], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0x10], ebx
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0x14], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 0x18], ebx
mov ebx, dword [eax + 0x18]
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esi + 0x24]
imul ebx, edi
lea ecx, [ecx + ebx*4]
mov ebx, dword [eax + 0x1c]
mov dword [ecx], ebx
mov ebx, dword [eax + 0x20]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 0x24]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 0x28]
mov dword [ecx + 0xc], ebx
mov ebx, dword [eax + 0x2c]
mov dword [ecx + 0x10], ebx
mov ebx, dword [eax + 0x30]
mov dword [ecx + 0x14], ebx
mov ebx, dword [eax + 0x34]
mov dword [ecx + 0x18], ebx
mov ebx, dword [eax + 0x38]
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esi + 0x24]
imul ebx, edi
lea ecx, [ecx + ebx*4]
mov ebx, dword [eax + 0x3c]
mov dword [ecx], ebx
mov ebx, dword [eax + 0x40]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 0x44]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 0x48]
mov dword [ecx + 0xc], ebx
mov ebx, dword [eax + 0x4c]
mov dword [ecx + 0x10], ebx
mov ebx, dword [eax + 0x50]
mov dword [ecx + 0x14], ebx
mov ebx, dword [eax + 0x54]
mov dword [ecx + 0x18], ebx
mov ebx, dword [eax + 0x58]
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esi + 0x24]
imul ebx, edi
lea ecx, [ecx + ebx*4]
mov ebx, dword [eax + 0x5c]
mov dword [ecx], ebx
mov ebx, dword [eax + 0x60]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 0x64]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 0x68]
mov dword [ecx + 0xc], ebx
mov ebx, dword [eax + 0x6c]
mov dword [ecx + 0x10], ebx
mov ebx, dword [eax + 0x70]
mov dword [ecx + 0x14], ebx
mov ebx, dword [eax + 0x74]
mov dword [ecx + 0x18], ebx
mov ebx, dword [eax + 0x78]
mov dword [ecx + 0x1c], ebx
mov ebx, dword [esi + 0x24]
imul ebx, edi
sub eax, 0xffffff80
sub edx, 1
lea ecx, [ecx + ebx*4]
jne 0x1009e7a0
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x34]
cmp eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
jl 0x1009e600
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
add ecx, ebx
cmp ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
jl 0x1009e5e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
inc eax
add ecx, 0x14
add ebp, 4
cmp eax, dword [esi + 0xc0]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ebp
jl 0x1009e5a0
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0xc]
dec dword [esi + 0xfb0]
cmp eax, dword [esi + 0x14]
mov dword [esp + 0x10], eax
jl 0x1009e4d2
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x18]
mov dword [esp + 0x1c], eax
jl 0x1009e4c0
pop edi
pop ebp
pop ebx
add esp, 0x130
ret
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push str.Bad_DCT_data:_incorrect_restart_marker
mov ecx, esi
call edx
mov edx, eax
call fcn.1001d950
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x130
ret