Function at 0x423020
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.00420930
test eax, eax
je 0x4238ce
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.00420930
test eax, eax
je 0x4238ce
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.00420930
test eax, eax
je 0x4238ce
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.00420930
test eax, eax
je 0x4238ce
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004208a0
test eax, eax
je 0x4238ce
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x1c]
and eax, 7
push edx
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.004208f0
test eax, eax
je 0x4238ce
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 0x42312f
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 0x4231d0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
call fcn.004208f0
test eax, eax
je 0x4238ce
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 0x42323c
cmp ebp, edi
jne 0x42323c
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004208c0
test eax, eax
je 0x4238ce
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x9c]
push edx
call fcn.004208c0
test eax, eax
je 0x4238ce
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xa8]
push eax
call fcn.004208c0
test eax, eax
je 0x4238ce
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004208c0
test eax, eax
je 0x4238ce
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x88]
push edx
call fcn.00420930
test eax, eax
je 0x4238ce
push 0x10
call fcn.0043a99d
add esp, 4
cmp eax, edi
je 0x423270
mov ecx, eax
call fcn.00439ef0
mov dword [esp + 0x14], eax
jmp 0x423274
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 0x4232dd
jmp 0x423290
mov eax, dword [esp + 0x300]
mov ecx, dword [eax + edi*4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00420590
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp eax, 1
jne 0x4232b7
add ebp, dword [esi + 8]
jmp 0x4232cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, 3
jne 0x4232cd
mov ecx, dword [esp + 0x14]
push esi
call fcn.00439f20
mov eax, dword [esp + 0x304]
inc edi
cmp edi, eax
jb 0x423290
mov dword [esp + 0x18], ebp
xor ecx, ecx
mov eax, 1
cmp ebp, eax
mov dword [esp + 0x48], ecx
jbe 0x4232fb
lea esp, [esp]
shl eax, 1
inc ecx
cmp eax, ebp
jb 0x4232f0
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
lea edx, [ecx*4]
push edx
call fcn.004397e0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x308]
add esp, 4
xor edi, edi
xor ebp, ebp
test eax, eax
jbe 0x42336f
mov eax, dword [esp + 0x300]
mov ecx, dword [eax + ebp*4]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00420590
mov esi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp eax, 1
jne 0x423363
mov ecx, dword [esi + 8]
xor eax, eax
test ecx, ecx
jbe 0x423363
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 0x423351
mov eax, dword [esp + 0x304]
inc ebp
cmp ebp, eax
jb 0x423322
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 0x423508
mov ecx, dword [esp + 0x68]
cmp ecx, edi
jne 0x4233b5
mov dword [esp + 0x2c], 0x46d200
jmp 0x4233d4
cmp ecx, 1
jne 0x4233c4
mov dword [esp + 0x2c], 0x46d2f0
jmp 0x4233d4
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 0x4233e2
mov dword [esp + 0x24], 0x46d3f0
jmp 0x42340d
cmp ebx, 1
jne 0x4233f1
mov dword [esp + 0x24], 0x46d550
jmp 0x42340d
cmp ebx, 2
jne 0x423400
mov dword [esp + 0x24], 0x46d6c0
jmp 0x42340d
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 0x42341f
mov dword [esp + 0x20], 0x46d820
jmp 0x42344a
cmp ecx, 1
jne 0x42342e
mov dword [esp + 0x20], 0x46d900
jmp 0x42344a
cmp ecx, 2
jne 0x42343d
mov dword [esp + 0x20], 0x46d9e0
jmp 0x42344a
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, 0x46dac0
mov ebx, 0x46db20
jne 0x423462
mov dword [esp + 0x34], esi
jmp 0x42347a
cmp ecx, 1
jne 0x42346d
mov dword [esp + 0x34], ebx
jmp 0x42347a
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 0x423488
mov dword [esp + 0x28], esi
jmp 0x4234a0
cmp ecx, 1
jne 0x423493
mov dword [esp + 0x28], ebx
jmp 0x4234a0
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 0x4234ae
mov dword [esp + 0x40], esi
jmp 0x4234c6
cmp ecx, 1
jne 0x4234b9
mov dword [esp + 0x40], ebx
jmp 0x4234c6
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 0x4234d4
mov dword [esp + 0x38], esi
jmp 0x4234ec
cmp ecx, 1
jne 0x4234df
mov dword [esp + 0x38], ebx
jmp 0x4234ec
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 0x4234fc
mov dword [esp + 0x44], 0x46cf90
jmp 0x423508
mov ecx, dword [edx]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
cmp edx, edi
je 0x423522
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00401520
push esi
call fcn.0043a998
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, edi
je 0x423707
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.0041d9f0
mov dword [esi], eax
mov dword [esi + 4], ebp
inc edi
add esi, 0x10
cmp edi, 0x20
jb 0x423546
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esp + 0x2b0], 0x103
call fcn.0041d9f0
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esp + 0x2b4], eax
mov dword [esp + 0x2b8], 2
mov dword [esp + 0x2c0], 0x203
call fcn.0041d9f0
mov ecx, dword [ebx + 0x7c]
push 4
mov dword [esp + 0x2c4], eax
mov dword [esp + 0x2c8], 3
mov dword [esp + 0x2d0], 0x20b
call fcn.0041d9f0
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.0041daa0
mov esi, dword [esp + 0x18]
mov edi, esi
shl edi, 4
lea ecx, [edi + 0x10]
push ecx
call fcn.004397e0
mov ebp, eax
xor edx, edx
add esp, 4
xor eax, eax
cmp esi, edx
jbe 0x42362d
mov ecx, ebp
nop
mov dword [ecx], eax
mov dword [ecx + 8], edx
inc eax
add ecx, 0x10
cmp eax, esi
jb 0x423620
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jbe 0x4236e0
jmp 0x423640
mov ecx, dword [ebx + 0x7c]
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004209a0
mov ecx, dword [esp + 0x14]
cmp ecx, 0x200
jle 0x423697
sub ecx, 0x200
mov dword [esp + 0x14], ecx
je 0x4236d6
mov edx, esi
shl edx, 4
lea eax, [edx + ebp + 4]
mov edx, dword [esp + 0x18]
lea ebx, [ebx]
cmp esi, edx
jae 0x4236e0
mov dword [eax], 0
inc esi
add eax, 0x10
dec ecx
mov dword [esp + 0x14], ecx
jne 0x423680
jmp 0x4236d6
cmp ecx, 0x100
jle 0x4236cc
sub ecx, 0x100
mov dword [esp + 0x14], ecx
je 0x4236d6
mov eax, esi
shl eax, 4
lea eax, [eax + ebp + 4]
cmp esi, dword [esp + 0x18]
jae 0x4236e0
mov edx, dword [eax - 0x10]
mov dword [eax], edx
inc esi
add eax, 0x10
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4236b4
jmp 0x4236d6
mov eax, esi
shl eax, 4
mov dword [eax + ebp + 4], ecx
inc esi
cmp esi, dword [esp + 0x18]
jb 0x423640
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.0041daa0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
jmp 0x423723
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.004207d0
mov ecx, dword [esi + 0x38]
call fcn.0041d590
mov ebx, esi
xor esi, esi
cmp dword [esp + 0x1c], esi
je 0x42377f
mov eax, dword [esp + 0x5c]
mov edi, dword [eax*4 + 0x46cf88]
mov esi, dword [ebx + 0x40]
cmp dword [esi + 4], edi
jne 0x423745
mov ecx, esi
call fcn.0041d3a0
jmp 0x42377f
test esi, esi
je 0x423759
mov ecx, esi
call fcn.00401520
push esi
call fcn.0043a998
add esp, 4
push 8
call fcn.0043a99d
add esp, 4
test eax, eax
je 0x42377a
mov ecx, edi
mov edx, 1
shl edx, cl
mov ecx, eax
push edx
call fcn.0041d4c0
jmp 0x42377c
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.00420f80
mov esi, eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00439870
mov eax, dword [esp + 0x2f8]
add esp, 4
test eax, eax
je 0x42389d
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x10], 0xffffffff
mov ebx, dword [esp + 0x7c]
jne 0x423871
mov edx, ecx
mov ecx, dword [edx + 0x14]
lea eax, [ebx + edi]
cmp eax, ecx
jbe 0x423871
mov ecx, edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
push edx
push eax
call fcn.0041e060
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.0041e200
test esi, esi
je 0x4238b0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x4238b0
mov ecx, dword [esp + 0x2f0]
mov dword [esi + 4], ecx
mov ecx, dword [ebx + 0x24]
push esi
call fcn.00439f20
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4238e5
push ebp
call fcn.00439870
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.004058d0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret 0x18