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

Disassembly:
push 0xffffffffffffffff
push 0x29b2850b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x74]
push edi
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x70], edi
je 0x29ad6670
mov ecx, dword [esp + 0x84]
push ebp
push eax
xor edx, edx
call fcn.29ad2c10
mov ebx, eax
jmp 0x29ad6672
xor ebx, ebx
mov edx, ebx
mov dword [esp + 0x70], 0xffffffff
call fcn.29ad2ee0
cmp dword [esp + 0x7c], edi
je 0x29ad6c5a
mov eax, dword [esi + 0x80]
call fcn.29ad27f0
lea esi, [ebp + 2]
push 4
push esi
call fcn.29ad1875
mov edi, eax
push 4
push esi
mov dword [esp + 0x8c], edi
call fcn.29ad1875
mov dword [esp + 0xac], eax
mov dword [eax + 4], ebp
mov dword [eax], ebp
mov eax, dword [esp + 0x94]
add esp, 0x10
test eax, eax
mov dword [esp + 0x8c], 0
jle 0x29ad6bf2
jmp 0x29ad66e0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov ebp, dword [esp + 0x80]
xor edx, edx
cmp ecx, ebp
jge 0x29ad670e
mov esi, edi
sub esi, eax
lea ebx, [ebx]
mov dword [esi + eax], ecx
mov ecx, dword [eax + 4]
add eax, 4
inc edx
cmp ecx, ebp
jl 0x29ad6700
mov dword [edi + edx*4 + 4], ebp
mov dword [edi + edx*4], ebp
xor ebp, ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
jmp 0x29ad6730
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x80]
call fcn.29ad2800
cmp eax, 8
ja case.default.0x29ad6748
jmp dword [eax*4 + 0x29ad759c]
mov ecx, dword [esp + 0x80]
cmp dword [edi + ebp*4], ecx
jge 0x29ad6b38
mov edx, dword [edi + ebp*4 + 4]
mov dword [esp + 0x98], edx
add ebp, 2
jmp 0x29ad6b38
test byte [esp + 0x94], 1
mov dword [esp + 0x90], 0
je 0x29ad67f0
jmp 0x29ad6790
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x80]
call fcn.29ad29c0
mov edx, dword [esp + 0x90]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x90], edx
jge 0x29ad6790
mov dword [esp + 0x88], 0
nop
mov ecx, dword [esp + 0x78]
mov esi, dword [ecx + 0x80]
call fcn.29ad28c0
mov edx, dword [esp + 0x88]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x88], edx
jge 0x29ad67c0
jmp 0x29ad6844
mov edx, dword [esp + 0x78]
mov esi, dword [edx + 0x80]
call fcn.29ad28c0
mov edx, dword [esp + 0x90]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x90], edx
jge 0x29ad67f0
mov dword [esp + 0x88], 0
nop
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x80]
call fcn.29ad29c0
mov edx, dword [esp + 0x88]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x88], edx
jge 0x29ad6820
mov eax, dword [esp + 0x90]
test eax, eax
jg 0x29ad685e
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x29ad6b38
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x88]
add ecx, edx
mov edx, dword [esp + 0x9c]
mov dword [edx + eax*4], ecx
inc eax
add ecx, esi
mov dword [edx + eax*4], ecx
inc eax
mov dword [esp + 0x94], eax
mov eax, dword [edi + ebp*4]
cmp eax, ecx
mov dword [esp + 0x98], ecx
jg 0x29ad6b38
jmp 0x29ad68b0
cmp eax, dword [esp + 0x80]
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 8]
mov ecx, dword [esp + 0x98]
add ebp, 2
cmp eax, ecx
jle 0x29ad68b0
jmp 0x29ad6b38
mov eax, dword [edi + ebp*4]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x9c]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x94], ecx
cmp dword [edi + ebp*4], eax
jge 0x29ad6b38
inc ebp
jmp 0x29ad6b38
mov eax, dword [edi + ebp*4]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x9c]
inc eax
mov dword [ecx + edx*4], eax
inc edx
mov ecx, eax
mov eax, dword [edi + ebp*4]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x80]
cmp eax, edx
mov dword [esp + 0x98], ecx
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 4]
inc ebp
cmp eax, ecx
jg 0x29ad6b38
cmp eax, edx
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 8]
add ebp, 2
cmp eax, ecx
jle 0x29ad6952
jmp 0x29ad6b38
mov eax, dword [edi + ebp*4]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x9c]
add eax, 2
mov dword [ecx + edx*4], eax
inc edx
mov ecx, eax
mov eax, dword [edi + ebp*4]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x80]
cmp eax, edx
mov dword [esp + 0x98], ecx
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 4]
inc ebp
cmp eax, ecx
jg 0x29ad6b38
cmp eax, edx
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 8]
add ebp, 2
cmp eax, ecx
jle 0x29ad69b1
jmp 0x29ad6b38
mov eax, dword [edi + ebp*4]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x9c]
add eax, 3
mov dword [ecx + edx*4], eax
inc edx
mov ecx, eax
mov eax, dword [edi + ebp*4]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x80]
cmp eax, edx
mov dword [esp + 0x98], ecx
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 4]
inc ebp
cmp eax, ecx
jg 0x29ad6b38
cmp eax, edx
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 8]
add ebp, 2
cmp eax, ecx
jle 0x29ad6a10
jmp 0x29ad6b38
mov eax, dword [edi + ebp*4]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x9c]
dec eax
mov dword [ecx + edx*4], eax
inc edx
test ebp, ebp
mov ecx, eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], edx
jle 0x29ad6a55
dec ebp
jmp 0x29ad6a56
inc ebp
mov eax, dword [edi + ebp*4]
cmp eax, ecx
jg 0x29ad6b38
mov edx, dword [esp + 0x80]
cmp eax, edx
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 8]
add ebp, 2
cmp eax, ecx
jle 0x29ad6a68
jmp 0x29ad6b38
mov eax, dword [edi + ebp*4]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x9c]
add eax, 0xfffffffe
mov dword [ecx + edx*4], eax
inc edx
test ebp, ebp
mov ecx, eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], edx
jle 0x29ad6aaf
dec ebp
jmp 0x29ad6ab0
inc ebp
mov eax, dword [edi + ebp*4]
cmp eax, ecx
jg 0x29ad6b38
mov edx, dword [esp + 0x80]
cmp eax, edx
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 8]
add ebp, 2
cmp eax, ecx
jle 0x29ad6ac2
jmp 0x29ad6b38
mov eax, dword [edi + ebp*4]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x9c]
add eax, 0xfffffffd
mov dword [ecx + edx*4], eax
inc edx
test ebp, ebp
mov ecx, eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], edx
jle 0x29ad6b02
dec ebp
jmp 0x29ad6b03
inc ebp
mov eax, dword [edi + ebp*4]
cmp eax, ecx
jg 0x29ad6b38
mov edx, dword [esp + 0x80]
cmp eax, edx
jge 0x29ad6b38
mov eax, dword [edi + ebp*4 + 8]
add ebp, 2
cmp eax, ecx
jle 0x29ad6b11
jmp 0x29ad6b38
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
push str.Illegal_code_in_JBIG2_MMR_bitmap_data
call dword [edx + 0x20]
call fcn.29ab31e0
add esp, 4
mov edx, dword [esp + 0x80]
cmp dword [esp + 0x98], edx
jl 0x29ad6730
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x9c]
mov dword [eax + ecx*4], edx
cmp dword [eax], edx
jge 0x29ad6bd4
mov ecx, eax
mov dword [esp + 0x94], ecx
lea ebx, [ebx]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
jge 0x29ad6bc1
jmp 0x29ad6b80
mov edx, dword [ebx + 0x10]
imul edx, dword [esp + 0x8c]
mov ecx, esi
sar ecx, 3
add edx, ecx
mov ecx, dword [ebx + 0x14]
lea ebp, [edx + ecx]
mov edx, esi
and edx, 7
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
or byte [ebp], dl
mov ecx, dword [eax + 4]
inc esi
cmp esi, ecx
jl 0x29ad6b80
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
mov esi, dword [ecx + 8]
add ecx, 8
cmp esi, edx
mov dword [esp + 0x94], ecx
mov eax, ecx
jl 0x29ad6b70
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
inc eax
cmp eax, ecx
mov dword [esp + 0x8c], eax
jl 0x29ad66e0
mov eax, dword [esp + 0xa0]
test eax, eax
jl 0x29ad6c14
mov edi, eax
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x80]
call fcn.29ad2b50
mov edi, dword [esp + 0x7c]
jmp 0x29ad6c3f
mov ebp, dword [esp + 0x78]
mov esi, dword [ebp + 0x80]
call fcn.29ad2b00
cmp eax, 0x1001
je 0x29ad6c3f
mov edx, dword [ebp]
push str.Missing_EOFB_in_JBIG2_MMR_bitmap_data
mov ecx, ebp
call dword [edx + 0x20]
call fcn.29ab31e0
add esp, 4
push edi
call fcn.29ad18fe
mov eax, dword [esp + 0xa0]
push eax
call fcn.29ad18fe
add esp, 8
jmp 0x29ad7583
cmp dword [esp + 0x8c], edi
mov dword [esp + 0x18], edi
je case.default.0x29ad6c73
mov eax, dword [esp + 0x88]
cmp eax, 3
ja case.default.0x29ad6c73
jmp dword [eax*4 + 0x29ad75c0]
mov dword [esp + 0x18], 0x3953
jmp case.default.0x29ad6c73
mov dword [esp + 0x18], 0x79a
jmp case.default.0x29ad6c73
mov dword [esp + 0x18], 0xe3
jmp case.default.0x29ad6c73
mov dword [esp + 0x18], 0x18a
mov eax, dword [esp + 0x84]
xor ebp, ebp
cmp eax, edi
mov dword [esp + 0x1c], ebp
jle 0x29ad7583
jmp 0x29ad6cc0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x78]
nop
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x29ad6d01
mov ecx, dword [esi + 0x3c]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x38]
call fcn.29ad2090
test eax, eax
je 0x29ad6cec
xor edx, edx
test ebp, ebp
sete dl
mov ebp, edx
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x29ad6d01
lea eax, [edi - 1]
push eax
push edi
mov eax, ebx
call fcn.29ad2ff0
jmp case.default.0x29ad6d13
mov eax, dword [esp + 0x88]
cmp eax, 3
ja case.default.0x29ad6d13
mov ecx, eax
jmp dword [ecx*4 + 0x29ad75d0]
lea eax, [edi - 2]
xor ebp, ebp
cmp eax, ebp
jl 0x29ad6d48
cmp eax, dword [ebx + 0xc]
jge 0x29ad6d48
cmp dword [ebx + 8], ebp
jle 0x29ad6d48
mov edx, dword [ebx + 0x10]
imul edx, eax
add edx, dword [ebx + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], ebp
jmp 0x29ad6d4c
mov dword [esp + 0x2c], ebp
push ebx
lea edx, [esp + 0x30]
call fcn.29ad2f80
push ebx
lea edx, [esp + 0x30]
mov esi, eax
call fcn.29ad2f80
lea ecx, [esi + esi]
or eax, ecx
mov dword [esp + 0x10], eax
lea eax, [edi - 1]
cmp eax, ebp
jl 0x29ad6d97
cmp eax, dword [ebx + 0xc]
jge 0x29ad6d97
cmp dword [ebx + 8], ebp
jle 0x29ad6d97
mov edx, dword [ebx + 0x10]
imul edx, eax
add edx, dword [ebx + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x28], ebp
jmp 0x29ad6d9b
mov dword [esp + 0x20], ebp
push ebx
lea edx, [esp + 0x24]
call fcn.29ad2f80
push ebx
lea edx, [esp + 0x24]
mov ebp, eax
call fcn.29ad2f80
mov esi, eax
lea eax, [ebp + ebp]
push ebx
lea edx, [esp + 0x24]
or esi, eax
call fcn.29ad2f80
lea ecx, [esi + esi]
mov esi, dword [esp + 0x9c]
mov edx, dword [esi]
mov ebp, eax
or ebp, ecx
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
add edx, edi
push edx
lea eax, [esp + 0x3c]
mov edx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x80], 0
call fcn.29ad2f20
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 4]
add edx, edi
push edx
lea eax, [esp + 0x48]
mov edx, ebx
call fcn.29ad2f20
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 8]
add edx, edi
push edx
lea eax, [esp + 0x54]
mov edx, ebx
call fcn.29ad2f20
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 0xc]
add edx, edi
push edx
lea eax, [esp + 0x60]
mov edx, ebx
call fcn.29ad2f20
mov eax, dword [esp + 0x80]
test eax, eax
mov dword [esp + 0xa0], 0
jle case.default.0x29ad6d13
push ebx
lea edx, [esp + 0x3c]
call fcn.29ad2f80
mov edx, dword [esp + 0x10]
shl edx, 5
or edx, ebp
mov ebp, dword [esp + 0x7c]
shl edx, 4
or edx, ebp
shl edx, 1
mov esi, eax
or esi, edx
push ebx
lea edx, [esp + 0x48]
shl esi, 1
call fcn.29ad2f80
or esi, eax
push ebx
lea edx, [esp + 0x54]
shl esi, 1
call fcn.29ad2f80
or esi, eax
push ebx
lea edx, [esp + 0x60]
shl esi, 1
call fcn.29ad2f80
or esi, eax
mov eax, dword [esp + 0x90]
test eax, eax
je 0x29ad6f02
mov eax, dword [esp + 0xa0]
test eax, eax
jl 0x29ad6f02
mov ecx, dword [esp + 0x94]
cmp eax, dword [ecx + 8]
jge 0x29ad6f02
test edi, edi
jl 0x29ad6f02
cmp edi, dword [ecx + 0xc]
jge 0x29ad6f02
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
imul edx, edi
mov ebp, eax
sar ebp, 3
add edx, ebp
movzx ebp, byte [edx + ecx]
xor ecx, ecx
and al, 7
mov cl, 7
sub cl, al
shr ebp, cl
and ebp, 1
je 0x29ad6f02
xor esi, esi
jmp 0x29ad6f45
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x38]
push edx
mov eax, esi
call fcn.29ad2090
mov esi, eax
test esi, esi
je 0x29ad6f45
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0xa0]
imul ecx, edi
mov edx, eax
sar edx, 3
add ecx, edx
mov edx, dword [ebx + 0x14]
lea ebp, [ecx + edx]
and eax, 7
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
or byte [ebp], al
push ebx
lea edx, [esp + 0x30]
call fcn.29ad2f80
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx]
or eax, edx
and eax, 7
push ebx
lea edx, [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.29ad2f80
mov ecx, dword [esp + 0x14]
lea edx, [ecx + ecx]
or eax, edx
and eax, 0x1f
mov ebp, eax
mov eax, dword [esp + 0x7c]
lea ecx, [eax + eax]
mov eax, dword [esp + 0xa0]
or ecx, esi
and ecx, 0xf
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x80]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0xa0], eax
jl 0x29ad6e64
jmp case.default.0x29ad6d13
lea eax, [edi - 2]
xor ecx, ecx
cmp eax, ecx
jl 0x29ad6fdc
cmp eax, dword [ebx + 0xc]
jge 0x29ad6fdc
cmp dword [ebx + 8], ecx
jle 0x29ad6fdc
mov edx, dword [ebx + 0x10]
imul edx, eax
add edx, dword [ebx + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], ecx
jmp 0x29ad6fe0
mov dword [esp + 0x2c], ecx
push ebx
lea edx, [esp + 0x30]
call fcn.29ad2f80
push ebx
lea edx, [esp + 0x30]
mov ebp, eax
call fcn.29ad2f80
mov esi, eax
lea eax, [ebp + ebp]
push ebx
lea edx, [esp + 0x30]
or esi, eax
call fcn.29ad2f80
lea ecx, [esi + esi]
or eax, ecx
mov dword [esp + 0x10], eax
lea eax, [edi - 1]
xor ecx, ecx
cmp eax, ecx
jl 0x29ad703f
cmp eax, dword [ebx + 0xc]
jge 0x29ad703f
cmp dword [ebx + 8], ecx
jle 0x29ad703f
mov edx, dword [ebx + 0x10]
imul edx, eax
add edx, dword [ebx + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x28], ecx
jmp 0x29ad7043
mov dword [esp + 0x20], ecx
push ebx
lea edx, [esp + 0x24]
call fcn.29ad2f80
push ebx
lea edx, [esp + 0x24]
mov ebp, eax
call fcn.29ad2f80
mov esi, eax
lea eax, [ebp + ebp]
push ebx
lea edx, [esp + 0x24]
or esi, eax
call fcn.29ad2f80
mov edx, dword [esp + 0x9c]
mov ebp, eax
mov eax, dword [edx]
lea ecx, [esi + esi]
or ebp, ecx
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
add eax, edi
push eax
xor esi, esi
lea eax, [esp + 0x3c]
mov edx, ebx
mov dword [esp + 0x80], esi
call fcn.29ad2f20
cmp dword [esp + 0x80], esi
mov dword [esp + 0xa0], esi
jle case.default.0x29ad6d13
nop
push ebx
lea edx, [esp + 0x3c]
call fcn.29ad2f80
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x90]
shl edx, 5
or edx, ebp
shl edx, 3
or edx, esi
shl edx, 1
or eax, edx
test ecx, ecx
je 0x29ad7132
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jl 0x29ad7132
mov edx, dword [esp + 0x94]
cmp ecx, dword [edx + 8]
jge 0x29ad7132
test edi, edi
jl 0x29ad7132
cmp edi, dword [edx + 0xc]
jge 0x29ad7132
mov edx, dword [edx + 0x10]
imul edx, edi
mov esi, ecx
sar esi, 3
add edx, esi
mov esi, dword [esp + 0x94]
mov esi, dword [esi + 0x14]
movzx esi, byte [edx + esi]
mov dl, cl
xor ecx, ecx
and dl, 7
mov cl, 7
sub cl, dl
shr esi, cl
and esi, 1
je 0x29ad7132
mov dword [esp + 0x14], 0
jmp 0x29ad7174
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x38]
push edx
call fcn.29ad2090
test eax, eax
mov dword [esp + 0x14], eax
je 0x29ad7174
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0xa0]
imul ecx, edi
mov edx, eax
sar edx, 3
add ecx, edx
mov edx, dword [ebx + 0x14]
lea esi, [ecx + edx]
and eax, 7
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
or byte [esi], al
push ebx
lea edx, [esp + 0x30]
call fcn.29ad2f80
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx]
or eax, edx
and eax, 0xf
push ebx
lea edx, [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.29ad2f80
mov edx, dword [esp + 0x7c]
lea ecx, [ebp + ebp]
or eax, ecx
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov ebp, eax
lea eax, [edx + edx]
or eax, ecx
mov ecx, dword [esp + 0x80]
and eax, 7
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa0]
inc eax
cmp eax, ecx
mov dword [esp + 0xa0], eax
jl 0x29ad70b0
jmp case.default.0x29ad6d13
lea eax, [edi - 2]
xor ebp, ebp
cmp eax, ebp
jl 0x29ad7208
cmp eax, dword [ebx + 0xc]
jge 0x29ad7208
cmp dword [ebx + 8], ebp
jle 0x29ad7208
mov ecx, dword [ebx + 0x10]
imul ecx, eax
add ecx, dword [ebx + 0x14]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], ebp
jmp 0x29ad720c
mov dword [esp + 0x2c], ebp
push ebx
lea edx, [esp + 0x30]
call fcn.29ad2f80
push ebx
lea edx, [esp + 0x30]
mov esi, eax
call fcn.29ad2f80
lea edx, [esi + esi]
or eax, edx
mov dword [esp + 0x10], eax
lea eax, [edi - 1]
cmp eax, ebp
jl 0x29ad7257
cmp eax, dword [ebx + 0xc]
jge 0x29ad7257
cmp dword [ebx + 8], ebp
jle 0x29ad7257
mov ecx, dword [ebx + 0x10]
imul ecx, eax
add ecx, dword [ebx + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 7
mov dword [esp + 0x28], ebp
jmp 0x29ad725b
mov dword [esp + 0x20], ebp
push ebx
lea edx, [esp + 0x24]
call fcn.29ad2f80
push ebx
lea edx, [esp + 0x24]
mov esi, eax
call fcn.29ad2f80
mov ebp, eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
lea edx, [esi + esi]
or ebp, edx
mov edx, dword [esp + 0x98]
add ecx, edi
push ecx
mov ecx, dword [edx]
xor esi, esi
lea eax, [esp + 0x3c]
mov edx, ebx
mov dword [esp + 0x80], esi
call fcn.29ad2f20
cmp dword [esp + 0x80], esi
mov dword [esp + 0xa0], esi
jle case.default.0x29ad6d13
mov esi, dword [esp + 0x94]
push ebx
lea edx, [esp + 0x3c]
call fcn.29ad2f80
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x7c]
shl ecx, 4
or ecx, ebp
shl ecx, 2
or ecx, edx
shl ecx, 1
or eax, ecx
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x29ad7339
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jl 0x29ad7339
cmp ecx, dword [esi + 8]
jge 0x29ad7339
test edi, edi
jl 0x29ad7339
cmp edi, dword [esi + 0xc]
jge 0x29ad7339
mov edx, esi
mov edx, dword [edx + 0x10]
imul edx, edi
mov esi, ecx
sar esi, 3
add edx, esi
mov esi, dword [esp + 0x94]
mov esi, dword [esi + 0x14]
movzx esi, byte [edx + esi]
mov dl, cl
xor ecx, ecx
and dl, 7
mov cl, 7
sub cl, dl
shr esi, cl
and esi, 1
je 0x29ad7339
mov dword [esp + 0x14], 0
jmp 0x29ad737b
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x38]
push edx
call fcn.29ad2090
test eax, eax
mov dword [esp + 0x14], eax
je 0x29ad737b
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0xa0]
imul ecx, edi
mov edx, eax
sar edx, 3
add ecx, edx
mov edx, dword [ebx + 0x14]
lea esi, [ecx + edx]
and eax, 7
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
or byte [esi], al
push ebx
lea edx, [esp + 0x30]
call fcn.29ad2f80
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx]
or eax, edx
and eax, 7
push ebx
lea edx, [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.29ad2f80
mov edx, dword [esp + 0x7c]
lea ecx, [ebp + ebp]
or eax, ecx
mov ecx, dword [esp + 0x14]
and eax, 0xf
mov ebp, eax
lea eax, [edx + edx]
or eax, ecx
mov ecx, dword [esp + 0x80]
and eax, 3
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa0]
inc eax
cmp eax, ecx
mov dword [esp + 0xa0], eax
jl 0x29ad72b5
jmp case.default.0x29ad6d13
lea eax, [edi - 1]
xor ecx, ecx
cmp eax, ecx
jl 0x29ad740f
cmp eax, dword [ebx + 0xc]
jge 0x29ad740f
cmp dword [ebx + 8], ecx
jle 0x29ad740f
mov edx, dword [ebx + 0x10]
imul edx, eax
add edx, dword [ebx + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x28], ecx
jmp 0x29ad7413
mov dword [esp + 0x20], ecx
push ebx
lea edx, [esp + 0x24]
call fcn.29ad2f80
push ebx
lea edx, [esp + 0x24]
mov esi, eax
call fcn.29ad2f80
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
mov ebp, eax
lea eax, [esi + esi]
add edx, edi
or ebp, eax
push edx
xor esi, esi
lea eax, [esp + 0x3c]
mov edx, ebx
mov dword [esp + 0x80], esi
call fcn.29ad2f20
cmp dword [esp + 0x80], esi
mov dword [esp + 0xa0], esi
jle case.default.0x29ad6d13
mov esi, dword [esp + 0x94]
push ebx
lea edx, [esp + 0x3c]
call fcn.29ad2f80
mov ecx, dword [esp + 0x7c]
mov edx, ebp
shl edx, 4
or edx, ecx
mov ecx, dword [esp + 0x90]
shl edx, 1
or eax, edx
test ecx, ecx
je 0x29ad74ea
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jl 0x29ad74ea
cmp ecx, dword [esi + 8]
jge 0x29ad74ea
test edi, edi
jl 0x29ad74ea
cmp edi, dword [esi + 0xc]
jge 0x29ad74ea
mov edx, esi
mov edx, dword [edx + 0x10]
imul edx, edi
mov esi, ecx
sar esi, 3
add edx, esi
mov esi, dword [esp + 0x94]
mov esi, dword [esi + 0x14]
movzx esi, byte [edx + esi]
mov dl, cl
xor ecx, ecx
and dl, 7
mov cl, 7
sub cl, dl
shr esi, cl
and esi, 1
je 0x29ad74ea
mov dword [esp + 0x14], 0
jmp 0x29ad752c
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x38]
push edx
call fcn.29ad2090
test eax, eax
mov dword [esp + 0x14], eax
je 0x29ad752c
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0xa0]
imul ecx, edi
mov edx, eax
sar edx, 3
add ecx, edx
mov edx, dword [ebx + 0x14]
lea esi, [ecx + edx]
and eax, 7
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
or byte [esi], al
push ebx
lea edx, [esp + 0x24]
call fcn.29ad2f80
mov edx, dword [esp + 0x7c]
lea ecx, [ebp + ebp]
or eax, ecx
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov ebp, eax
lea eax, [edx + edx]
or eax, ecx
mov ecx, dword [esp + 0x80]
and eax, 0xf
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa0]
inc eax
cmp eax, ecx
mov dword [esp + 0xa0], eax
jl 0x29ad746d
mov eax, dword [esp + 0x84]
inc edi
cmp edi, eax
jl 0x29ad6cb7
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x2c