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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x29b2799e
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x7c]
push eax
call fcn.29ad91f0
test eax, eax
je 0x29ad5720
lea ecx, [esp + 0x78]
push ecx
call fcn.29ad91f0
test eax, eax
je 0x29ad5720
lea edx, [esp + 0x8c]
push edx
call fcn.29ad91f0
test eax, eax
je 0x29ad5720
lea eax, [esp + 0x70]
push eax
call fcn.29ad91f0
test eax, eax
je 0x29ad5720
lea ecx, [esp + 0x14]
push ecx
mov eax, edi
call fcn.29ad9160
test eax, eax
je 0x29ad5720
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
and eax, 7
push edx
mov dword [esp + 0x88], eax
call fcn.29ad91b0
test eax, eax
je 0x29ad5720
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 2
and ecx, 3
mov dword [esp + 0x88], ecx
mov ecx, eax
shr ecx, 4
and ecx, 3
mov dword [esp + 0x90], ecx
mov ecx, eax
shr ecx, 6
and ecx, 1
mov dword [esp + 0x74], ecx
mov ecx, eax
shr ecx, 7
and ecx, 3
mov dword [esp + 0x80], ecx
mov ecx, eax
shr ecx, 9
and ecx, 1
mov dword [esp + 0x98], ecx
mov ecx, eax
mov esi, eax
shr ecx, 0xa
shr esi, 1
mov edx, eax
and ecx, 0x1f
and edx, 1
and esi, 1
test cl, 0x10
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x58], ecx
je 0x29ad4f9d
or ecx, 0xfffffff0
mov dword [esp + 0x58], ecx
xor ebp, ebp
shr eax, 0xf
and eax, 1
cmp edx, ebp
mov ebx, eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x6c], ebp
je 0x29ad5040
lea eax, [esp + 0x20]
push eax
call fcn.29ad91b0
test eax, eax
je 0x29ad5720
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 3
mov dword [esp + 0x5c], ecx
mov ecx, eax
shr ecx, 2
and ecx, 3
mov dword [esp + 0x60], ecx
mov ecx, eax
shr ecx, 4
and ecx, 3
mov dword [esp + 0x68], ecx
mov ecx, eax
shr ecx, 6
and ecx, 3
mov dword [esp + 0x6c], ecx
mov ecx, eax
shr ecx, 8
and ecx, 3
mov dword [esp + 0x54], ecx
mov ecx, eax
shr ecx, 0xa
and ecx, 3
mov dword [esp + 0x64], ecx
mov ecx, eax
shr ecx, 0xc
and ecx, 3
shr eax, 0xe
and eax, 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
cmp esi, ebp
je 0x29ad50a0
cmp ebx, ebp
jne 0x29ad50a0
lea esi, [esp + 0xa4]
mov eax, edi
call fcn.29ad9180
test eax, eax
je 0x29ad5720
lea esi, [esp + 0x9c]
mov eax, edi
call fcn.29ad9180
test eax, eax
je 0x29ad5720
lea esi, [esp + 0xa8]
mov eax, edi
call fcn.29ad9180
test eax, eax
je 0x29ad5720
lea esi, [esp + 0xa0]
mov eax, edi
call fcn.29ad9180
test eax, eax
je 0x29ad5720
lea ecx, [esp + 0x94]
push ecx
call fcn.29ad91f0
test eax, eax
je 0x29ad5720
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
mov dword [esp + 0x2f4], ebp
je 0x29ad50db
mov esi, eax
call fcn.29ace3a0
mov dword [esp + 0x10], eax
jmp 0x29ad50df
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x30c]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x2f4], 0xffffffff
mov dword [esp + 0x30], edi
jbe 0x29ad516e
jmp 0x29ad5100
mov edx, dword [esp + 0x308]
mov ebx, dword [edx + ebp*4]
mov eax, dword [esp + 0x2fc]
call fcn.29ad8de0
mov esi, eax
test esi, esi
je 0x29ad5145
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, 1
jne 0x29ad512d
add edi, dword [esi + 8]
jmp 0x29ad515e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp eax, 3
jne 0x29ad515e
mov eax, dword [esp + 0x10]
push esi
call fcn.29ace3c0
jmp 0x29ad515e
mov ecx, dword [esp + 0x2fc]
mov eax, dword [ecx]
push str.Invalid_segment_reference_in_JBIG2_text_region
call dword [eax + 0x20]
call fcn.29ab31e0
add esp, 4
mov eax, dword [esp + 0x30c]
inc ebp
cmp ebp, eax
jb 0x29ad5100
mov dword [esp + 0x30], edi
xor ecx, ecx
mov eax, 1
cmp edi, eax
mov dword [esp + 0x40], ecx
jbe 0x29ad518b
lea ecx, [ecx]
shl eax, 1
inc ecx
cmp eax, edi
jb 0x29ad5180
mov dword [esp + 0x40], ecx
push 4
push edi
call fcn.29ad1875
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x314]
add esp, 8
xor edi, edi
xor ebp, ebp
test eax, eax
jbe 0x29ad5203
lea esp, [esp]
mov ecx, dword [esp + 0x308]
mov ebx, dword [ecx + ebp*4]
mov eax, dword [esp + 0x2fc]
call fcn.29ad8de0
mov esi, eax
test esi, esi
je 0x29ad51f7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp eax, 1
jne 0x29ad51f7
mov ecx, dword [esi + 8]
xor eax, eax
test ecx, ecx
jbe 0x29ad51f7
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0xc]
mov edx, dword [edx + eax*4]
mov dword [ecx + edi*4], edx
mov edx, dword [esi + 8]
inc edi
inc eax
cmp eax, edx
jb 0x29ad51e5
mov eax, dword [esp + 0x30c]
inc ebp
cmp ebp, eax
jb 0x29ad51b0
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
xor edi, edi
xor eax, eax
cmp ebp, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
je 0x29ad53a0
mov ecx, dword [esp + 0x5c]
cmp ecx, edi
jne 0x29ad5249
mov dword [esp + 0x28], 0x29b7eed0
jmp 0x29ad5268
cmp ecx, 1
jne 0x29ad5258
mov dword [esp + 0x28], 0x29b7efc0
jmp 0x29ad5268
mov eax, dword [esi]
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov eax, 1
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x60]
cmp ecx, edi
jne 0x29ad527a
mov dword [esp + 0x18], 0x29b7f0c0
jmp 0x29ad52a5
cmp ecx, 1
jne 0x29ad5289
mov dword [esp + 0x18], 0x29b7f220
jmp 0x29ad52a5
cmp ecx, 2
jne 0x29ad5298
mov dword [esp + 0x18], 0x29b7f390
jmp 0x29ad52a5
mov edx, dword [esi]
mov ecx, dword [edx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
cmp ecx, edi
jne 0x29ad52b7
mov dword [esp + 0x1c], 0x29b7f4f0
jmp 0x29ad52e2
cmp ecx, 1
jne 0x29ad52c6
mov dword [esp + 0x1c], 0x29b7f5d0
jmp 0x29ad52e2
cmp ecx, 2
jne 0x29ad52d5
mov dword [esp + 0x1c], 0x29b7f6b0
jmp 0x29ad52e2
mov edx, dword [esi]
mov ecx, dword [edx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x6c]
cmp ecx, edi
mov edx, 0x29b7f790
mov ebx, 0x29b7f7f0
jne 0x29ad52fa
mov dword [esp + 0x34], edx
jmp 0x29ad5312
cmp ecx, 1
jne 0x29ad5305
mov dword [esp + 0x34], ebx
jmp 0x29ad5312
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x54]
cmp ecx, edi
jne 0x29ad5320
mov dword [esp + 0x24], edx
jmp 0x29ad5338
cmp ecx, 1
jne 0x29ad532b
mov dword [esp + 0x24], ebx
jmp 0x29ad5338
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x64]
cmp ecx, edi
jne 0x29ad5346
mov dword [esp + 0x2c], edx
jmp 0x29ad535e
cmp ecx, 1
jne 0x29ad5351
mov dword [esp + 0x2c], ebx
jmp 0x29ad535e
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x48]
cmp ecx, edi
jne 0x29ad536c
mov dword [esp + 0x38], edx
jmp 0x29ad5384
cmp ecx, 1
jne 0x29ad5377
mov dword [esp + 0x38], ebx
jmp 0x29ad5384
mov edx, dword [esi]
mov ecx, dword [edx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x4c], edi
jne 0x29ad5394
mov dword [esp + 0x3c], 0x29b7ec60
jmp 0x29ad53a0
mov edx, dword [esi]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
cmp esi, edi
je 0x29ad53b4
mov eax, esi
call fcn.29ad1e60
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebp, edi
je 0x29ad559f
mov ebp, dword [esp + 0x2fc]
mov eax, dword [ebp + 0x7c]
call fcn.29ac9b60
xor ebx, ebx
lea esi, [esp + 0xb0]
mov edi, dword [ebp + 0x7c]
mov eax, 4
mov dword [esi - 4], ebx
call fcn.29ad2580
mov dword [esi], eax
mov dword [esi + 4], 0
inc ebx
add esi, 0x10
cmp ebx, 0x20
jb 0x29ad53d4
mov ebx, dword [esp + 0x2fc]
mov edi, dword [ebx + 0x7c]
mov eax, 4
mov dword [esp + 0x2ac], 0x103
call fcn.29ad2580
mov edi, dword [ebx + 0x7c]
mov dword [esp + 0x2b0], eax
mov eax, 4
mov dword [esp + 0x2b4], 2
mov dword [esp + 0x2bc], 0x203
call fcn.29ad2580
mov edi, dword [ebx + 0x7c]
mov dword [esp + 0x2c0], eax
mov eax, 4
mov dword [esp + 0x2c4], 3
mov dword [esp + 0x2cc], 0x20b
call fcn.29ad2580
push 0x23
lea edx, [esp + 0xb0]
xor esi, esi
push edx
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], 7
mov dword [esp + 0x2e8], esi
mov dword [esp + 0x2ec], 0xffffffff
call fcn.29ad2650
mov edi, dword [esp + 0x30]
lea eax, [edi + 1]
push 0x10
push eax
call fcn.29ad1875
mov ebp, eax
add esp, 8
xor eax, eax
cmp edi, esi
jbe 0x29ad54cd
mov ecx, ebp
lea ebx, [ebx]
mov dword [ecx], eax
mov dword [ecx + 8], esi
inc eax
add ecx, 0x10
cmp eax, edi
jb 0x29ad54c0
xor esi, esi
test edi, edi
jbe 0x29ad5578
jmp 0x29ad54e0
mov eax, dword [ebx + 0x7c]
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.29ad2490
mov ecx, dword [esp + 0x10]
cmp ecx, 0x200
jle 0x29ad552d
sub ecx, 0x200
mov dword [esp + 0x10], ecx
je 0x29ad5570
mov eax, esi
shl eax, 4
lea eax, [eax + ebp + 4]
cmp esi, edi
jae 0x29ad5578
mov dword [eax], 0
inc esi
add eax, 0x10
dec ecx
mov dword [esp + 0x10], ecx
jne 0x29ad5516
jmp 0x29ad5570
cmp ecx, 0x100
jle 0x29ad5566
sub ecx, 0x100
mov dword [esp + 0x10], ecx
je 0x29ad5570
mov edx, esi
shl edx, 4
lea eax, [edx + ebp + 4]
lea ebx, [ebx]
cmp esi, edi
jae 0x29ad5578
mov edx, dword [eax - 0x10]
mov dword [eax], edx
inc esi
add eax, 0x10
dec ecx
mov dword [esp + 0x10], ecx
jne 0x29ad5550
jmp 0x29ad5570
mov eax, esi
shl eax, 4
mov dword [eax + ebp + 4], ecx
inc esi
cmp esi, edi
jb 0x29ad54e0
mov ecx, edi
shl ecx, 4
lea eax, [ecx + ebp]
push edi
push ebp
mov dword [eax + 4], 0
mov dword [eax + 8], 0xffffffff
call fcn.29ad2650
mov eax, dword [ebx + 0x7c]
call fcn.29ac9b60
jmp 0x29ad55be
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x2fc]
push edx
xor ebp, ebp
call fcn.29ad9060
mov eax, dword [edi + 0x38]
call fcn.29ad1f60
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x29ad55de
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2fc]
push eax
push ecx
xor ebx, ebx
call fcn.29ad8f70
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0xcc]
push eax
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0xd4]
push ebx
push eax
mov eax, dword [esp + 0xc4]
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0x35c]
push ecx
push edx
push eax
call fcn.29ad5750
push ebx
mov edi, eax
call fcn.29ad18fe
mov eax, dword [esp + 0x308]
add esp, 4
test eax, eax
je 0x29ad56f6
mov eax, dword [esp + 0x2fc]
cmp dword [eax + 0x10], 0xffffffff
jne 0x29ad56c9
mov ecx, dword [esp + 0x70]
add esi, ecx
cmp esi, dword [eax + 0x14]
jbe 0x29ad56c9
mov edx, dword [eax + 0x18]
mov ebx, esi
mov esi, dword [eax + 0x1c]
push edx
call fcn.29ad2e70
mov eax, dword [esp + 0x2fc]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [eax + 0x1c]
push ecx
push edi
push edx
call fcn.29ad3020
test edi, edi
je 0x29ad5710
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x29ad5710
mov ecx, dword [esp + 0x300]
mov edx, dword [esp + 0x2fc]
mov dword [edi + 4], ecx
mov eax, dword [edx + 0x24]
push edi
call fcn.29ace3c0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x29ad5734
push ebp
call fcn.29ad18fe
jmp 0x29ad5731
mov eax, dword [edi]
push str.Unexpected_EOF_in_JBIG2_stream
mov ecx, edi
call dword [eax + 0x20]
call fcn.29ab31e0
add esp, 4
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2e8
ret 0x14