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

Disassembly:
sub esp, 0xe8
mov eax, dword [0x1058ac14]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xf4]
push ebx
mov ebx, dword [esp + 0xf0]
push ebp
mov ebp, dword [esp + 0xf8]
cmp eax, ebp
push edi
mov edi, ebp
mov dword [esp + 0x4c], ebx
cmovl edi, eax
cmovg ebp, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0xfc], ebp
cmp edi, dword [ebx + 0x40]
jl 0x102195cc
cmp ebp, dword [ebx + 0x44]
jg 0x102195cc
mov ecx, dword [ebx + 0x30]
push esi
call fcn.10243dc0
mov ecx, eax
xor edx, edx
mov eax, edi
sub eax, dword [ebx + 0x40]
div ecx
mov ecx, dword [ebx + 0x30]
mov esi, eax
call fcn.10243dc0
mov ecx, eax
xor edx, edx
mov eax, ebp
mov ebp, esi
sub eax, dword [ebx + 0x40]
div ecx
mov ecx, dword [ebx + 0x3c]
cmp ecx, 1
push 0
cmove ebp, eax
xor edx, edx
cmp ecx, 1
mov dword [esp + 0x34], ebp
setne dl
inc eax
dec esi
cmp ecx, 1
mov ecx, dword [ebx + 0x30]
cmovne esi, eax
lea eax, [esp + 0x74]
lea edx, [edx*2 - 1]
mov dword [esp + 0x5c], esi
push eax
mov dword [esp + 0x5c], edx
call fcn.10244290
cmp ebp, esi
je 0x102195b3
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x60]
push 0
push ebp
push 0
push eax
call fcn.102443a0
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x34], eax
mov edx, dword [esp + 0x100]
mov ecx, edx
cmovl edi, eax
cmp dword [esp + 0x6c], edx
mov dword [esp + 0x2c], edi
cmovl ecx, dword [esp + 0x6c]
mov dword [esp + 0x24], ecx
cmp ebp, dword [ebx + 0x58]
je 0x1021930e
mov ecx, dword [ebx + 0x30]
push 0
push ebp
push ebp
push 0
call fcn.102440d0
mov ecx, dword [ebx + 0x30]
dec eax
push eax
push 0
call fcn.102449b0
mov dword [ebx + 0x58], ebp
mov ecx, dword [ebx + 0x50]
lea eax, [esp + 0x5c]
push eax
call fcn.10216d80
mov ecx, dword [ebx + 0x50]
mov esi, dword [eax]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x2c], esi
call fcn.10216da0
cmp esi, dword [eax]
je 0x1021959d
lea eax, [ebx + 0x48]
nop dword [eax]
movups xmm0, xmmword [esi + 0x110]
mov ecx, eax
movups xmmword [esp + 0xb8], xmm0
movups xmm0, xmmword [esi + 0x120]
movups xmmword [esp + 0xc8], xmm0
movq xmm0, qword [esi + 0x130]
add esi, 0x10
push esi
movq qword [esp + 0xdc], xmm0
call fcn.102165a0
movups xmm0, xmmword [eax + 0x10]
movups xmm1, xmmword [eax]
movups xmmword [esp + 0xa8], xmm0
movups xmmword [esp + 0x90], xmm0
movq xmm0, qword [eax + 0x20]
movd eax, xmm1
movups xmmword [esp + 0x80], xmm1
push eax
movq qword [esp + 0xa4], xmm0
call fcn.10220e60
mov ebp, dword [esp + 0xac]
add esp, 4
mov ebx, dword [esp + 0x70]
mov esi, ebp
mov dword [esp + 0x40], eax
sub esi, ebx
mov dword [esp + 0x18], ebp
dec esi
test ebx, ebx
js 0x102193d9
mov eax, ebx
cdq
idiv ebp
mov ecx, eax
jmp 0x102193ef
test ebp, ebp
js 0x102193e1
mov eax, esi
jmp 0x102193e8
or eax, 0xffffffff
sub eax, ebp
sub eax, ebx
cdq
idiv ebp
mov ecx, eax
neg ecx
imul ecx, ebp
mov eax, ebx
sub eax, ecx
je 0x102193fb
inc ebx
jmp 0x102193cb
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x94]
mov esi, ebx
sub esi, dword [esp + 0x2c]
dec esi
test edi, edi
js 0x1021941a
mov eax, edi
cdq
idiv ebx
mov ecx, eax
jmp 0x10219430
test ebx, ebx
js 0x10219422
mov eax, esi
jmp 0x10219429
or eax, 0xffffffff
sub eax, ebx
sub eax, edi
cdq
idiv ebx
mov ecx, eax
neg ecx
imul ecx, ebx
mov eax, edi
sub eax, ecx
je 0x1021943c
inc edi
jmp 0x1021940c
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x24]
jg 0x1021956c
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0x10]
imul eax, esi
push ebp
push esi
mov dword [esp + 0x40], eax
call fcn.102195f0
imul eax, dword [esp + 0x90]
add esp, 8
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov eax, ebx
neg eax
mov dword [esp + 0x48], eax
mov eax, ebx
sub eax, edi
dec eax
mov dword [esp + 0x20], eax
nop word [eax + eax]
mov ebp, edi
sub ebp, dword [esp + 0x64]
imul ebp, dword [esp + 0xc4]
add ebp, dword [esp + 0x38]
add ebp, dword [esp + 0xbc]
test edi, edi
js 0x102194b6
mov eax, edi
cdq
idiv ebx
mov edi, eax
jmp 0x102194c7
test ebx, ebx
jns 0x102194c0
mov eax, edi
not eax
sub eax, ebx
cdq
idiv ebx
mov edi, eax
neg edi
imul edi, dword [esp + 0x8c]
mov edx, esi
mov dword [esp + 0x1c], esi
add edi, dword [esp + 0x3c]
add edi, dword [esp + 0x84]
cmp esi, ecx
jg 0x1021954c
mov esi, dword [esp + 0xc0]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
imul esi, eax
mov dword [esp + 0x44], esi
nop word [eax + eax]
test ebx, ebx
jle 0x1021952e
mov esi, ebp
mov eax, edi
sub esi, edi
mov edx, ebx
nop dword [eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
mov byte [eax - 1], cl
sub edx, 1
jne 0x10219510
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
add edi, dword [esp + 0x88]
add edx, eax
add ebp, esi
mov dword [esp + 0x1c], edx
cmp edx, ecx
jle 0x10219500
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add edi, ebx
add eax, dword [esp + 0x48]
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
cmp edi, dword [esp + 0x24]
jle 0x10219490
lea ecx, [esp + 0x28]
call fcn.10218ff0
mov ebx, dword [esp + 0x50]
lea eax, [esp + 0x4c]
push eax
mov ecx, dword [ebx + 0x50]
call fcn.10216da0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
cmp esi, dword [eax]
lea eax, [ebx + 0x48]
jne 0x10219340
mov ebp, dword [esp + 0x30]
add ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], ebp
cmp ebp, dword [esp + 0x58]
jne 0x102192b5
mov ecx, dword [esp + 0xf4]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1026b168
add esp, 0xe8
ret
push str.Tried_to_read_scan_line_outside_the_image_files_data_window.
lea ecx, [esp + 0xb8]
call fcn.1020a380
push 0x10403360
lea eax, [esp + 0xb8]
push eax
call fcn.1026cad5
int3