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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esi]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.10084220
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov edx, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov ebx, dword [ecx + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi]
mov edi, dword [eax + 4]
push ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x4c], 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 + 0x20], eax
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov dword [esp + 0x20], 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 + 0x6c], eax
call fcn.10032ac0
mov ecx, dword [esi + 0x6c]
mov edi, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 0x34]
sub ecx, eax
mov eax, dword [esi + 0x78]
sub ebx, eax
mov eax, dword [esp + 0x54]
add ebx, eax
and ecx, 7
and ebx, 7
mov dword [esp + 0x64], ecx
test edx, edx
je 0x10036b3c
mov edx, dword [esi + 0x80]
lea ecx, [esp + 0x28]
push ecx
mov eax, dword [edx + eax*4]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x58], eax
call fcn.100d3780
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
mov dword [esp + 0x54], eax
jae 0x10036bb5
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
mov eax, ebx
push ecx
mov ecx, dword [esi + 0x7c]
and eax, 7
push edx
mov edx, dword [esp + 0x74]
push ecx
push eax
mov eax, dword [esi + 0x80]
push edx
mov edx, dword [esp + 0x70]
mov ecx, ebp
inc ebx
sub ecx, dword [eax + edx*4]
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push edi
push eax
call dword [esp + 0x94]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10036ae7
mov ecx, dword [esi + 0x80]
mov edx, dword [esp + 0x54]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x50]
cmp edx, ecx
je 0x10036ae7
mov edx, dword [esi + 0x68]
mov dword [esp + 0x50], ecx
sub edx, dword [esi + 0x60]
push edx
mov edx, ebp
sub edx, ecx
mov ecx, dword [esp + 0x2c]
push edx
push ecx
call eax
test eax, eax
je 0x10036b0e
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x58]
add edi, eax
mov eax, dword [esp + 0x54]
inc eax
cmp eax, ecx
mov dword [esp + 0x54], eax
jb 0x10036a5d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x1c
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x60]
mov edi, dword [esp + 0x50]
sub edx, eax
sub ebp, edi
push edx
push ebp
push 0xfffff7bf
push 0x106
push str.C:_accusoftgear_sourceDISPLAYDISPBAND.C
call fcn.10046940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x1c
mov edx, dword [esp + 0x58]
mov dword [esp + 0x54], eax
cmp eax, edx
jae 0x10036bb5
jmp 0x10036b4e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov eax, ebx
push edx
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esi + 0x7c]
and eax, 7
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esi + 0x80]
push ecx
mov ecx, ebp
inc ebx
sub ecx, dword [eax + edx*4]
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push edi
push eax
call dword [esp + 0x94]
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x58]
add edi, eax
mov eax, dword [esp + 0x54]
inc eax
cmp eax, ecx
mov dword [esp + 0x54], eax
jb 0x10036b4a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x1c