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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x48]
push ebp
push esi
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x20]
push eax
mov eax, dword [ebx]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.10084220
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov edx, dword [ebx]
mov edi, dword [ecx + 4]
push edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x50], ecx
call sym.GEAR32PO.OCX_GPb_height_get
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x6c]
mov esi, eax
mov eax, dword [ebx + 0x78]
sub eax, edx
mov ebp, dword [ebx + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x74]
sub eax, ecx
sub esi, edi
mov edi, dword [ebx + 0x68]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
dec esi
push eax
mov dword [esp + 0x48], esi
sub edi, ebp
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov ecx, dword [ebx]
push ecx
mov dword [esp + 0x34], eax
call sym.GEAR32PO.OCX_GPb_bytes_per_raster_get
mov edx, dword [ebx]
push edx
mov dword [esp + 0x2c], eax
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10]
push eax
call fcn.10032ac0
mov ecx, dword [ebx]
mov ebp, eax
push ecx
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10032f10
mov edx, dword [ebx]
push edx
mov dword [esp + 0x18], eax
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10032f50
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
push eax
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10032f90
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x1003fe7d
mov ecx, dword [ebx + 0x80]
mov edx, dword [esp + 0x58]
mov eax, dword [ecx + edx*4]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x5c], eax
call fcn.100d3780
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
ja 0x1003fd3d
cmp edi, eax
jae 0x1003ffe6
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebx + 0xac]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x7c]
push ecx
mov ecx, dword [ebx + 0x80]
push edx
push eax
mov edx, esi
mov eax, dword [ecx + edi*4]
mov ecx, dword [esp + 0x50]
push 0
sub edx, eax
mov eax, dword [ebx + 0x5c]
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push ebp
push eax
call dword [esp + 0xa8]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1003fcf0
mov ecx, dword [ebx + 0x80]
mov edx, dword [esp + 0x54]
mov ecx, dword [ecx + edi*4]
cmp edx, ecx
je 0x1003fcf0
mov edx, dword [ebx + 0x68]
mov dword [esp + 0x54], ecx
sub edx, dword [ebx + 0x60]
push edx
mov edx, esi
sub edx, ecx
mov ecx, dword [esp + 0x3c]
push edx
push ecx
call eax
test eax, eax
je 0x1003fd0f
mov edx, dword [ebx + 0x9c]
mov eax, dword [esp + 0x5c]
add ebp, edx
inc edi
cmp edi, eax
jb 0x1003fc5a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x18
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
mov ebx, dword [esp + 0x54]
sub edx, eax
sub esi, ebx
push edx
push esi
push 0xfffff7bf
push 0x1914
push str.C:_accusoftgear_sourceDISPLAYDISPBAND.C
call fcn.10046940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x18
cmp edi, eax
jae 0x1003ffe6
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebx + 0xac]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x7c]
push ecx
mov ecx, dword [ebx + 0x80]
push edx
push eax
mov edx, esi
mov eax, dword [ecx + edi*4]
mov ecx, dword [esp + 0x50]
push 0
sub edx, eax
mov eax, dword [ebx + 0x5c]
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push ebp
push eax
call dword [esp + 0xa8]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1003fddb
mov ecx, dword [ebx + 0x80]
mov edx, dword [esp + 0x54]
mov ecx, dword [ecx + edi*4]
cmp edx, ecx
je 0x1003fddb
mov edx, dword [ebx + 0x68]
mov dword [esp + 0x54], ecx
sub edx, dword [ebx + 0x60]
push edx
mov edx, esi
sub edx, ecx
mov ecx, dword [esp + 0x3c]
push edx
push ecx
call eax
test eax, eax
je 0x1003fe4f
mov edx, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x9c]
mov eax, dword [esp + 0x5c]
add ebp, ecx
mov edx, dword [edx + edi*4]
inc edi
cmp edi, eax
mov dword [esp + 0x58], edi
jae 0x1003ffe6
mov eax, dword [ebx + 0x80]
cmp dword [eax + edi*4], edx
jne 0x1003fe3b
mov esi, ebp
mov edi, ebp
sub esi, ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x58]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x9c]
mov esi, dword [esp + 0x5c]
add ebp, ecx
inc eax
cmp eax, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov edi, eax
jb 0x1003fdfd
cmp edi, dword [esp + 0x5c]
jb 0x1003fd45
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x18
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x60]
mov ebx, dword [esp + 0x54]
sub ecx, eax
sub esi, ebx
push ecx
push esi
push 0xfffff7bf
push 0x1932
push str.C:_accusoftgear_sourceDISPLAYDISPBAND.C
call fcn.10046940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x18
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
ja 0x1003ff16
cmp edi, eax
jae 0x1003ffe6
mov edx, dword [ebx + 0xb0]
mov eax, dword [ebx + 0xac]
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [ebx + 0x7c]
push eax
mov eax, dword [ebx + 0x80]
push ecx
push edx
mov ecx, esi
mov edx, dword [eax + edi*4]
mov eax, dword [esp + 0x50]
push 0
sub ecx, edx
mov edx, dword [ebx + 0x5c]
push 0
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x68]
push eax
push ecx
push ebp
push edx
call dword [esp + 0xa8]
mov edx, dword [ebx + 0x9c]
mov eax, dword [esp + 0x5c]
add ebp, edx
inc edi
cmp edi, eax
jb 0x1003fe99
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x18
cmp edi, eax
jae 0x1003ffe6
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebx + 0xac]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x7c]
push ecx
mov ecx, dword [ebx + 0x80]
push edx
push eax
mov edx, esi
mov eax, dword [ecx + edi*4]
mov ecx, dword [esp + 0x50]
push 0
sub edx, eax
mov eax, dword [ebx + 0x5c]
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push ebp
push eax
call dword [esp + 0xa8]
mov edx, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x9c]
add ebp, ecx
mov eax, dword [edx + edi*4]
mov edx, dword [esp + 0x5c]
inc edi
cmp edi, edx
mov dword [esp + 0x58], edi
jae 0x1003ffdc
mov edx, dword [ebx + 0x80]
cmp dword [edx + edi*4], eax
jne 0x1003ffdc
mov esi, ebp
mov edi, ebp
sub esi, ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x58]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x9c]
mov esi, dword [esp + 0x5c]
add ebp, ecx
inc edx
cmp edx, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x58], edx
mov edi, edx
jb 0x1003ff9e
cmp edi, dword [esp + 0x5c]
jb 0x1003ff1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x18