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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x100c2070]
xor eax, esp
mov dword [esp + 0xb4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push edi
sub esp, 0x10
mov edi, ecx
mov eax, esp
mov dword [esp + 0x68], edi
movups xmmword [eax], xmm0
call fcn.10028bd0
movups xmm0, xmmword [edi + 0x158]
mov ecx, dword [edi + 0x668]
movaps xmmword [esp + 0x40], xmm0
mov eax, dword [esp + 0x44]
add eax, dword [edi + 0x650]
mov edx, dword [esp + 0x48]
sub edx, dword [edi + 0x654]
movd esi, xmm0
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
add esi, dword [edi + 0x64c]
sub eax, dword [edi + 0x658]
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x1002f4c4
mov eax, dword [ecx]
mov eax, dword [eax + 0xe0]
call eax
test al, al
je 0x1002f4c4
mov ecx, dword [edi + 0x668]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
sub dword [esp + 0x48], eax
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x1002f4f5
mov eax, dword [ecx]
mov eax, dword [eax + 0xe0]
call eax
test al, al
je 0x1002f4f5
mov ecx, dword [edi + 0x66c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 0x4c], ecx
jmp 0x1002f4f9
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
sub eax, esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x66c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x1002f53b
mov eax, dword [ecx]
mov eax, dword [eax + 0xe0]
call eax
test al, al
je 0x1002f53b
mov eax, dword [edi + 0x66c]
mov ecx, dword [esp + 0x3c]
add ecx, dword [eax + 0x640]
mov dword [esp + 0x3c], ecx
xor eax, eax
mov dword [esp + 0x34], 0
xor edx, edx
mov dword [esp + 0x54], 0
xor ecx, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x644], eax
jle 0x1002f6d2
nop dword [eax]
mov eax, dword [edi + 0x640]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xe0]
call eax
test al, al
je 0x1002f6ad
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10c]
call eax
test al, al
jne 0x1002f6ad
push dword [esp + 0x2c]
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push dword [esp + 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x12c]
cmp dword [esp + 0x18], 0
jne 0x1002f5c5
inc dword [esp + 0x54]
jmp 0x1002f609
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x84]
call eax
cmp dword [esp + 0x18], eax
jge 0x1002f5e7
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x84]
call eax
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x8c]
call eax
cmp dword [esp + 0x18], eax
jle 0x1002f609
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x8c]
call eax
mov dword [esp + 0x18], eax
mov eax, dword [edi]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x50]
call eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
lea esi, [eax + 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x50]
call eax
mov ecx, dword [esi]
add ecx, dword [eax + 4]
add ecx, dword [esp + 0x18]
add dword [esp + 0x24], ecx
lea ecx, [esp + 0x80]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x50]
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x74]
call eax
cmp dword [esp + 0x14], eax
jge 0x1002f675
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x74]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x7c]
call eax
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x1002f695
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x7c]
call eax
mov ecx, eax
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x34], ecx
mov eax, dword [esp + 0x20]
cmovg ecx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
jmp 0x1002f6b1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [edi + 0x644]
jl 0x1002f570
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
lea ecx, [eax - 1]
mov eax, dword [edi + 0x65c]
imul eax, ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [edi + 0x694]
add edx, eax
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x1002f76f
mov eax, dword [ecx + 0x694]
add ecx, 0x694
mov eax, dword [eax + 0x20]
call eax
mov dword [esp + 0x30], eax
test eax, eax
je 0x1002f76b
mov edx, dword [eax + 0x63c]
lea ecx, [eax + 0x63c]
mov edx, dword [edx + 0xc]
call edx
test eax, eax
jle 0x1002f76b
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x14]
push dword [esp + 0x2c]
push dword [esp + 0x60]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x12c]
call eax
cmp dword [eax], 0
jge 0x1002f74a
mov dword [esp + 0x34], 0
jmp 0x1002f76b
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x78]
push dword [esp + 0x2c]
push dword [esp + 0x60]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x12c]
call eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x20], 0
mov dword [esp + 0x64], 0
test ecx, ecx
jle 0x1002f79b
mov eax, dword [esp + 0x2c]
sub eax, edx
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x64], eax
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x1002f7c7
mov eax, dword [ecx]
mov eax, dword [eax + 0xe0]
call eax
test al, al
je 0x1002f7c7
mov eax, dword [edi + 0x668]
mov ecx, dword [esp + 0x28]
sub ecx, dword [eax + 0x644]
mov dword [esp + 0x28], ecx
mov edx, dword [edi + 0x66c]
mov ecx, esi
mov dword [esp + 0x38], ecx
test edx, edx
je 0x1002f7f9
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xe0]
call eax
mov ecx, esi
test al, al
je 0x1002f7f9
mov eax, dword [edi + 0x66c]
sub ecx, dword [eax + 0x644]
mov dword [esp + 0x38], ecx
xor eax, eax
mov dword [esp + 0x70], ecx
mov byte [esp + 0x1f], 1
mov dword [esp + 0x60], 0
mov dword [esp + 0x30], eax
cmp dword [edi + 0x644], eax
jle 0x1002fbc2
nop dword [eax]
mov esi, dword [edi + 0x640]
shl eax, 2
mov dword [esp + 0x78], eax
mov esi, dword [eax + esi]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xe0]
call eax
test al, al
je 0x1002fba9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x1002f868
mov eax, dword [edi]
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, edi
call dword [eax + 0x1d0]
jmp 0x1002fba9
mov eax, dword [esi]
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call dword [eax + 0x50]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x84]
mov eax, dword [esi]
push ecx
push dword [esp + 0x40]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0x12c]
cmp dword [esp + 0x18], 0
jne 0x1002f919
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], ecx
cmp eax, dword [esp + 0x54]
jne 0x1002f8d3
mov eax, dword [esp + 0x2c]
mov ecx, 0
sub eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x24]
cmovs eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x84]
call eax
cmp dword [esp + 0x18], eax
jge 0x1002f8f5
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x84]
call eax
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x8c]
call eax
cmp dword [esp + 0x18], eax
jle 0x1002f965
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x8c]
call eax
mov dword [esp + 0x18], eax
jmp 0x1002f965
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x84]
call eax
cmp dword [esp + 0x18], eax
jge 0x1002f93b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x84]
call eax
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x8c]
call eax
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jle 0x1002f961
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x8c]
call eax
mov ecx, eax
mov dword [esp + 0x18], ecx
sub dword [esp + 0x24], ecx
mov eax, dword [esp + 0x3c]
mov ecx, esi
sub eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
cmp dword [esp + 0x34], eax
cmovg eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x74]
call eax
cmp dword [esp + 0x14], eax
jge 0x1002f9a0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x74]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x7c]
call eax
cmp dword [esp + 0x14], eax
jle 0x1002f9bc
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x7c]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x60]
call eax
mov ecx, esi
test eax, eax
jle 0x1002fb01
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
cmp ecx, dword [edi + 0x644]
jge 0x1002fa04
mov ecx, dword [edi + 0x640]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + ecx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov dword [esp + 0x6c], eax
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x8c]
je 0x1002fa37
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x1f], 0
lea eax, [edx + ecx]
add eax, dword [esp + 0x84]
add dword [esp + 0x20], eax
mov eax, dword [edi + 0x65c]
add eax, edx
add eax, ecx
sub dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
sub esp, 0x10
add eax, dword [esp + 0x90]
mov ecx, esi
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x94]
add eax, dword [esp + 0x38]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x90]
add eax, dword [esp + 0x48]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x28]
add eax, edx
mov edx, dword [esi]
add eax, dword [esp + 0x94]
add eax, dword [esp + 0x38]
mov dword [esp + 0xac], eax
mov eax, esp
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
add ecx, edx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
add ecx, esi
add eax, dword [esp + 0x70]
mov edi, dword [esp + 0x58]
cmp ecx, eax
jle 0x1002faee
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x65c]
add eax, dword [esp + 0x8c]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x84]
add dword [esp + 0x28], eax
mov byte [esp + 0x1f], 1
jmp 0x1002fba9
mov eax, dword [edi + 0x660]
add eax, edx
add esi, eax
mov dword [esp + 0x38], esi
jmp 0x1002fba9
mov eax, dword [esp + 0x38]
sub esp, 0x10
add eax, dword [esp + 0x90]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x94]
mov edx, dword [esi]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x90]
add eax, dword [esp + 0x48]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x9c]
add eax, dword [esp + 0x28]
add eax, dword [esp + 0x94]
add eax, dword [esp + 0x38]
mov dword [esp + 0xbc], eax
mov eax, esp
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov edi, dword [edi + 0x65c]
mov esi, dword [esp + 0x8c]
mov edx, dword [esp + 0x18]
lea eax, [edi + esi]
add eax, edx
add eax, dword [esp + 0x84]
add dword [esp + 0x28], eax
lea eax, [esi + edx]
add eax, dword [esp + 0x84]
add dword [esp + 0x20], eax
lea eax, [edi + esi]
mov edi, dword [esp + 0x58]
add eax, edx
sub dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [edi + 0x644]
jl 0x1002f820
mov esi, dword [esp + 0x40]
mov eax, dword [edi + 0x65c]
imul eax, dword [esp + 0x74]
mov ecx, dword [edi + 0x66c]
add dword [esp + 0x20], eax
test ecx, ecx
je 0x1002fdd5
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x34], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xe0]
jle 0x1002fd0e
call eax
mov ecx, dword [edi + 0x66c]
test al, al
je 0x1002fc4b
sub esi, dword [esp + 0x48]
add esi, dword [esp + 0x34]
cmp dword [ecx + 0x640], esi
je 0x1002fdd5
xor eax, eax
test esi, esi
cmovs esi, eax
mov eax, esi
mov dword [ecx + 0x640], esi
cmp dword [ecx + 0x644], eax
jle 0x1002fc32
mov dword [ecx + 0x644], eax
movups xmm0, xmmword [ecx + 0x158]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x38]
jmp 0x1002fdd5
mov eax, dword [ecx]
push 1
call dword [eax + 0xe4]
sub esi, dword [esp + 0x48]
mov ecx, dword [edi + 0x66c]
add esi, dword [esp + 0x34]
cmp dword [ecx + 0x640], esi
je 0x1002fc9c
xor eax, eax
test esi, esi
cmovs esi, eax
mov eax, esi
mov dword [ecx + 0x640], esi
cmp dword [ecx + 0x644], eax
jle 0x1002fc88
mov dword [ecx + 0x644], eax
movups xmm0, xmmword [ecx + 0x158]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov esi, dword [edi + 0x66c]
cmp dword [esi + 0x644], 0
je 0x1002fcf8
mov eax, dword [esi + 0x640]
xor ecx, ecx
movups xmm0, xmmword [esi + 0x158]
mov edx, dword [esi]
test eax, eax
cmovs ecx, eax
sub esp, 0x10
mov eax, esp
mov dword [esi + 0x644], ecx
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov ecx, dword [esi + 0x64c]
test ecx, ecx
je 0x1002fcf8
mov eax, dword [ecx]
push ecx
push 0
push 0
mov eax, dword [eax + 0x24]
push str.scroll
call eax
mov ecx, dword [esi + 0x40]
push eax
call fcn.100239f0
mov ecx, dword [edi + 0x66c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
sub dword [esp + 0x4c], eax
jmp 0x1002fdd5
call eax
test al, al
je 0x1002fdd5
mov ecx, dword [edi + 0x66c]
push 0
mov eax, dword [ecx]
call dword [eax + 0xe4]
mov ecx, dword [edi + 0x66c]
cmp dword [ecx + 0x640], 0
je 0x1002fd68
cmp dword [ecx + 0x644], 0
mov dword [ecx + 0x640], 0
jle 0x1002fd54
mov dword [ecx + 0x644], 0
movups xmm0, xmmword [ecx + 0x158]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov esi, dword [edi + 0x66c]
cmp dword [esi + 0x644], 0
je 0x1002fdc4
mov eax, dword [esi + 0x640]
xor ecx, ecx
movups xmm0, xmmword [esi + 0x158]
mov edx, dword [esi]
test eax, eax
cmovs ecx, eax
sub esp, 0x10
mov eax, esp
mov dword [esi + 0x644], ecx
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov ecx, dword [esi + 0x64c]
test ecx, ecx
je 0x1002fdc4
mov eax, dword [ecx]
push ecx
push 0
push 0
mov eax, dword [eax + 0x24]
push str.scroll
call eax
mov ecx, dword [esi + 0x40]
push eax
call fcn.100239f0
mov ecx, dword [edi + 0x66c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
add dword [esp + 0x4c], eax
push dword [esp + 0x20]
movups xmm0, xmmword [esp + 0x44]
mov edx, dword [edi]
mov ecx, edi
push dword [esp + 0x38]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x1d4]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.1006c6c9
mov esp, ebp
pop ebp
ret 0x10