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

Disassembly:
sub esp, 0x38
cmp dword [ebx + 0x20], 0x20
push ebp
push esi
push edi
jl 0x100cf7f1
push str.void_vpf_SatScanner::createWorkImage___const
push str._s:_n_borderHeightE___32
lea eax, [esp + 0x40]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea eax, [esp + 0x3c]
push eax
call fcn.1017d044
mov edx, dword [ebx + 0x40]
mov eax, dword [edx + 0x3c]
lea esi, [ebx + 0x40]
mov ecx, esi
call eax
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [edx + 0x40]
mov ecx, esi
mov dword [esp + 0x14], ebp
call eax
fld dword [ebx + 0x100]
mov ecx, dword [ebx + 0xfc]
fnstcw word [esp + 0x10]
mov edx, 1
shl edx, cl
mov edi, eax
movzx eax, word [esp + 0x10]
mov dword [esp + 0x2c], edx
or eax, 0xc00
mov esi, ebp
fidiv dword [esp + 0x2c]
shl esi, 0x10
xor edx, edx
shl edi, 0x10
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul qword [0x101e94b8]
mov dword [esp + 0x2c], eax
fldcw word [esp + 0x2c]
mov eax, esi
fistp qword [esp + 0x38]
mov ecx, dword [esp + 0x38]
div ecx
fldcw word [esp + 0x10]
xor edx, edx
mov dword [esp + 0x28], ecx
mov ebp, eax
mov eax, edi
div ecx
test ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
jbe 0x100cf890
mov edx, ebp
imul edx, ecx
cmp edx, esi
jb 0x100cf890
sub ebp, 1
mov dword [esp + 0x1c], ebp
test eax, eax
jbe 0x100cf8a4
mov edx, eax
imul edx, ecx
cmp edx, edi
jb 0x100cf8a4
sub eax, 1
mov dword [esp + 0x24], eax
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
lea eax, [eax + edx*2]
lea ebp, [ebp + ecx*2]
push eax
push ebp
lea esi, [ebx + 0x13c]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x20], eax
mov dword [ebx + 0x134], ebp
mov dword [ebx + 0x138], eax
call fcn.10049360
mov edi, dword [esp + 0x14]
lea esi, [ebx + 0x110]
call fcn.1012df90
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x54]
lea ecx, [ebx + 0x78]
push edx
push ebp
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x60]
xor edi, edi
test eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
jbe 0x100cf97b
lea ecx, [esi + ebp - 1]
mov dword [esp + 0x10], ecx
lea esp, [esp]
mov ecx, dword [esp + 0x20]
cmp edi, ecx
jb 0x100cf953
sub eax, ecx
cmp edi, eax
jae 0x100cf953
xor eax, eax
test edx, edx
jbe 0x100cf96a
mov ecx, dword [esp + 0x10]
jmp 0x100cf940
mov byte [eax + esi], 0x80
mov byte [ecx], 0x80
add eax, 1
sub ecx, 1
cmp eax, edx
jb 0x100cf940
jmp 0x100cf96a
test ebp, ebp
jbe 0x100cf96a
push ebp
push 0x80
push esi
call fcn.101816d0
mov edx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], ebp
add edi, 1
add esi, ebp
cmp edi, eax
jb 0x100cf920
mov edx, dword [ebx + 0x114]
xor esi, esi
cmp dword [esp + 0x24], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], esi
jbe 0x100cfa97
jmp 0x100cf99b
mov ebp, dword [esp + 0x30]
movzx ecx, si
mov eax, esi
shr eax, 0x10
mov edx, 0x10000
sub edx, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14]
imul eax, ecx
add eax, dword [ebx + 0x28]
add esi, dword [esp + 0x28]
mov dword [esp + 0x34], eax
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x20]
add eax, dword [esp + 0x20]
xor ecx, ecx
imul eax, ebp
add eax, dword [ebx + 0x60]
xor edi, edi
add eax, dword [ebx + 0x1c]
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x2c], esi
jbe 0x100cfa38
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
sub ebp, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], ebp
jmp 0x100cfa04
mov ebp, dword [esp + 0x34]
movzx ebp, byte [esi + ebp]
movzx esi, byte [esi]
imul ebp, edx
imul esi, dword [esp + 0x38]
add ebp, esi
mov esi, dword [esp + 0x10]
shr ebp, 0xa
mov word [esi + ecx*2], bp
mov esi, dword [esp + 0x18]
add ecx, 1
add esi, 1
cmp ecx, dword [esp + 0x14]
mov dword [esp + 0x18], esi
jb 0x100cfa00
mov esi, dword [esp + 0x2c]
xor ebp, ebp
cmp dword [esp + 0x1c], ebp
jbe 0x100cfa82
movzx ecx, di
mov esi, edi
shr esi, 0x10
mov edx, 0x10000
sub edx, ecx
mov ecx, dword [esp + 0x10]
movzx ecx, word [ecx + esi*2]
imul edx, ecx
mov ecx, dword [esp + 0x10]
movzx ecx, word [ecx + esi*2 + 2]
movzx esi, di
add edi, dword [esp + 0x28]
imul ecx, esi
add edx, ecx
shr edx, 0x16
mov byte [eax + ebp], dl
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jb 0x100cfa40
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jb 0x100cf997
pop edi
pop esi
pop ebp
add esp, 0x38
ret