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

Disassembly:
sub esp, 0x130
xor edx, edx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x5eaa99
lea edi, [esi + 0x34]
lea eax, [esi + 0x8c]
mov ebx, dword [eax - 0x14]
test ebx, ebx
je 0x5eaa82
mov ebx, dword [eax]
mov ebp, dword [esi + 0xd84]
cmp ebx, ebp
jge 0x5eaad4
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x5eaa75
mov ebx, dword [esi + 0xb0]
test ebx, ebx
jle 0x5eaa82
mov ebx, dword [eax + 0x10]
mov ebp, dword [esi + 0xd88]
cmp ebx, ebp
jge 0x5eaad4
mov ebx, dword [edi]
mov ebp, dword [esi + 0x2d0]
cmp ebx, ebp
jg 0x5eaade
inc edx
add eax, 4
add edi, 0x14
cmp edx, ecx
jl 0x5eaa51
cmp dword [esi + 0x88], 1
jne 0x5eaaef
xor eax, eax
test ecx, ecx
jle 0x5eaab8
lea edx, [esi + 0x78]
cmp dword [edx], 0
jne 0x5eaab8
inc eax
add edx, 4
cmp eax, ecx
jl 0x5eaaab
lea eax, [eax + eax*4]
lea ecx, [esi + eax*4]
mov eax, dword [esi + 0x18]
cdq
idiv dword [ecx + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ecx + 0x30]
mov ebp, eax
jmp 0x5eaaf9
push str.Bad_DCT_data:_invalid_Huffman_table_index
jmp 0x5eadf7
mov edx, dword [esi]
push str.Bad_DCT_data:_invalid_quant_table_index
mov ecx, esi
call dword [edx + 0x30]
jmp 0x5eadfe
mov ecx, dword [esi + 0x18]
mov ebp, dword [esi + 0x1c]
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x34], ebp
test eax, eax
mov dword [esp + 0x24], 0
jle 0x5eae09
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x5eadd2
mov eax, dword [esi + 0xcc]
test eax, eax
jle 0x5eab6d
mov eax, dword [esi + 0xdb4]
test eax, eax
jne 0x5eab6d
mov ecx, esi
call fcn.005ecc30
mov ecx, dword [esi + 0xdb8]
cmp eax, ecx
jne 0x5eadf2
lea eax, [ecx + 1]
cmp eax, 0xd8
mov dword [esi + 0xdb8], eax
jne 0x5eab66
mov dword [esi + 0xdb8], 0xd0
mov ecx, esi
call fcn.005ea030
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x2c], 0
test eax, eax
jle 0x5eadac
lea edi, [esi + 0x9c]
lea ebx, [esi + 0x38]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebx
mov eax, dword [edi - 0x24]
test eax, eax
je 0x5ead87
mov eax, dword [esi + 0x18]
mov dword [esp + 0x30], 0
cdq
idiv dword [ebx - 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ebx - 8]
mov ecx, eax
cdq
and edx, 7
mov dword [esp + 0x3c], ecx
add eax, edx
sar eax, 3
test ebp, ebp
mov dword [esp + 0x28], eax
jle 0x5ead87
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x5ead67
add edi, 0xcfc
mov ecx, dword [esi + 0x20]
mov ebp, dword [esp + 0x1c]
mov eax, ecx
imul ecx, dword [esp + 0x28]
imul eax, dword [esp + 0x20]
mov edx, dword [edi]
add eax, ebx
add eax, ebp
shl ecx, 2
lea eax, [edx + eax*4]
mov edi, ecx
lea ecx, [esp + 0x44]
mov edx, 8
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
add eax, edi
add ecx, 0x20
dec edx
jne 0x5eac1a
mov eax, dword [esi + 8]
test eax, eax
je 0x5eac9d
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
push ecx
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
lea eax, [eax + eax*8]
lea ecx, [esi + eax*2 + 0x82c]
mov eax, dword [edi - 0x10]
push ecx
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
lea eax, [eax + eax*8]
lea ecx, [esi + eax*2 + 0x2d4]
push ecx
mov ecx, esi
call fcn.005eaf10
test eax, eax
je 0x5eae09
jmp 0x5eace1
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [edi]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
lea edx, [eax + eax*8]
lea eax, [esi + edx*2 + 0x82c]
push eax
mov eax, dword [edi - 0x10]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, esi
lea edx, [eax + eax*8]
lea eax, [esi + edx*2 + 0x2d4]
push eax
call fcn.005eae20
test eax, eax
je 0x5eae09
mov ecx, dword [esi + 0x20]
mov eax, dword [esp + 0x1c]
imul ecx, dword [esp + 0x20]
mov edx, dword [edi + 0xcfc]
add edi, 0xcfc
add ecx, ebx
add ecx, eax
lea eax, [edx + ecx*4]
lea ecx, [esp + 0x44]
mov edx, 8
mov ebp, dword [ecx - 4]
add ecx, 0x20
mov dword [eax], ebp
mov ebp, dword [ecx - 0x20]
mov dword [eax + 4], ebp
mov ebp, dword [ecx - 0x1c]
mov dword [eax + 8], ebp
mov ebp, dword [ecx - 0x18]
mov dword [eax + 0xc], ebp
mov ebp, dword [ecx - 0x14]
mov dword [eax + 0x10], ebp
mov ebp, dword [ecx - 0x10]
mov dword [eax + 0x14], ebp
mov ebp, dword [ecx - 0xc]
mov dword [eax + 0x18], ebp
mov ebp, dword [ecx - 8]
mov dword [eax + 0x1c], ebp
mov ebp, dword [esi + 0x20]
imul ebp, dword [esp + 0x28]
dec edx
lea eax, [eax + ebp*4]
jne 0x5ead09
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
add ebx, ecx
cmp ebx, eax
jl 0x5eabf0
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
add eax, ecx
add ebx, ecx
cmp eax, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebx
jl 0x5eabdc
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xbc]
inc eax
add ebx, 0x14
add edi, 4
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
jl 0x5eab94
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, dword [esi + 0xdb4]
mov ecx, dword [esi + 0x10]
add eax, edx
dec edi
cmp eax, ecx
mov dword [esi + 0xdb4], edi
mov dword [esp + 0x1c], eax
jl 0x5eab23
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x14]
add eax, ebp
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x5eab10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
push str.Bad_DCT_data:_incorrect_restart_marker
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push eax
push 1
call fcn.006033f0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret