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

Disassembly:
mov eax, 0x110c
call fcn.100f8f30
push ebx
push ebp
push esi
lea eax, [esp + 0x54]
push edi
lea ecx, [esp + 0x50]
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x50], ebp
call fcn.100d3780
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
call fcn.100a0c60
mov edi, dword [esp + 0x1120]
mov dword [esp + 0x68], eax
push edi
call sym.GEAR32PO.OCX_GPb_width_get
mov ebx, eax
push edi
mov dword [esp + 0x34], ebx
call sym.GEAR32PO.OCX_GPb_height_get
mov esi, eax
lea edx, [esp + 0x5c]
lea eax, [esp + 0x54]
push edx
push eax
push edi
mov dword [esp + 0x80], esi
call fcn.10082a60
lea eax, [esp + 0xb8]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
push ecx
push edx
push ebp
push 4
push esi
push ebx
push eax
call fcn.10032e40
push 0x40
lea ecx, [esp + 0x7c]
push ebp
push ecx
call fcn.100a9900
mov edx, dword [esp + 0x1124]
mov eax, dword [edx + 4]
test eax, eax
jne 0x100119a2
lea ecx, [esp + 0x79]
mov eax, 0x1011a279
mov dl, byte [eax - 1]
add eax, 3
mov byte [ecx + 1], dl
mov dl, byte [eax - 3]
mov byte [ecx], dl
mov dl, byte [eax - 2]
mov byte [ecx - 1], dl
add ecx, 4
cmp eax, 0x1011a2a9
jl 0x10011982
jmp 0x100119b2
push 0x40
push eax
lea eax, [esp + 0x80]
push eax
call fcn.100a98d0
lea ecx, [esp + 0x78]
lea edx, [esp + 0xe0]
push ecx
push edx
call fcn.10011650
lea ecx, [esp + 0xb8]
mov eax, dword [esp + 0xe4]
imul eax, dword [esp + 0xe8]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x78]
push eax
push ecx
push edi
call sym.GEAR32PO.OCX_GPb_DIB_alloc
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x60], ebx
je 0x10011a32
push edi
call sym.GEAR32PO.OCX_GPb_bytes_per_raster_get
push ebx
mov dword [esp + 0x44], eax
call fcn.10032bc0
push edi
mov dword [esp + 0x30], eax
call sym.GEAR32PO.OCX_GPb_image_pointer_get
push ebx
mov dword [esp + 0x1c], eax
call fcn.10032ac0
push edi
mov dword [esp + 0x14], eax
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
push edi
mov dword [esp + 0x38], eax
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
mov dword [esp + 0x48], eax
jmp 0x10011a58
lea edx, [esp + 0xb8]
push 0
push edx
call fcn.10032d70
push eax
push 0xfffffc18
push 0x29f
push str.C:_accusoftgear_sourceDITHER_bayer.c
call fcn.10046940
mov ebp, eax
test ebp, ebp
jne 0x10011d34
xor ebx, ebx
cmp esi, ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], 0x100fba10
jle 0x10011d15
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ebp
jle 0x10011c85
jmp 0x10011aa4
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x48], 0x18
jne 0x10011abc
movzx bx, byte [eax]
movzx bp, byte [eax + 1]
inc eax
inc eax
movzx cx, byte [eax]
jmp 0x10011ad7
mov ecx, dword [esp + 0x34]
xor edx, edx
mov dl, byte [eax]
movzx bx, byte [ecx + edx*4]
movzx bp, byte [ecx + edx*4 + 1]
lea ecx, [ecx + edx*4]
movzx cx, byte [ecx + 2]
and ecx, 0xffff
inc eax
mov esi, ecx
mov dword [esp + 0x44], eax
shr esi, 4
shl esi, 6
mov eax, 0x88888889
and ecx, 0xf
imul esi
add edx, esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x88888889
shl ecx, 6
mov edi, edx
imul ecx
add edx, ecx
mov eax, 0x88888889
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebp
and ecx, 0xffff
mov dword [esp + 0x6c], edx
mov esi, ecx
and ecx, 0xf
shr esi, 4
shl esi, 6
imul esi
add edx, esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x88888889
shl ecx, 6
mov ebp, edx
imul ecx
add edx, ecx
mov eax, 0x88888889
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebx
and ecx, 0xffff
mov dword [esp + 0x4c], edx
mov esi, ecx
and ecx, 0xf
shr esi, 4
shl esi, 6
imul esi
add edx, esi
mov esi, dword [esp + 0x24]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x88888889
shl ecx, 6
mov ebx, edx
imul ecx
add edx, ecx
xor eax, eax
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
xor ecx, ecx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x1c]
mov ax, word [edx + esi*2]
cmp edi, eax
jl 0x10011bb9
mov ecx, 0xf0
cmp dword [esp + 0x6c], eax
jl 0x10011bc2
or ecx, 0xf
shr cx, 4
xor esi, esi
cmp ebp, eax
jl 0x10011bd1
mov esi, 0xf0
cmp dword [esp + 0x4c], eax
jl 0x10011bda
or esi, 0xf
shr si, 4
xor edi, edi
cmp ebx, eax
jl 0x10011be9
mov edi, 0xf0
cmp dword [esp + 0x70], eax
jl 0x10011bf2
or edi, 0xf
and ecx, 0xffff
and esi, 0xffff
imul ecx, dword [esp + 0x64]
imul esi, dword [esp + 0xe8]
and edi, 0xffff
add ecx, esi
mov esi, dword [esp + 0x3c]
shr edi, 4
lea eax, [esp + edi + 0x11c]
mov cl, byte [eax + ecx]
mov eax, esi
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
je 0x10011c45
mov eax, dword [esp + 0x20]
mov dl, byte [eax]
or dl, cl
mov byte [eax], dl
inc eax
mov dword [esp + 0x20], eax
jmp 0x10011c4e
mov edx, dword [esp + 0x20]
shl cl, 4
mov byte [edx], cl
mov eax, dword [esp + 0x24]
inc esi
inc eax
mov dword [esp + 0x3c], esi
cdq
xor eax, edx
sub eax, edx
and eax, 7
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
cmp esi, eax
jl 0x10011aa0
mov edi, dword [esp + 0x1120]
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x38]
xor ebp, ebp
mov eax, dword [esp + 0x14]
cmp eax, 7
jge 0x10011ca2
mov ecx, eax
mov eax, dword [esp + 0x1c]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jmp 0x10011cae
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], 0x100fba10
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x10011cc8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
dec ecx
push esi
push ecx
push edx
call eax
test eax, eax
je 0x10011cfc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
inc ebx
dec edx
add ecx, eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
add edx, ecx
cmp ebx, esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], edx
jl 0x10011a7e
jmp 0x10011d15
push esi
sub esi, ebx
dec esi
push esi
push 0xfffff7bf
push 0x36a
push str.C:_accusoftgear_sourceDITHER_bayer.c
call fcn.10046940
push edi
push edi
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call sym.GEAR32PO.OCX_GPb_DIB_free
push ebp
push edi
mov edx, dword [esp + 0x68]
push edx
call sym.GEAR32PO.OCX_GPb_image_associate
push edi
call sym.GEAR32PO.OCX_GPb_logical_palette_update
mov eax, dword [esp + 0x68]
push eax
call fcn.100a12c0
call fcn.10046b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret 8