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

Disassembly:
sub esp, 0x130
push esi
mov esi, eax
cmp dword [esi + 0x8c], 1
jne 0x29aea792
mov ecx, dword [esi + 0xc0]
xor eax, eax
test ecx, ecx
jle 0x29aea774
lea ecx, [esi + 0x7c]
cmp dword [ecx], 0
jne 0x29aea774
mov edx, dword [esi + 0xc0]
inc eax
add ecx, 4
cmp eax, edx
jl 0x29aea761
lea eax, [eax + eax*4]
lea ecx, [esi + eax*4]
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ecx + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x20]
cdq
idiv dword [ecx + 0x34]
mov dword [esp + 0x10], eax
jmp 0x29aea7a0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 0x18]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x29aeabeb
push ebx
push ebp
push edi
jmp 0x29aea7c0
mov ecx, dword [esi + 0x14]
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x29aeabb4
mov eax, dword [esi + 0xd0]
test eax, eax
jle 0x29aea81b
mov eax, dword [esi + 0xfb0]
test eax, eax
jne 0x29aea81b
call fcn.29aec640
mov ecx, dword [esi + 0xfb4]
cmp eax, ecx
jne 0x29aeabd4
lea eax, [ecx + 1]
cmp eax, 0xd8
mov dword [esi + 0xfb4], eax
jne 0x29aea814
mov dword [esi + 0xfb4], 0xd0
mov eax, esi
call fcn.29ae9fd0
mov eax, dword [esi + 0xc0]
test eax, eax
mov dword [esp + 0x34], 0
jle 0x29aeab8a
lea ebp, [esi + 0xa0]
lea ecx, [esi + 0x3c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x29aeab65
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ecx - 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x20]
cdq
idiv dword [ecx - 8]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov ebx, eax
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x1c]
sar edi, 3
test eax, eax
mov dword [esp + 0x3c], ebx
jle 0x29aeab61
mov edx, dword [esp + 0x10]
xor eax, eax
test edx, edx
mov dword [esp + 0x28], eax
jle 0x29aeab4f
mov edx, dword [esp + 0x20]
add ecx, edx
mov dword [esp + 0x30], ecx
mov edi, edi
mov ecx, dword [esi + 0x24]
mov ebx, dword [esp + 0x14]
mov edx, ecx
imul ecx, edi
imul edx, dword [esp + 0x30]
add edx, eax
mov eax, dword [ebp + 0xef0]
add edx, ebx
shl ecx, 2
lea eax, [eax + edx*4]
mov edx, ecx
lea ecx, [esp + 0x44]
mov ebx, 2
lea esp, [esp]
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
add ecx, 0x80
dec ebx
jne 0x29aea8d0
mov eax, dword [esi + 0xc]
test eax, eax
mov ebp, dword [esp + 0x24]
je 0x29aea9e3
mov ecx, dword [ebp]
mov eax, dword [ebp - 0x10]
imul ecx, ecx, 0x156
imul eax, eax, 0x156
lea edx, [ecx + esi + 0x830]
lea ecx, [eax + esi + 0x2d8]
mov eax, dword [esp + 0x18]
push edx
push ecx
lea ebx, [esp + 0x48]
mov ecx, esi
call fcn.29aeace0
jmp 0x29aeaa14
mov eax, dword [ebp]
lea edx, [esp + 0x40]
imul eax, eax, 0x156
push edx
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x156
lea ecx, [eax + esi + 0x830]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [edx + esi + 0x2d8]
mov ebx, esi
call fcn.29aeac00
test eax, eax
je 0x29aeabe8
mov eax, dword [esi + 0x24]
imul eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
add eax, edx
add eax, ecx
mov ecx, dword [ebp + 0xef0]
lea ecx, [ecx + eax*4]
lea eax, [esp + 0x44]
mov edx, 2
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
add eax, 0x80
dec edx
lea ecx, [ecx + ebx*4]
jne 0x29aeaa42
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x29aea8a0
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
add ecx, ebx
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jl 0x29aea882
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 0xc0]
inc eax
add ecx, 0x14
add ebp, 4
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebp
jl 0x29aea842
mov edi, dword [esi + 0xfb0]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
dec edi
mov dword [esi + 0xfb0], edi
mov ecx, dword [esi + 0x14]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x29aea7d3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x29aea7c0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x130
ret
mov edx, dword [esi]
push str.Bad_DCT_data:_incorrect_restart_marker
mov ecx, esi
call dword [edx + 0x20]
call fcn.29ab31e0
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x130
ret