Function at 0x421c60
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.0041f570
test eax, eax
je 0x42250e
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.0041f570
test eax, eax
je 0x42250e
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.0041f570
test eax, eax
je 0x42250e
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.0041f570
test eax, eax
je 0x42250e
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0041f4e0
test eax, eax
je 0x42250e
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x1c]
and eax, 7
push edx
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.0041f530
test eax, eax
je 0x42250e
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 0x421d6f
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 0x421e10
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
call fcn.0041f530
test eax, eax
je 0x42250e
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 0x421e7c
cmp ebp, edi
jne 0x421e7c
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0041f500
test eax, eax
je 0x42250e
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x9c]
push edx
call fcn.0041f500
test eax, eax
je 0x42250e
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xa8]
push eax
call fcn.0041f500
test eax, eax
je 0x42250e
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0041f500
test eax, eax
je 0x42250e
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x88]
push edx
call fcn.0041f570
test eax, eax
je 0x42250e
push 0x10
call fcn.0043878d
add esp, 4
cmp eax, edi
je 0x421eb0
mov ecx, eax
call fcn.00437cd0
mov dword [esp + 0x14], eax
jmp 0x421eb4
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 0x421f1d
jmp 0x421ed0
mov eax, dword [esp + 0x300]
mov ecx, dword [eax + edi*4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0041f1d0
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp eax, 1
jne 0x421ef7
add ebp, dword [esi + 8]
jmp 0x421f0d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, 3
jne 0x421f0d
mov ecx, dword [esp + 0x14]
push esi
call fcn.00437d10
mov eax, dword [esp + 0x304]
inc edi
cmp edi, eax
jb 0x421ed0
mov dword [esp + 0x18], ebp
xor ecx, ecx
mov eax, 1
cmp ebp, eax
mov dword [esp + 0x48], ecx
jbe 0x421f3b
lea esp, [esp]
shl eax, 1
inc ecx
cmp eax, ebp
jb 0x421f30
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
lea edx, [ecx*4]
push edx
call fcn.004375c0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x308]
add esp, 4
xor edi, edi
xor ebp, ebp
test eax, eax
jbe 0x421faf
mov eax, dword [esp + 0x300]
mov ecx, dword [eax + ebp*4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0041f1d0
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp eax, 1
jne 0x421fa3
mov ecx, dword [esi + 8]
xor eax, eax
test ecx, ecx
jbe 0x421fa3
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 0x421f91
mov eax, dword [esp + 0x304]
inc ebp
cmp ebp, eax
jb 0x421f62
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 0x422148
mov ecx, dword [esp + 0x68]
cmp ecx, edi
jne 0x421ff5
mov dword [esp + 0x2c], 0x46b200
jmp 0x422014
cmp ecx, 1
jne 0x422004
mov dword [esp + 0x2c], 0x46b2f0
jmp 0x422014
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 0x422022
mov dword [esp + 0x24], 0x46b3f0
jmp 0x42204d
cmp ebx, 1
jne 0x422031
mov dword [esp + 0x24], 0x46b550
jmp 0x42204d
cmp ebx, 2
jne 0x422040
mov dword [esp + 0x24], 0x46b6c0
jmp 0x42204d
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 0x42205f
mov dword [esp + 0x20], 0x46b820
jmp 0x42208a
cmp ecx, 1
jne 0x42206e
mov dword [esp + 0x20], 0x46b900
jmp 0x42208a
cmp ecx, 2
jne 0x42207d
mov dword [esp + 0x20], 0x46b9e0
jmp 0x42208a
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, 0x46bac0
mov ebx, 0x46bb20
jne 0x4220a2
mov dword [esp + 0x34], esi
jmp 0x4220ba
cmp ecx, 1
jne 0x4220ad
mov dword [esp + 0x34], ebx
jmp 0x4220ba
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 0x4220c8
mov dword [esp + 0x28], esi
jmp 0x4220e0
cmp ecx, 1
jne 0x4220d3
mov dword [esp + 0x28], ebx
jmp 0x4220e0
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 0x4220ee
mov dword [esp + 0x40], esi
jmp 0x422106
cmp ecx, 1
jne 0x4220f9
mov dword [esp + 0x40], ebx
jmp 0x422106
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 0x422114
mov dword [esp + 0x38], esi
jmp 0x42212c
cmp ecx, 1
jne 0x42211f
mov dword [esp + 0x38], ebx
jmp 0x42212c
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 0x42213c
mov dword [esp + 0x44], 0x46af90
jmp 0x422148
mov ecx, dword [edx]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
cmp edx, edi
je 0x422162
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00437d00
push esi
call fcn.00438788
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, edi
je 0x422347
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.0041c650
mov dword [esi], eax
mov dword [esi + 4], ebp
inc edi
add esi, 0x10
cmp edi, 0x20
jb 0x422186
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esp + 0x2b0], 0x103
call fcn.0041c650
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esp + 0x2b4], eax
mov dword [esp + 0x2b8], 2
mov dword [esp + 0x2c0], 0x203
call fcn.0041c650
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esp + 0x2c4], eax
mov dword [esp + 0x2c8], 3
mov dword [esp + 0x2d0], 0x20b
call fcn.0041c650
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.0041c700
mov esi, dword [esp + 0x18]
mov edi, esi
shl edi, 4
lea ecx, [edi + 0x10]
push ecx
call fcn.004375c0
mov ebp, eax
xor edx, edx
add esp, 4
xor eax, eax
cmp esi, edx
jbe 0x42226d
mov ecx, ebp
nop
mov dword [ecx], eax
mov dword [ecx + 8], edx
inc eax
add ecx, 0x10
cmp eax, esi
jb 0x422260
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jbe 0x422320
jmp 0x422280
mov ecx, dword [ebx + 0x7c]
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0041f5e0
mov ecx, dword [esp + 0x14]
cmp ecx, 0x200
jle 0x4222d7
sub ecx, 0x200
mov dword [esp + 0x14], ecx
je 0x422316
mov edx, esi
shl edx, 4
lea eax, [edx + ebp + 4]
mov edx, dword [esp + 0x18]
lea ebx, [ebx]
cmp esi, edx
jae 0x422320
mov dword [eax], 0
inc esi
add eax, 0x10
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4222c0
jmp 0x422316
cmp ecx, 0x100
jle 0x42230c
sub ecx, 0x100
mov dword [esp + 0x14], ecx
je 0x422316
mov eax, esi
shl eax, 4
lea eax, [eax + ebp + 4]
cmp esi, dword [esp + 0x18]
jae 0x422320
mov edx, dword [eax - 0x10]
mov dword [eax], edx
inc esi
add eax, 0x10
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4222f4
jmp 0x422316
mov eax, esi
shl eax, 4
mov dword [eax + ebp + 4], ecx
inc esi
cmp esi, dword [esp + 0x18]
jb 0x422280
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.0041c700
mov eax, dword [ebx + 0x7c]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
jmp 0x422363
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.0041f410
mov ecx, dword [esi + 0x38]
call fcn.0041c1f0
mov ebx, esi
xor esi, esi
cmp dword [esp + 0x1c], esi
je 0x4223bf
mov eax, dword [esp + 0x5c]
mov edi, dword [eax*4 + 0x46af88]
mov esi, dword [ebx + 0x40]
cmp dword [esi + 4], edi
jne 0x422385
mov ecx, esi
call fcn.0041c000
jmp 0x4223bf
test esi, esi
je 0x422399
mov ecx, esi
call fcn.00437d00
push esi
call fcn.00438788
add esp, 4
push 8
call fcn.0043878d
add esp, 4
test eax, eax
je 0x4223ba
mov ecx, edi
mov edx, 1
shl edx, cl
mov ecx, eax
push edx
call fcn.0041c120
jmp 0x4223bc
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.0041fbc0
mov esi, eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00437650
mov eax, dword [esp + 0x2f8]
add esp, 4
test eax, eax
je 0x4224dd
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x10], 0xffffffff
mov ebx, dword [esp + 0x7c]
jne 0x4224b1
mov edx, ecx
mov ecx, dword [edx + 0x14]
lea eax, [ebx + edi]
cmp eax, ecx
jbe 0x4224b1
mov ecx, edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
push edx
push eax
call fcn.0041ccc0
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.0041ce60
test esi, esi
je 0x4224f0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x4224f0
mov ecx, dword [esp + 0x2f0]
mov dword [esi + 4], ecx
mov ecx, dword [ebx + 0x24]
push esi
call fcn.00437d10
mov eax, dword [esp + 0x30]
test eax, eax
je 0x422525
push ebp
call fcn.00437650
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.00405840
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret 0x18