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

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esi]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
call fcn.10084220
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
mov ebx, dword [ecx + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi]
mov edi, dword [eax + 4]
push ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x54], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
call sym.GEAR32PO.OCX_GPb_height_get
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [esi + 0x74]
sub ebp, edi
sub eax, ecx
push edx
dec ebp
mov dword [esp + 0x2c], eax
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_GPb_bytes_per_raster_get
mov ecx, dword [esi + 0x10]
push ecx
mov dword [esp + 0x28], eax
call fcn.10032ac0
mov edi, eax
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x38]
sub eax, edx
mov edx, dword [esp + 0x60]
and eax, 7
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x78]
sub ebx, eax
add ebx, edx
mov edx, dword [esi]
push edx
and ebx, 7
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10032f10
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10032f50
mov ecx, dword [esi]
push ecx
mov dword [esp + 0x78], eax
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10032f90
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x10040213
mov edx, dword [esi + 0x80]
mov eax, dword [esp + 0x60]
mov ecx, dword [edx + eax*4]
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x64], ecx
call fcn.100d3780
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
mov dword [esp + 0x60], eax
jae 0x100402b3
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xac]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
mov eax, ebx
push edx
mov edx, dword [esi + 0x7c]
and eax, 7
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
mov eax, dword [esp + 0x4c]
mov edx, ebp
push eax
mov eax, dword [esp + 0x90]
inc ebx
sub edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x5c]
mov eax, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push edi
push ecx
call dword [esp + 0xb4]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100401be
mov edx, dword [esi + 0x80]
mov ecx, dword [esp + 0x60]
mov ecx, dword [edx + ecx*4]
mov edx, dword [esp + 0x5c]
cmp edx, ecx
je 0x100401be
mov edx, dword [esi + 0x68]
mov dword [esp + 0x5c], ecx
sub edx, dword [esi + 0x60]
push edx
mov edx, ebp
sub edx, ecx
mov ecx, dword [esp + 0x38]
push edx
push ecx
call eax
test eax, eax
je 0x100401e5
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x64]
add edi, eax
mov eax, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x60], eax
jb 0x10040117
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x1c
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x60]
mov edi, dword [esp + 0x5c]
sub edx, eax
sub ebp, edi
push edx
push ebp
push 0xfffff7bf
push 0x19c4
push str.C:_accusoftgear_sourceDISPLAYDISPBAND.C
call fcn.10046940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x1c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
mov dword [esp + 0x60], eax
jae 0x100402b3
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xac]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
mov eax, ebx
push edx
mov edx, dword [esi + 0x7c]
and eax, 7
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
mov eax, dword [esp + 0x4c]
mov edx, ebp
push eax
mov eax, dword [esp + 0x90]
inc ebx
sub edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x5c]
mov eax, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push edi
push ecx
call dword [esp + 0xb4]
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x64]
add edi, eax
mov eax, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x60], eax
jb 0x10040227
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0x1c