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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
xor eax, eax
push ebx
mov dword [esp + 8], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
push esi
lea eax, [esp + 0x58]
push edi
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.100d3780
mov esi, dword [ebp + 8]
push esi
call sym.GEAR32PO.OCX_GPb_width_get
mov ebx, eax
push esi
mov dword [esp + 0x50], ebx
call sym.GEAR32PO.OCX_GPb_height_get
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x44], eax
push edi
call sym.GEAR32PO.OCX_GPb_width_get
mov esi, eax
push edi
mov dword [esp + 0x34], esi
call sym.GEAR32PO.OCX_GPb_height_get
mov dword [esp + 0x3c], eax
call fcn.100a0c60
cmp ebx, esi
mov dword [esp + 0x24], eax
mov ecx, ebx
jg 0x100cc30c
mov ecx, esi
lea edx, [ecx + ecx + 8]
push edx
push eax
call fcn.100a0c80
mov edi, eax
test edi, edi
mov dword [esp + 0x34], edi
jne 0x100cc33d
cmp ebx, esi
jle 0x100cc327
mov esi, ebx
lea eax, [esi + esi + 8]
push 0
push eax
push 0xfffffc18
push 0x18d3
jmp 0x100cc941
fild dword [esp + 0x30]
fild dword [esp + 0x4c]
fild dword [esp + 0x44]
fxch st(2)
fst qword [esp + 0x60]
fdiv st(1)
fxch st(1)
fdiv qword [esp + 0x60]
fild dword [esp + 0x3c]
fxch st(2)
fst qword [esp + 0x60]
fxch st(2)
fdivp st(3)
fxch st(1)
fcomp qword [0x10113710]
fstp qword [esp + 0x68]
fnstsw ax
fstp qword [esp + 0x70]
test ah, 1
je 0x100cc3a9
mov ecx, dword [esp + 0x24]
lea ebx, [ebx + ebx + 8]
push ebx
push ecx
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x10], eax
jne 0x100cc3a9
push eax
push ebx
push 0xfffffc18
push 0x18de
push str.C:_accusoftgear_sourceIMG_PROCRESIZE.C
call fcn.10046940
call fcn.10046b40
test eax, eax
jne 0x100cc8e6
mov eax, dword [esp + 0x3c]
xor esi, esi
test eax, eax
mov dword [esp + 0x40], esi
jle 0x100cc8dd
mov edx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
lea ebx, [edx - 1]
mov dword [esp + 0x50], ebx
jmp 0x100cc3dd
mov ebx, dword [esp + 0x50]
fild dword [esp + 0x40]
sub esp, 8
fmul qword [esp + 0x78]
fstp qword [esp]
call fcn.100cca30
call sub.MSVCRT.dll__ftol
cmp eax, ebx
jle 0x100cc3fb
mov eax, ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 8]
sub ecx, eax
dec ecx
push ecx
push edx
call sym.GEAR32PO.OCX_GPb_image_run_row_get
fld qword [esp + 0x60]
fcomp qword [0x10113710]
mov ebx, eax
mov dword [esp + 0x28], ebx
fnstsw ax
test ah, 0x40
je 0x100cc44b
mov ax, word [ebx]
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 0xc]
push eax
dec ecx
push ebx
push ecx
push edx
call fcn.10084f50
mov ecx, dword [esp + 0x20]
xor eax, eax
mov ax, word [ebx]
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x100cc8aa
fld qword [esp + 0x60]
fcomp qword [0x10113710]
fnstsw ax
test ah, 0x41
jne 0x100cc503
mov cx, word [ebx]
xor edx, edx
mov word [edi], cx
mov dx, word [ebx]
shr edx, 1
mov esi, 1
sub edx, 3
cmp edx, esi
jle 0x100cc4c9
mov ecx, dword [esp + 0x34]
mov eax, ebx
add edi, 2
sub eax, ecx
mov dword [esp + 0x4c], eax
jmp 0x100cc48e
mov eax, dword [esp + 0x4c]
xor ecx, ecx
sub esp, 8
mov cx, word [eax + edi]
mov dword [esp + 0x50], ecx
fild dword [esp + 0x50]
fmul qword [esp + 0x68]
fstp qword [esp]
call fcn.100cca30
call sub.MSVCRT.dll__ftol
xor edx, edx
mov word [edi], ax
mov dx, word [ebx]
inc esi
shr edx, 1
sub edx, 3
add edi, 2
cmp esi, edx
jl 0x100cc48a
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov word [edi + esi*2], ax
inc esi
mov edx, dword [ebp + 0xc]
dec ecx
mov word [edi + esi*2], ax
mov word [edi + esi*2 + 2], ax
mov ax, word [edi]
push eax
push edi
push ecx
push edx
call fcn.10084f50
mov ecx, dword [esp + 0x20]
xor eax, eax
mov ax, word [edi]
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x100cc8a6
mov eax, dword [esp + 0x10]
xor esi, esi
xor edi, edi
mov dword [esp + 0x48], 1
mov word [eax], 0xffff
mov si, word [ebx]
shr esi, 1
sub esi, 3
mov dword [esp + 0x14], edi
cmp esi, 1
mov dword [esp + 0x18], esi
jle 0x100cc6ec
mov esi, eax
mov dword [esp + 0x4c], 2
mov edx, dword [esp + 0x4c]
xor ecx, ecx
sub esp, 8
mov cx, word [ebx + edx]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
fmul qword [esp + 0x68]
fstp qword [esp]
call fcn.100cca30
call sub.MSVCRT.dll__ftol
mov ebx, eax
mov ax, word [esi]
cmp bx, ax
jne 0x100cc585
cmp word [esp + 0x14], 0
jne 0x100cc57c
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x2c], eax
inc dword [esp + 0x14]
jmp 0x100cc6b8
cmp word [esp + 0x14], 0
jne 0x100cc5b0
cmp bx, word [esp + 0x30]
je 0x100cc6e4
mov edx, dword [esp + 0x10]
inc edi
mov ecx, edi
and ecx, 0xffff
lea esi, [edx + ecx*2]
mov word [esi], bx
jmp 0x100cc6b8
and eax, 0xffff
mov ecx, edi
mov dword [esp + 0x54], eax
sub esp, 8
fild dword [esp + 0x5c]
and ecx, 0xffff
mov dword [esp + 0x24], ecx
fmul qword [esp + 0x70]
fstp qword [esp]
call fcn.100cca30
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jg 0x100cc607
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
lea ecx, [ecx + eax*2]
cmp word [ecx], dx
ja 0x100cc607
inc eax
add ecx, 2
cmp eax, dword [esp + 0x18]
jle 0x100cc5f8
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub ecx, edx
dec ecx
neg ecx
cdq
sbb ecx, ecx
xor eax, edx
sub eax, edx
inc ecx
and eax, 1
xor eax, edx
sub eax, edx
dec eax
neg eax
sbb eax, eax
inc eax
cmp eax, ecx
mov eax, dword [esp + 0x14]
jne 0x100cc661
and eax, 0xffff
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
jne 0x100cc6a6
inc word [esi]
mov eax, dword [esp + 0x10]
inc edi
mov edx, edi
and edx, 0xffff
lea esi, [eax + edx*2]
jmp 0x100cc6a6
and eax, 0xffff
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
jne 0x100cc686
mov edx, dword [esp + 0x10]
inc edi
mov ecx, edi
and ecx, 0xffff
lea esi, [edx + ecx*2]
jmp 0x100cc6a6
mov ax, word [esi]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add edi, 2
mov edx, edi
inc ax
and edx, 0xffff
mov word [esi + ecx*2 + 2], ax
lea esi, [esi + edx*2]
cmp bx, word [esp + 0x30]
mov word [esi], bx
mov dword [esp + 0x14], 0
je 0x100cc6de
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
inc eax
add edx, 2
cmp eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
jl 0x100cc53b
jmp 0x100cc6e8
add edi, 0xffff
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
cmp word [esp + 0x14], 0
jbe 0x100cc7c8
mov edx, dword [esp + 0x10]
mov eax, edi
and eax, 0xffff
xor ecx, ecx
sub esp, 8
mov dword [esp + 0x24], eax
mov cx, word [edx + eax*2]
mov dword [esp + 0x5c], ecx
fild dword [esp + 0x5c]
fmul qword [esp + 0x70]
fstp qword [esp]
call fcn.100cca30
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x2c]
cmp ecx, esi
jg 0x100cc741
lea ebx, [ebx + ecx*2]
cmp word [ebx], ax
ja 0x100cc741
inc ecx
add ebx, 2
cmp ecx, esi
jle 0x100cc734
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub ecx, edx
dec ecx
neg ecx
cdq
sbb ecx, ecx
xor eax, edx
sub eax, edx
inc ecx
and eax, 1
xor eax, edx
sub eax, edx
dec eax
neg eax
sbb eax, eax
inc eax
cmp eax, ecx
mov eax, dword [esp + 0x14]
jne 0x100cc79e
and eax, 0xffff
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
jne 0x100cc796
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc word [ecx + eax*2]
jmp 0x100cc7c8
add edi, 0xffff
jmp 0x100cc7c8
and eax, 0xffff
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
cmp eax, 1
jne 0x100cc7c8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dx, word [ecx + eax*2]
inc dx
inc edi
mov word [ecx + eax*2 + 2], dx
mov esi, dword [esp + 0x34]
mov edx, edi
and edx, 0xffff
mov ecx, edx
mov dword [esp + 0x1c], edx
cmp ecx, 1
mov eax, edx
jle 0x100cc826
lea edx, [esi + eax*2]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x10]
lea edx, [edx + ecx*2]
mov dword [esp + 0x48], edx
mov bx, word [edx]
cmp bx, word [edx - 2]
jne 0x100cc802
dec ecx
sub edx, 2
jmp 0x100cc815
mov edx, dword [esp + 0x4c]
dec eax
mov word [edx], bx
sub edx, 2
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x48]
dec ecx
sub edx, 2
cmp ecx, 1
mov dword [esp + 0x48], edx
jg 0x100cc7f3
mov edx, dword [esp + 0x1c]
cmp ecx, 1
jne 0x100cc839
mov ecx, dword [esp + 0x10]
dec eax
mov cx, word [ecx + 2]
mov word [esi + eax*2 + 2], cx
mov ecx, eax
sub edx, eax
shl ecx, 0xf
sub ecx, eax
add ecx, edi
lea ecx, [ecx + ecx + 8]
mov word [esi], cx
mov ecx, 1
cmp edx, ecx
jl 0x100cc86d
lea edi, [esi + 2]
lea eax, [esi + eax*2 + 2]
lea ecx, [edx + 1]
mov bx, word [eax]
add eax, 2
mov word [edi], bx
add edi, 2
dec edx
jne 0x100cc85e
mov eax, dword [esp + 0x30]
mov word [esi + ecx*2], ax
inc ecx
mov word [esi + ecx*2], ax
mov word [esi + ecx*2 + 2], ax
mov dx, word [esi]
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0xc]
push edx
dec eax
push esi
push eax
push ecx
call fcn.10084f50
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
xor edx, edx
mov dx, word [esi]
add eax, edx
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
test eax, eax
je 0x100cc8c7
mov ecx, dword [esp + 0x5c]
push ebx
push esi
push ecx
call eax
test eax, eax
je 0x100cc963
mov ecx, dword [esp + 0x38]
inc esi
dec ecx
cmp esi, ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], ecx
jl 0x100cc3d9
mov eax, dword [ebp + 0xc]
push eax
call fcn.10085510
fld qword [esp + 0x60]
fcomp qword [0x10113710]
fnstsw ax
test ah, 1
je 0x100cc925
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100cc925
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.100a1010
test eax, eax
je 0x100cc925
push 0
push eax
push 0xfffff42a
push 0x19d6
push str.C:_accusoftgear_sourceIMG_PROCRESIZE.C
call fcn.10046940
mov edx, dword [esp + 0x24]
push edi
push edx
call fcn.100a1010
test eax, eax
je 0x100cc94b
push 0
push eax
push 0xfffff42a
push 0x19dc
push str.C:_accusoftgear_sourceIMG_PROCRESIZE.C
call fcn.10046940
mov eax, dword [esp + 0x24]
push eax
call fcn.100a12c0
call fcn.10046b40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
fld qword [esp + 0x60]
fcomp qword [0x10113710]
fnstsw ax
test ah, 1
je 0x100cc9a2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100cc9a2
mov edx, dword [esp + 0x24]
push eax
push edx
call fcn.100a1010
test eax, eax
je 0x100cc9a2
push 0
push eax
push 0xfffff42a
push 0x19c0
push str.C:_accusoftgear_sourceIMG_PROCRESIZE.C
call fcn.10046940
push edi
mov edi, dword [esp + 0x28]
push edi
call fcn.100a1010
push edi
call fcn.100a12c0
push ebx
push esi
push 0xfffff7bf
push 0x19c7
push str.C:_accusoftgear_sourceIMG_PROCRESIZE.C
call fcn.10046940
call fcn.10046b40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8