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

Disassembly:
sub esp, 0x8c
lea eax, [esp + 0x64]
lea ecx, [esp + 0x94]
push eax
push ecx
mov dword [esp + 0x1c], 0
call fcn.100abd50
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x100bf635
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push edx
push eax
call fcn.100402c0
jmp 0x100bfcae
push edi
push esi
push ebp
lea ecx, [esp + 0x7c]
push ebx
push ecx
push 3
call sym.GEAR32PO.OCX_GPb_settings_hook_func_get
lea edx, [esp + 0x7c]
push edx
push 2
call sym.GEAR32PO.OCX_GPb_settings_hook_func_get
lea eax, [esp + 0x8c]
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
push eax
push ecx
push edi
call fcn.10085870
push edi
call fcn.10084820
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x100bf68f
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x8c]
push edx
push ecx
push edi
call eax
lea edx, [esp + 0x60]
push edx
push edi
call fcn.10083a40
lea eax, [esp + 0x50]
push eax
push edi
call fcn.10083a80
lea ecx, [esp + 0x4c]
push ecx
push edi
call fcn.10084c10
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
sub eax, ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
sub eax, esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
sub eax, edx
lea edx, [esp + 0x24]
inc eax
push edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
sub eax, ebp
push edi
inc eax
mov dword [esp + 0x48], eax
call fcn.10083b90
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100bf708
lea eax, [esp + 0x24]
push eax
push edi
call fcn.10083b70
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x88]
push ecx
push 1
push edx
push eax
call fcn.100a9de0
push edi
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10032b90
cmp eax, 0x1f4
mov dword [esp + 0x78], eax
jne 0x100bf741
push edi
call fcn.100d05a0
lea ecx, [esp + 0x44]
lea edx, [esp + 0x10]
push ecx
push edx
push edi
call fcn.10084df0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100bf9c5
push edi
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 8
ja 0x100bf80a
call fcn.100a0c60
mov esi, eax
push edi
mov dword [esp + 0x20], esi
call sym.GEAR32PO.OCX_GPb_palette_size_get
push eax
push esi
call fcn.100a0c80
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
jne 0x100bf7a8
push 1
push 0x64
push 0xfffffc18
push 0x7b
push str.C:_accusoftgear_sourceDISPLAYPrint.c
call fcn.10046940
jmp 0x100bf9c5
push edi
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
push edi
mov ebp, eax
call sym.GEAR32PO.OCX_GPb_palette_size_get
push eax
push ebp
push esi
call fcn.100a98d0
push edi
xor esi, esi
call sym.GEAR32PO.OCX_GPb_palette_entries_get
test eax, eax
jle 0x100bf9c5
inc ebp
mov ax, word [esp + 0x11]
mov cl, byte [ebp + 1]
cmp ah, cl
jne 0x100bf7f7
cmp al, byte [ebp]
jne 0x100bf7f7
mov al, byte [esp + 0x10]
mov cl, byte [ebp - 1]
cmp al, cl
jne 0x100bf7f7
mov byte [ebp + 1], 0xff
mov byte [ebp], 0xff
mov byte [ebp - 1], 0xff
push edi
inc esi
add ebp, 4
call sym.GEAR32PO.OCX_GPb_palette_entries_get
cmp esi, eax
jl 0x100bf7cf
jmp 0x100bf9c5
push edi
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 0x18
jne 0x100bf8db
call fcn.100a0c60
mov ebx, eax
push edi
mov dword [esp + 0x20], ebx
call sym.GEAR32PO.OCX_GPb_width_get
push edi
mov dword [esp + 0x1c], eax
call sym.GEAR32PO.OCX_GPb_height_get
push edi
mov ebp, eax
call sym.GEAR32PO.OCX_GPb_bytes_per_raster_get
push edi
mov dword [esp + 0x18], eax
call sym.GEAR32PO.OCX_GPb_image_size_get
mov esi, eax
push esi
push ebx
call fcn.100a0c80
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x20], ebx
jne 0x100bf876
push 1
push 0x65
push 0xfffffc18
push 0x9a
push str.C:_accusoftgear_sourceDISPLAYPrint.c
call fcn.10046940
jmp 0x100bf9c5
push esi
push edi
call sym.GEAR32PO.OCX_GPb_image_pointer_get
push eax
push ebx
call fcn.100a98d0
test ebp, ebp
jle 0x100bf9c5
xor ebx, ebx
push edi
call sym.GEAR32PO.OCX_GPb_image_pointer_get
add eax, ebx
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x100bf8cd
mov dx, word [esp + 0x11]
mov esi, ecx
mov cl, byte [esp + 0x10]
cmp cl, byte [eax]
jne 0x100bf8c7
cmp dl, byte [eax + 1]
jne 0x100bf8c7
cmp dh, byte [eax + 2]
jne 0x100bf8c7
mov byte [eax], 0xff
mov byte [eax + 1], 0xff
mov byte [eax + 2], 0xff
mov dx, word [esp + 0x11]
add eax, 3
dec esi
jne 0x100bf8a5
mov ecx, dword [esp + 0x14]
add ebx, ecx
dec ebp
jne 0x100bf88e
jmp 0x100bf9c5
push edi
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 0x10
jne 0x100bf9c5
call fcn.100a0c60
mov ebp, eax
push edi
mov dword [esp + 0x20], ebp
call sym.GEAR32PO.OCX_GPb_image_size_get
push edi
mov esi, eax
call sym.GEAR32PO.OCX_GPb_width_get
push edi
mov dword [esp + 0x1c], eax
call sym.GEAR32PO.OCX_GPb_height_get
push edi
mov dword [esp + 0x2c], eax
call sym.GEAR32PO.OCX_GPb_bytes_per_raster_get
xor bx, bx
push esi
mov dword [esp + 0x18], eax
mov ax, word [esp + 0x15]
mov cl, byte [esp + 0x14]
mov dl, ah
shr dl, 3
shr al, 3
mov bl, dl
xor dx, dx
movzx ax, al
shl ebx, 5
or ebx, eax
push ebp
shr cl, 3
shl ebx, 5
mov dl, cl
or ebx, edx
call fcn.100a0c80
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
jne 0x100bf972
push 2
push 0x65
push 0xfffffc18
push 0xc2
push str.C:_accusoftgear_sourceDISPLAYPrint.c
call fcn.10046940
jmp 0x100bf9c5
push esi
push edi
call sym.GEAR32PO.OCX_GPb_image_pointer_get
push eax
push ebp
call fcn.100a98d0
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x100bf9c5
xor esi, esi
mov ebp, eax
push edi
call sym.GEAR32PO.OCX_GPb_image_pointer_get
add eax, esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x100bf9bc
mov dx, word [eax]
and edx, 0x7fff
cmp bx, dx
jne 0x100bf9b1
mov word [eax], 0xffff
jmp 0x100bf9b6
mov word [eax], 0
add eax, 2
dec ecx
jne 0x100bf99c
mov ecx, dword [esp + 0x14]
add esi, ecx
dec ebp
jne 0x100bf98c
push edi
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 0x10
jne 0x100bfb8b
mov dword [esp + 0x14], 0
call fcn.100a0c60
mov ebp, eax
push edi
mov dword [esp + 0x2c], ebp
call sym.GEAR32PO.OCX_GPb_width_get
push edi
mov ebx, eax
call sym.GEAR32PO.OCX_GPb_height_get
mov esi, eax
push 8
push esi
push ebx
call fcn.10032e10
push eax
push ebp
mov dword [esp + 0x34], eax
call fcn.100a0c80
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x48], ebp
jne 0x100bfa2f
push eax
mov eax, dword [esp + 0x30]
push eax
push 0xfffffc18
push 0xee
push str.C:_accusoftgear_sourceDISPLAYPrint.c
call fcn.10046940
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.10085f90
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100bfa57
push 0
push 0
push 0xffffffffffffffff
push 0xf2
push str.C:_accusoftgear_sourceDISPLAYPrint.c
call fcn.10046940
call fcn.10046b40
test eax, eax
jne 0x100bfb70
push eax
push eax
push eax
push 8
push esi
push ebx
push ebp
call fcn.10032e40
push ebp
call fcn.10032b20
xor ecx, ecx
add eax, 2
mov byte [eax - 2], cl
mov byte [eax - 1], cl
mov byte [eax], cl
inc ecx
add eax, 4
cmp ecx, 0x100
jl 0x100bfa7c
push edi
call sym.GEAR32PO.OCX_GPb_bytes_per_raster_get
push ebp
mov dword [esp + 0x74], eax
call fcn.10032bc0
mov dword [esp + 0x84], eax
xor eax, eax
cmp esi, eax
jle 0x100bfb27
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], esi
push edi
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov esi, eax
push ebp
add esi, dword [esp + 0x1c]
call fcn.10032ac0
xor ecx, ecx
mov edx, dword [esp + 0x30]
test ebx, ebx
lea ebp, [eax + edx]
jle 0x100bfaf9
movzx ax, byte [esi]
inc esi
xor edx, edx
mov dh, byte [esi]
or eax, edx
mov edx, dword [esp + 0x14]
and eax, 0xffff
inc esi
inc ecx
mov al, byte [eax + edx]
cmp ecx, ebx
mov byte [ecx + ebp - 1], al
jl 0x100bfad8
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x84]
add ecx, edx
dec eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jne 0x100bfab9
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
push eax
push 0
push ecx
push ebp
push ebp
call fcn.10032ac0
push eax
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0xd0]
push edx
push eax
push ecx
call fcn.100a9960
test ebp, ebp
je 0x100bfb7f
mov edx, dword [esp + 0x28]
push ebp
push edx
call fcn.100a1010
mov eax, dword [esp + 0x28]
push eax
call fcn.100a12c0
jmp 0x100bfbda
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x50]
push ecx
push 0
push edx
push edi
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
push edi
call sym.GEAR32PO.OCX_GPb_image_pointer_get
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0xd0]
push eax
push ecx
push edx
call fcn.100a9960
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100bfc5f
push edi
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 8
push edi
ja 0x100bfc0e
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
mov esi, eax
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x100bfc5f
push edi
call sym.GEAR32PO.OCX_GPb_palette_size_get
push eax
push ebx
push esi
call fcn.100a98d0
push ebx
jmp 0x100bfc4f
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 0x18
push edi
jne 0x100bfc28
call sym.GEAR32PO.OCX_GPb_image_size_get
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100bfc5f
jmp 0x100bfc40
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 0x10
jne 0x100bfc5f
push edi
call sym.GEAR32PO.OCX_GPb_image_size_get
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100bfc5f
push eax
push esi
push edi
call sym.GEAR32PO.OCX_GPb_image_pointer_get
push eax
call fcn.100a98d0
push esi
mov esi, dword [esp + 0x20]
push esi
call fcn.100a1010
push esi
call fcn.100a12c0
cmp dword [esp + 0x78], 0x1f4
jne 0x100bfc6f
push edi
call fcn.100d0780
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xa4]
push eax
push 1
push ecx
call fcn.100a9e40
mov eax, dword [esp + 0x80]
test eax, eax
je 0x100bfca4
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x8c]
push edx
push ecx
push edi
call eax
push edi
call fcn.100860a0
pop ebx
pop ebp
pop esi
pop edi
lea edx, [esp + 0x64]
lea eax, [esp + 0x94]
push edx
push eax
call fcn.100abde0
call fcn.10046b40
add esp, 0x8c
ret 0xc