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

Disassembly:
sub esp, 0x2dc
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x74]
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00420520
test eax, eax
je 0x4234ae
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.00420520
test eax, eax
je 0x4234ae
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.00420520
test eax, eax
je 0x4234ae
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.00420520
test eax, eax
je 0x4234ae
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00420490
test eax, eax
je 0x4234ae
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x1c]
and eax, 7
push edx
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.004204e0
test eax, eax
je 0x4234ae
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 2
and ecx, 3
mov dword [esp + 0x98], ecx
mov ecx, eax
shr ecx, 4
and ecx, 3
mov dword [esp + 0x80], ecx
mov ecx, eax
shr ecx, 6
and ecx, 1
mov dword [esp + 0x78], ecx
mov ecx, eax
shr ecx, 7
and ecx, 3
mov dword [esp + 0x90], ecx
mov ecx, eax
shr ecx, 9
and ecx, 1
mov dword [esp + 0x70], 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 + 0x30], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x64], ecx
je 0x422d0f
or ecx, 0xfffffff0
mov dword [esp + 0x64], ecx
xor edi, edi
shr eax, 0xf
and eax, 1
mov ebp, eax
xor ebx, ebx
cmp edx, edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], edi
je 0x422db0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
call fcn.004204e0
test eax, eax
je 0x4234ae
mov eax, dword [esp + 0x3c]
mov ecx, eax
and ecx, 3
mov dword [esp + 0x68], ecx
mov ecx, eax
shr ecx, 4
and ecx, 3
mov dword [esp + 0x54], 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 + 0x58], ecx
mov ecx, eax
shr ecx, 0xa
and ecx, 3
mov dword [esp + 0x50], ecx
mov ebx, eax
mov ecx, eax
shr ebx, 2
shr ecx, 0xc
and ecx, 3
shr eax, 0xe
and ebx, 3
and eax, 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x3c], eax
cmp esi, edi
je 0x422e1c
cmp ebp, edi
jne 0x422e1c
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004204b0
test eax, eax
je 0x4234ae
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x9c]
push edx
call fcn.004204b0
test eax, eax
je 0x4234ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xa8]
push eax
call fcn.004204b0
test eax, eax
je 0x4234ae
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004204b0
test eax, eax
je 0x4234ae
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x88]
push edx
call fcn.00420520
test eax, eax
je 0x4234ae
push 0x10
call fcn.0043f7ed
add esp, 4
cmp eax, edi
je 0x422e50
mov ecx, eax
call fcn.0043ed30
mov dword [esp + 0x14], eax
jmp 0x422e54
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x304]
xor ebp, ebp
xor edi, edi
test eax, eax
mov dword [esp + 0x18], ebp
jbe 0x422ebd
jmp 0x422e70
mov eax, dword [esp + 0x300]
mov ecx, dword [eax + edi*4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00420180
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp eax, 1
jne 0x422e97
add ebp, dword [esi + 8]
jmp 0x422ead
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, 3
jne 0x422ead
mov ecx, dword [esp + 0x14]
push esi
call fcn.0043ed70
mov eax, dword [esp + 0x304]
inc edi
cmp edi, eax
jb 0x422e70
mov dword [esp + 0x18], ebp
xor ecx, ecx
mov eax, 1
cmp ebp, eax
mov dword [esp + 0x48], ecx
jbe 0x422edb
lea esp, [esp]
shl eax, 1
inc ecx
cmp eax, ebp
jb 0x422ed0
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
lea edx, [ecx*4]
push edx
call fcn.0043e620
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x308]
add esp, 4
xor edi, edi
xor ebp, ebp
test eax, eax
jbe 0x422f4f
mov eax, dword [esp + 0x300]
mov ecx, dword [eax + ebp*4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00420180
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp eax, 1
jne 0x422f43
mov ecx, dword [esi + 8]
xor eax, eax
test ecx, ecx
jbe 0x422f43
mov ecx, dword [esp + 0x4c]
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 0x422f31
mov eax, dword [esp + 0x304]
inc ebp
cmp ebp, eax
jb 0x422f02
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
xor edi, edi
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
je 0x4230e8
mov ecx, dword [esp + 0x68]
cmp ecx, edi
jne 0x422f95
mov dword [esp + 0x2c], 0x474200
jmp 0x422fb4
cmp ecx, 1
jne 0x422fa4
mov dword [esp + 0x2c], 0x4742f0
jmp 0x422fb4
mov eax, dword [edx]
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
mov eax, 1
mov dword [esp + 0x2c], ecx
cmp ebx, edi
jne 0x422fc2
mov dword [esp + 0x24], 0x4743f0
jmp 0x422fed
cmp ebx, 1
jne 0x422fd1
mov dword [esp + 0x24], 0x474550
jmp 0x422fed
cmp ebx, 2
jne 0x422fe0
mov dword [esp + 0x24], 0x4746c0
jmp 0x422fed
mov ecx, dword [edx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x54]
cmp ecx, edi
jne 0x422fff
mov dword [esp + 0x20], 0x474820
jmp 0x42302a
cmp ecx, 1
jne 0x42300e
mov dword [esp + 0x20], 0x474900
jmp 0x42302a
cmp ecx, 2
jne 0x42301d
mov dword [esp + 0x20], 0x4749e0
jmp 0x42302a
mov ecx, dword [edx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x6c]
cmp ecx, edi
mov esi, 0x474ac0
mov ebx, 0x474b20
jne 0x423042
mov dword [esp + 0x34], esi
jmp 0x42305a
cmp ecx, 1
jne 0x42304d
mov dword [esp + 0x34], ebx
jmp 0x42305a
mov ecx, dword [edx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x58]
cmp ecx, edi
jne 0x423068
mov dword [esp + 0x28], esi
jmp 0x423080
cmp ecx, 1
jne 0x423073
mov dword [esp + 0x28], ebx
jmp 0x423080
mov ecx, dword [edx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x50]
cmp ecx, edi
jne 0x42308e
mov dword [esp + 0x40], esi
jmp 0x4230a6
cmp ecx, 1
jne 0x423099
mov dword [esp + 0x40], ebx
jmp 0x4230a6
mov ecx, dword [edx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x60]
cmp ecx, edi
jne 0x4230b4
mov dword [esp + 0x38], esi
jmp 0x4230cc
cmp ecx, 1
jne 0x4230bf
mov dword [esp + 0x38], ebx
jmp 0x4230cc
mov ecx, dword [edx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 8]
inc eax
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x3c], edi
jne 0x4230dc
mov dword [esp + 0x44], 0x473f90
jmp 0x4230e8
mov ecx, dword [edx]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
cmp edx, edi
je 0x423102
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.0043ed60
push esi
call fcn.0043f7e8
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, edi
je 0x4232e7
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x7c]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea esi, [esp + 0xb0]
mov ebx, edx
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esi - 4], edi
call fcn.0041d600
mov dword [esi], eax
mov dword [esi + 4], ebp
inc edi
add esi, 0x10
cmp edi, 0x20
jb 0x423126
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esp + 0x2b0], 0x103
call fcn.0041d600
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esp + 0x2b4], eax
mov dword [esp + 0x2b8], 2
mov dword [esp + 0x2c0], 0x203
call fcn.0041d600
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esp + 0x2c4], eax
mov dword [esp + 0x2c8], 3
mov dword [esp + 0x2d0], 0x20b
call fcn.0041d600
mov ecx, dword [ebx + 0x7c]
mov dword [esp + 0x2d0], eax
push 0x23
lea eax, [esp + 0xb0]
push eax
mov dword [esp + 0x2dc], 7
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x2ec], 0xffffffff
call fcn.0041d6b0
mov esi, dword [esp + 0x18]
mov edi, esi
shl edi, 4
lea ecx, [edi + 0x10]
push ecx
call fcn.0043e620
mov ebp, eax
xor edx, edx
add esp, 4
xor eax, eax
cmp esi, edx
jbe 0x42320d
mov ecx, ebp
nop
mov dword [ecx], eax
mov dword [ecx + 8], edx
inc eax
add ecx, 0x10
cmp eax, esi
jb 0x423200
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jbe 0x4232c0
jmp 0x423220
mov ecx, dword [ebx + 0x7c]
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00420590
mov ecx, dword [esp + 0x14]
cmp ecx, 0x200
jle 0x423277
sub ecx, 0x200
mov dword [esp + 0x14], ecx
je 0x4232b6
mov edx, esi
shl edx, 4
lea eax, [edx + ebp + 4]
mov edx, dword [esp + 0x18]
lea ebx, [ebx]
cmp esi, edx
jae 0x4232c0
mov dword [eax], 0
inc esi
add eax, 0x10
dec ecx
mov dword [esp + 0x14], ecx
jne 0x423260
jmp 0x4232b6
cmp ecx, 0x100
jle 0x4232ac
sub ecx, 0x100
mov dword [esp + 0x14], ecx
je 0x4232b6
mov eax, esi
shl eax, 4
lea eax, [eax + ebp + 4]
cmp esi, dword [esp + 0x18]
jae 0x4232c0
mov edx, dword [eax - 0x10]
mov dword [eax], edx
inc esi
add eax, 0x10
dec ecx
mov dword [esp + 0x14], ecx
jne 0x423294
jmp 0x4232b6
mov eax, esi
shl eax, 4
mov dword [eax + ebp + 4], ecx
inc esi
cmp esi, dword [esp + 0x18]
jb 0x423220
mov ecx, dword [esp + 0x18]
xor esi, esi
push ecx
mov dword [edi + ebp + 4], esi
mov dword [edi + ebp + 8], 0xffffffff
mov ecx, dword [ebx + 0x7c]
push ebp
call fcn.0041d6b0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
jmp 0x423303
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.004203c0
mov ecx, dword [esi + 0x38]
call fcn.0041d1a0
mov ebx, esi
xor esi, esi
cmp dword [esp + 0x1c], esi
je 0x42335f
mov eax, dword [esp + 0x5c]
mov edi, dword [eax*4 + 0x473f88]
mov esi, dword [ebx + 0x40]
cmp dword [esi + 4], edi
jne 0x423325
mov ecx, esi
call fcn.0041cfb0
jmp 0x42335f
test esi, esi
je 0x423339
mov ecx, esi
call fcn.0043ed60
push esi
call fcn.0043f7e8
add esp, 4
push 8
call fcn.0043f7ed
add esp, 4
test eax, eax
je 0x42335a
mov ecx, edi
mov edx, 1
shl edx, cl
mov ecx, eax
push edx
call fcn.0041d0d0
jmp 0x42335c
xor eax, eax
mov dword [ebx + 0x40], eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0xcc]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0xdc]
push edx
mov edx, dword [esp + 0xd0]
push ebp
push eax
mov eax, dword [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x88]
push edi
push eax
push ecx
push edx
mov ecx, ebx
call fcn.00420b60
mov esi, eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.0043e6b0
mov eax, dword [esp + 0x2f8]
add esp, 4
test eax, eax
je 0x42347d
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x10], 0xffffffff
mov ebx, dword [esp + 0x7c]
jne 0x423451
mov edx, ecx
mov ecx, dword [edx + 0x14]
lea eax, [ebx + edi]
cmp eax, ecx
jbe 0x423451
mov ecx, edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
push edx
push eax
call fcn.0041dc70
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
push eax
push ebx
push ecx
mov ecx, dword [edx + 0x1c]
push esi
call fcn.0041de10
test esi, esi
je 0x423490
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x423490
mov ecx, dword [esp + 0x2f0]
mov dword [esi + 4], ecx
mov ecx, dword [ebx + 0x24]
push esi
call fcn.0043ed70
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4234c5
push ebp
call fcn.0043e6b0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret 0x18
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push str.Unexpected_EOF_in_JBIG2_stream
call dword [edx + 0x20]
push eax
call fcn.00405880
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret 0x18