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

Disassembly:
push 0xffffffffffffffff
push 0x1018dfc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x34]
mov edi, ecx
push eax
mov dword [esp + 0x44], edi
call fcn.100cc9d0
test eax, eax
je 0x100c95c7
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.100cc9d0
test eax, eax
je 0x100c95c7
lea edx, [esp + 0x6c]
mov ecx, edi
push edx
call fcn.100cc9d0
test eax, eax
je 0x100c95c7
lea eax, [esp + 0x54]
mov ecx, edi
push eax
call fcn.100cc9d0
test eax, eax
je 0x100c95c7
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
call fcn.100cc940
test eax, eax
je 0x100c95c7
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x44]
and eax, 7
push edx
mov ecx, edi
mov dword [esp + 0x6c], eax
call fcn.100cc940
test eax, eax
je 0x100c95c7
mov eax, dword [esp + 0x44]
mov esi, eax
mov ebx, eax
mov ecx, eax
and esi, 1
shr eax, 4
shr ecx, 3
and eax, 7
and ecx, 1
shr ebx, 1
mov dword [esp + 0x60], eax
lea eax, [esp + 0x10]
and ebx, 3
mov dword [esp + 0x38], ecx
push eax
mov ecx, edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x4c], ebx
call fcn.100cc9d0
test eax, eax
je 0x100c95c7
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.100cc9d0
test eax, eax
je 0x100c95c7
lea edx, [esp + 0x4c]
mov ecx, edi
push edx
call fcn.100cca40
test eax, eax
je 0x100c95c7
lea eax, [esp + 0x50]
mov ecx, edi
push eax
call fcn.100cca40
test eax, eax
je 0x100c95c7
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.100cc990
test eax, eax
je 0x100c95c7
lea edx, [esp + 0x24]
mov ecx, edi
push edx
call fcn.100cc990
test eax, eax
je 0x100c95c7
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x100c95b9
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100c95b9
mov eax, closesocket
xor edx, edx
div ecx
cmp ebp, eax
jae 0x100c95b9
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100c95b2
mov eax, closesocket
xor edx, edx
div ecx
cmp dword [esp + 0x10], eax
jae 0x100c95b2
cmp dword [esp + 0xb4], 1
je 0x100c90c8
push str.Bad_symbol_dictionary_reference_in_JBIG2_halftone_segment
jmp 0x100c95cc
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx]
mov ecx, edi
push edx
call fcn.100cc5c0
mov ebp, eax
mov ecx, ebp
mov dword [esp + 0x64], ebp
mov eax, dword [ebp]
call dword [eax + 4]
cmp eax, 2
je 0x100c90fd
mov edx, dword [edi]
push str.Bad_symbol_dictionary_reference_in_JBIG2_halftone_segment
mov ecx, edi
call dword [edx + 0x20]
jmp 0x100c95d3
mov ecx, dword [ebp + 8]
mov eax, 1
xor edx, edx
cmp ecx, eax
mov dword [esp + 0x28], edx
jbe 0x100c911a
shl eax, 1
inc edx
cmp eax, ecx
jb 0x100c910f
mov dword [esp + 0x28], edx
mov eax, dword [ebp + 0xc]
test esi, esi
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], edx
jne 0x100c9142
push esi
push ebx
mov ecx, edi
call fcn.100cc680
mov ecx, dword [edi + 0x4c]
call fcn.100e68a0
push 0x18
call fcn.1005473e
add esp, 4
mov dword [esp + 0x30], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x98], ebp
je 0x100c9178
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
push ecx
mov ecx, eax
call fcn.100c5b00
jmp 0x100c917a
xor eax, eax
mov cl, byte [esp + 0x44]
or esi, 0xffffffff
test cl, 0x80
mov dword [esp + 0x30], eax
mov dword [esp + 0x98], esi
mov ecx, eax
je 0x100c919a
call fcn.100c5ed0
jmp 0x100c919f
call fcn.100c5eb0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
je 0x100c92ba
push 0x18
call fcn.1005473e
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov dword [esp + 0x98], 1
je 0x100c91e0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
push ecx
push ebp
mov ecx, eax
call fcn.100c5b00
mov ebp, eax
mov ecx, ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0x1c], ebp
call fcn.100c5eb0
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jbe 0x100c92ba
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
xor edx, edx
test eax, eax
jbe 0x100c92aa
mov eax, edi
mov ecx, edx
imul ecx, dword [esp + 0x20]
imul eax, esi
mov ebx, dword [esp + 0x4c]
add ebx, eax
mov eax, edi
imul eax, dword [esp + 0x20]
add ecx, ebx
mov ebx, edx
imul ebx, esi
sub eax, ebx
mov ebx, dword [esp + 0x50]
add eax, ebx
mov ebx, dword [esp + 0x3c]
add ebx, ecx
test ebx, 0xffffff00
jle 0x100c926c
mov ebx, dword [esp + 0x34]
sar ecx, 8
cmp ecx, ebx
jge 0x100c926c
mov ecx, dword [esp + 0x18]
add ecx, eax
test ecx, 0xffffff00
jle 0x100c926c
mov ecx, dword [esp + 0x2c]
sar eax, 8
cmp eax, ecx
jl 0x100c9299
mov eax, dword [ebp + 0x10]
mov ecx, edx
imul eax, edi
sar ecx, 3
add eax, ecx
mov ecx, dword [ebp + 0x14]
lea esi, [eax + ecx]
mov eax, edx
and eax, 7
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
mov cl, byte [esi]
or cl, al
mov byte [esi], cl
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
inc edx
cmp edx, eax
jb 0x100c9212
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jb 0x100c9204
or esi, 0xffffffff
mov eax, dword [esp + 0x14]
push 4
imul eax, dword [esp + 0x14]
push eax
call fcn.100af8e0
mov ecx, dword [esp + 0x1c]
mov edi, eax
imul ecx, dword [esp + 0x18]
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x44], edi
add esp, 8
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x28]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 1
mov dword [esp + 0x70], esi
cmp eax, ebx
mov eax, 0xfffffffe
sbb ecx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], eax
lea eax, [edx - 1]
add ecx, 3
test eax, eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0xfffffffd
mov dword [esp + 0x74], esi
mov dword [esp + 0x88], 2
jl 0x100c942d
inc eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
push 0xffffffffffffffff
lea ecx, [esp + 0x84]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
xor ebp, ebp
push eax
mov eax, dword [esp + 0x70]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
call fcn.100c9830
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x18], ebp
jbe 0x100c9412
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jbe 0x100c9405
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
lea esi, [ecx + edx*4]
test eax, eax
jl 0x100c93de
cmp eax, dword [edi + 8]
jge 0x100c93de
test ebp, ebp
jl 0x100c93de
cmp ebp, dword [edi + 0xc]
jge 0x100c93de
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
imul ecx, ebp
add ecx, edx
mov edx, eax
sar edx, 3
xor ebx, ebx
mov bl, byte [ecx + edx]
mov cl, 7
mov edx, ebx
mov bl, al
and bl, 7
sub cl, bl
shr edx, cl
and edx, 1
jmp 0x100c93e0
xor edx, edx
mov ecx, dword [esi]
add esi, 4
mov ebx, ecx
add ecx, ecx
and ebx, 1
xor ebx, edx
mov edx, dword [esp + 0x18]
or ebx, ecx
inc edx
mov dword [esi - 4], ebx
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x18], edx
cmp eax, ecx
jb 0x100c93a5
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jb 0x100c9394
mov ebx, dword [esp + 0x48]
test edi, edi
je 0x100c941e
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
jne 0x100c9349
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
jbe 0x100c9527
mov esi, eax
mov edi, dword [esp + 0x4c]
imul esi, dword [esp + 0x24]
add esi, edi
mov edi, eax
imul edi, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
add edi, edx
xor ebx, ebx
test ecx, ecx
jbe 0x100c9516
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
lea ebp, [eax + ecx*4]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100c94c5
test ebx, ebx
jl 0x100c94c5
mov ecx, dword [esp + 0x1c]
cmp ebx, dword [ecx + 8]
jge 0x100c94c5
mov eax, dword [esp + 0x28]
test eax, eax
jl 0x100c94c5
cmp eax, dword [ecx + 0xc]
jge 0x100c94c5
mov eax, ecx
mov ecx, ebx
sar ecx, 3
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
imul edx, dword [esp + 0x28]
add edx, ecx
xor ecx, ecx
mov cl, byte [edx + eax]
mov dl, bl
mov eax, ecx
and dl, 7
mov cl, 7
sub cl, dl
shr eax, cl
and eax, 1
test eax, eax
jne 0x100c94ed
mov eax, dword [esp + 0x60]
mov ecx, edi
sar ecx, 8
push eax
mov eax, dword [ebp]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x6c]
sar edx, 8
push edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + eax*4]
push eax
call fcn.100c5f20
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add esi, edx
sub edi, ecx
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
add ebp, 4
inc ebx
cmp ebx, eax
jb 0x100c9476
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jb 0x100c9443
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100afa10
mov ecx, dword [esp + 0x20]
add esp, 4
test ecx, ecx
je 0x100c9542
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x100c959f
mov esi, dword [esp + 0x40]
cmp dword [esi + 0x24], 0xffffffff
jne 0x100c9575
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
add eax, ecx
mov ecx, dword [esi + 0x28]
cmp eax, ecx
jbe 0x100c9575
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
push edx
push eax
call fcn.100c5e20
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esi + 0x30]
push edx
push edi
call fcn.100c5f20
test edi, edi
je 0x100c95dc
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x100c95dc
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [edx + 0x38]
call fcn.100afad0
jmp 0x100c95dc
push str.Bad_grid_size_in_JBIG2_halftone_segment
jmp 0x100c95cc
mov edx, dword [edi]
push str.Bad_bitmap_size_in_JBIG2_halftone_segment
mov ecx, edi
call dword [edx + 0x20]
jmp 0x100c95d3
push str.Unexpected_EOF_in_JBIG2_stream
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
push eax
call fcn.100912b0
add esp, 8
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x18