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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
lea eax, [esp + 0x5c]
push edi
lea ecx, [esp + 0x5c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x5c], edi
call fcn.100d3780
xor ebx, ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x50], edi
call fcn.100a0c60
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x1c], eax
push esi
call sym.GEAR32PO.OCX_GPb_width_get
mov ebp, eax
push esi
mov dword [esp + 0x3c], ebp
call sym.GEAR32PO.OCX_GPb_height_get
lea edx, [esp + 0x58]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x68]
push edx
push eax
push esi
call fcn.10082a60
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
push ecx
push edx
push esi
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10032b90
push eax
push 1
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x80]
push eax
push ebp
push ecx
call fcn.10032e40
push 8
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.100a9900
push esi
mov byte [esp + 0x42], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x46], 0xff
mov byte [esp + 0x45], 0xff
mov byte [esp + 0x44], 0xff
call fcn.10032b60
push eax
call sym.GEAR32PO.OCX_GPb_image_alloc
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x70]
push ecx
push edx
push eax
mov dword [esp + 0x34], eax
call sym.GEAR32PO.OCX_GPb_DIB_alloc
mov esi, eax
push ebx
mov eax, dword [esp + 0x2c]
push eax
push esi
call sym.GEAR32PO.OCX_GPb_image_associate
lea ebp, [ebp*4 + 0x10]
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x64], eax
jne 0x100112ff
mov edx, dword [esp + 0x1c]
push edx
push ebp
push 0xfffffc18
push 0x117
push str.C:_accusoftgear_sourceDITHER_bayer.c
call fcn.10046940
mov ebx, eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax]
push ecx
push edx
call fcn.100a0c80
test esi, esi
mov dword [esp + 0x6c], eax
je 0x10011394
mov ebp, dword [esp + 0x9c]
push ebp
call sym.GEAR32PO.OCX_GPb_bytes_per_raster_get
push esi
mov dword [esp + 0x54], eax
call fcn.10032bc0
push ebp
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov dword [esp + 0x24], eax
lea eax, [esp + 0x70]
push eax
call fcn.10032bc0
push eax
mov esi, dword [esp + 0x20]
push esi
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x48], eax
jne 0x10011379
lea ecx, [esp + 0x70]
push esi
push ecx
call fcn.10032bc0
push eax
push 0xfffffc18
push 0x12a
push str.C:_accusoftgear_sourceDITHER_bayer.c
call fcn.10046940
mov ebx, eax
push ebp
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
mov ebp, eax
mov esi, dword [esp + 0x9c]
push esi
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
mov dword [esp + 0x54], eax
jmp 0x100113c2
lea edx, [esp + 0x70]
push 0
push edx
call fcn.10032d70
push eax
push 0xfffffc18
push 0x132
push str.C:_accusoftgear_sourceDITHER_bayer.c
call fcn.10046940
mov ebx, eax
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x9c]
xor ecx, ecx
cmp ebx, ecx
jne 0x1001162c
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
cmp eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], 0x100fbaa0
jle 0x100115f9
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
xor ecx, ecx
test eax, eax
mov byte [esp + 0x13], 0x80
mov byte [ebx], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], ecx
jle 0x10011527
mov eax, dword [esp + 0x54]
cmp eax, 4
je 0x10011459
cmp eax, 8
je 0x10011453
cmp eax, 0x18
jne 0x100114bd
push esi
call fcn.1001e250
and eax, 0xff
shl eax, 8
mov ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
add esi, 3
mov edi, edx
jmp 0x100114bd
movzx ax, byte [esi]
jmp 0x10011474
test cl, 1
jne 0x1001146a
mov cl, byte [esi]
shr cl, 4
xor ax, ax
mov al, cl
jmp 0x10011475
mov dl, byte [esi]
and dl, 0xf
xor ax, ax
mov al, dl
inc esi
and eax, 0xffff
mov cl, byte [ebp + eax*4]
lea eax, [ebp + eax*4]
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
mov dl, byte [eax + 1]
push ecx
mov byte [esp + 0x19], dl
mov al, byte [eax + 2]
mov byte [esp + 0x1a], al
call fcn.1001e250
and eax, 0xff
shl eax, 8
mov ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
cmp di, word [ecx + edx*2]
jb 0x100114e2
test al, al
jne 0x100114de
inc ebx
mov byte [esp + 0x13], 0x40
mov byte [ebx], 0x80
jmp 0x100114fb
or byte [ebx], al
jmp 0x100114f5
test al, al
jne 0x100114f1
inc ebx
mov byte [esp + 0x13], 0x40
mov byte [ebx], 0
jmp 0x100114fb
mov al, byte [esp + 0x13]
shr al, 1
mov byte [esp + 0x13], al
lea eax, [edx + 1]
mov ecx, dword [esp + 0x4c]
cdq
xor eax, edx
inc ecx
sub eax, edx
mov dword [esp + 0x4c], ecx
and eax, 0xf
xor eax, edx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
jl 0x10011412
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
cmp ecx, 0xf
jge 0x10011544
mov edx, ecx
mov ecx, dword [esp + 0x2c]
inc edx
add ecx, 0x20
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
jmp 0x10011554
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0x100fbaa0
push eax
push 0
push ebx
mov ebx, dword [esp + 0x78]
push ebx
call fcn.100337a0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x74]
add esp, 0x10
lea esi, [edx - 1]
push eax
push ebx
mov ebx, dword [esp + 0x30]
push esi
push ebx
call fcn.10006310
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10011596
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
push ecx
push esi
push edx
call eax
test eax, eax
je 0x100115cf
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0x18]
inc eax
dec esi
cmp eax, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], edx
jl 0x100113ec
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x9c]
jmp 0x100115fd
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
push eax
sub eax, ebp
dec eax
push eax
push 0xfffff7bf
push 0x188
push str.C:_accusoftgear_sourceDITHER_bayer.c
call fcn.10046940
mov esi, dword [esp + 0x9c]
jmp 0x100115fd
mov ebx, dword [esp + 0x28]
push ebx
push esi
call fcn.10085770
push esi
push esi
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call sym.GEAR32PO.OCX_GPb_DIB_free
push 0
push esi
push ebx
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call sym.GEAR32PO.OCX_GPb_image_associate
push ebx
call fcn.100857a0
push esi
call sym.GEAR32PO.OCX_GPb_logical_palette_update
mov edx, dword [esp + 0x1c]
push edx
call fcn.100a12c0
call fcn.10046b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8