Function at 0x29ad5e00
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x29b27986
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebp
push esi
push edi
mov edi, dword [esp + 0xa0]
lea eax, [esp + 0x4c]
push eax
call fcn.29ad91f0
test eax, eax
je 0x29ad63d3
lea ecx, [esp + 0x44]
push ecx
call fcn.29ad91f0
test eax, eax
je 0x29ad63d3
lea edx, [esp + 0x64]
push edx
call fcn.29ad91f0
test eax, eax
je 0x29ad63d3
lea eax, [esp + 0x54]
push eax
call fcn.29ad91f0
test eax, eax
je 0x29ad63d3
lea ecx, [esp + 0x18]
push ecx
mov eax, edi
call fcn.29ad9160
test eax, eax
je 0x29ad63d3
mov eax, dword [esp + 0x18]
and eax, 7
lea edx, [esp + 0x10]
mov dword [esp + 0x5c], eax
push edx
mov eax, edi
call fcn.29ad9160
test eax, eax
je 0x29ad63d3
mov eax, dword [esp + 0x10]
mov ebp, eax
mov esi, eax
mov ecx, eax
shr eax, 4
and eax, 7
shr ecx, 3
mov dword [esp + 0x60], eax
shr esi, 1
lea eax, [esp + 0x14]
and ecx, 1
and ebp, 1
and esi, 3
push eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], ecx
call fcn.29ad91f0
test eax, eax
je 0x29ad63d3
lea ecx, [esp + 0x28]
push ecx
call fcn.29ad91f0
test eax, eax
je 0x29ad63d3
lea edx, [esp + 0x18]
push edx
call fcn.29ad91f0
test eax, eax
je 0x29ad63d3
lea eax, [esp + 0x2c]
push eax
call fcn.29ad91f0
test eax, eax
je 0x29ad63d3
lea ecx, [esp + 0x3c]
push ecx
call fcn.29ad91b0
test eax, eax
je 0x29ad63d3
lea edx, [esp + 0x30]
push edx
call fcn.29ad91b0
test eax, eax
je 0x29ad63d3
cmp dword [esp + 0xb0], 1
je 0x29ad5f5a
mov eax, dword [edi]
push str.Bad_symbol_dictionary_reference_in_JBIG2_halftone_segment
mov ecx, edi
call dword [eax + 0x20]
call fcn.29ab31e0
add esp, 4
jmp 0x29ad5f92
mov ecx, dword [esp + 0xac]
push ebx
mov ebx, dword [ecx]
mov eax, edi
call fcn.29ad8de0
mov ebx, eax
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x54], ebx
call dword [edx + 4]
cmp eax, 2
je 0x29ad5fac
mov eax, dword [edi]
push str.Bad_symbol_dictionary_reference_in_JBIG2_halftone_segment
mov ecx, edi
call dword [eax + 0x20]
call fcn.29ab31e0
add esp, 4
pop ebx
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x90
ret 0x14
mov ecx, dword [ebx + 8]
xor edx, edx
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x24], edx
jbe 0x29ad5fcb
mov edi, edi
shl eax, 1
inc edx
cmp eax, ecx
jb 0x29ad5fc0
mov dword [esp + 0x24], edx
test ebp, ebp
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x5c], eax
jne 0x29ad5ff3
push esi
push edi
xor ebx, ebx
call fcn.29ad8e80
mov eax, dword [edi + 0x38]
call fcn.29ad1f60
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x9c], esi
je 0x29ad602a
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
call fcn.29ad2c10
mov dword [esp + 0x28], eax
jmp 0x29ad6030
mov dword [esp + 0x28], esi
mov eax, esi
or edi, 0xffffffff
mov dword [esp + 0x9c], edi
mov cl, byte [esp + 0x14]
test cl, cl
mov edx, eax
jns 0x29ad604b
call fcn.29ad2f00
jmp 0x29ad6050
call fcn.29ad2ee0
cmp dword [esp + 0x44], esi
mov dword [esp + 0x3c], esi
je 0x29ad614c
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, esi
mov dword [esp + 0x9c], 1
mov ebx, dword [esp + 0x2c]
je 0x29ad6094
mov esi, dword [esp + 0x18]
push esi
push eax
mov ecx, ebx
xor edx, edx
call fcn.29ad2c10
mov dword [esp + 0x10], eax
jmp 0x29ad60a0
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, eax
mov dword [esp + 0x9c], edi
mov dword [esp + 0x3c], eax
call fcn.29ad2ee0
xor ebp, ebp
test ebx, ebx
jbe 0x29ad6154
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
lea esp, [esp]
xor edi, edi
test esi, esi
jbe 0x29ad6131
mov edx, dword [esp + 0x70]
add edx, eax
sar edx, 8
mov dword [esp + 0x38], edx
jmp 0x29ad60f0
mov edx, dword [esp + 0x38]
lea esp, [esp]
test edx, edx
jle 0x29ad6118
mov edx, eax
sar edx, 8
cmp edx, dword [esp + 0x50]
jge 0x29ad6118
mov edx, dword [esp + 0x5c]
add edx, ecx
test edx, 0xffffff00
jle 0x29ad6118
mov edx, ecx
sar edx, 8
cmp edx, dword [esp + 0x48]
jl 0x29ad612c
mov ecx, dword [esp + 0x10]
push ebp
mov eax, edi
call fcn.29ad2be0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc edi
cmp edi, esi
jb 0x29ad60e5
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
inc ebp
add eax, edx
add ecx, edi
cmp ebp, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
jb 0x29ad60d0
jmp 0x29ad6154
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov edi, ebx
imul edi, esi
push 4
push edi
call fcn.29ad1875
mov ebp, eax
xor eax, eax
mov ecx, edi
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x54]
mov eax, 1
add esp, 8
cmp eax, edi
sbb ecx, ecx
or eax, 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, 0xfffffffe
mov dword [esp + 0x7c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
add ecx, 3
dec eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0xfffffffd
mov dword [esp + 0x8c], 2
js 0x29ad6278
inc eax
mov dword [esp + 0x20], eax
jmp 0x29ad61d3
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0xb8]
push 0
push eax
push ebx
push esi
push ecx
push edx
call fcn.29ad6620
xor esi, esi
test ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
jbe 0x29ad6262
mov ecx, dword [esp + 0x18]
xor edi, edi
test ecx, ecx
jbe 0x29ad6255
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ebx, dword [ebp + esi*4]
mov edx, edi
call fcn.29ad2ba0
mov ecx, ebx
and ecx, 1
xor eax, ecx
lea edx, [ebx + ebx]
or eax, edx
mov dword [ebp + esi*4], eax
mov eax, dword [esp + 0x18]
inc esi
inc edi
cmp edi, eax
jb 0x29ad6220
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, ebx
mov dword [esp + 0x10], ecx
jb 0x29ad6215
test eax, eax
je 0x29ad626e
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
dec dword [esp + 0x20]
jne 0x29ad61cf
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
jbe 0x29ad6348
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], ebx
lea ebx, [ebx]
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jbe 0x29ad631f
lea ebx, [ebx]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x29ad62cb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov edx, edi
call fcn.29ad2ba0
test eax, eax
jne 0x29ad62f9
mov eax, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x18]
mov ecx, esi
sar ecx, 8
push ecx
mov ecx, dword [ebp + eax*4]
mov edx, ebx
sar edx, 8
push edx
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ecx*4]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.29ad3020
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
sub esi, eax
mov eax, dword [esp + 0x18]
add ebx, ecx
inc edx
inc edi
cmp edi, eax
mov dword [esp + 0x14], edx
jb 0x29ad62b0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
inc eax
add ebx, edi
add esi, edx
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], esi
jb 0x29ad62a0
push ebp
call fcn.29ad18fe
mov eax, dword [esp + 0xb0]
add esp, 4
test eax, eax
je 0x29ad63ba
mov eax, dword [esp + 0xa4]
cmp dword [eax + 0x10], 0xffffffff
mov edi, dword [esp + 0x58]
jne 0x29ad638c
mov ecx, dword [esp + 0x48]
lea ebx, [edi + ecx]
cmp ebx, dword [eax + 0x14]
jbe 0x29ad638c
mov edx, dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
push edx
call fcn.29ad2e70
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 0x1c]
push ecx
push edi
push edx
push esi
push eax
call fcn.29ad3020
test esi, esi
je 0x29ad5f91
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
jmp 0x29ad5f91
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [ecx + 0x24]
call fcn.29ace3c0
jmp 0x29ad5f91
mov edx, dword [edi]
push str.Unexpected_EOF_in_JBIG2_stream
mov ecx, edi
call dword [edx + 0x20]
call fcn.29ab31e0
add esp, 4
jmp 0x29ad5f92