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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x4c90b4]
xor eax, esp
mov dword [esp + 0x64], eax
movups xmm0, xmmword [ebp + 8]
push esi
push edi
sub esp, 0x10
mov edi, ecx
mov eax, esp
mov dword [esp + 0x4c], edi
movups xmmword [eax], xmm0
call fcn.00413490
movups xmm0, xmmword [edi + 0x158]
mov eax, dword [edi + 0x64c]
mov ecx, dword [edi + 0x668]
movups xmmword [ebp + 8], xmm0
mov byte [esp + 0x1f], 0
movd dword [ebp + 8], xmm0
add dword [ebp + 8], eax
mov eax, dword [edi + 0x650]
add dword [ebp + 0xc], eax
mov eax, dword [edi + 0x654]
sub dword [ebp + 0x10], eax
mov eax, dword [edi + 0x658]
sub dword [ebp + 0x14], eax
test ecx, ecx
je 0x418ac3
mov eax, dword [ecx]
mov eax, dword [eax + 0xe4]
call eax
test al, al
je 0x418ac3
mov ecx, dword [edi + 0x668]
mov byte [esp + 0x1f], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x418aeb
mov eax, dword [ecx]
mov eax, dword [eax + 0xe4]
call eax
test al, al
je 0x418aeb
mov ecx, dword [edi + 0x66c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
sub dword [ebp + 0x14], eax
mov ecx, dword [edi + 0x674]
test ecx, ecx
je 0x418c1d
movups xmm0, xmmword [ebp + 8]
mov eax, dword [edi + 0x8ac]
add eax, dword [ebp + 8]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x8b4]
sub dword [esp + 0x48], eax
mov eax, dword [edi + 0x8b0]
add dword [esp + 0x44], eax
mov eax, dword [edi + 0x8b8]
sub dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
push eax
call fcn.00417540
cmp byte [esp + 0x1f], 0
je 0x418c1d
mov ecx, dword [edi + 0x668]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe4]
call eax
test al, al
je 0x418b63
cmp byte [edi + 0x678], 0
je 0x418c1d
mov ecx, dword [edi + 0x668]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
call eax
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], eax
mov ecx, edi
mov eax, dword [edi + 0x674]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov esi, dword [eax + 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0
push 0
push dword [eax + 8]
mov ecx, esi
push 1
call dword [edx + 0x44]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
cmp dword [esp + 0x24], eax
jle 0x418bfd
mov ecx, dword [edi + 0x668]
push 1
mov eax, dword [ecx]
call dword [eax + 0xe8]
mov ecx, dword [edi + 0x668]
push 0
call fcn.0042cf20
mov byte [edi + 0x678], 1
jmp 0x418c1d
cmp byte [edi + 0x678], 0
je 0x418c1d
mov ecx, dword [edi + 0x668]
push 0
mov eax, dword [ecx]
call dword [eax + 0xe8]
mov byte [edi + 0x678], 0
mov ecx, dword [edi + 0x668]
test ecx, ecx
je 0x418c76
mov eax, dword [ecx]
mov eax, dword [eax + 0xe4]
call eax
test al, al
je 0x418c76
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x668]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
call eax
add eax, dword [ebp + 0x10]
sub esp, 0x10
mov ecx, dword [edi + 0x668]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x50]
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x3c]
mov ecx, dword [edi + 0x66c]
test ecx, ecx
je 0x418ccf
mov eax, dword [ecx]
mov eax, dword [eax + 0xe4]
call eax
test al, al
je 0x418ccf
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x66c]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
add eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [edi + 0x66c]
mov dword [esp + 0x5c], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x50]
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x3c]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub esi, dword [ebp + 8]
sub eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x66c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x418d0b
mov eax, dword [ecx]
mov eax, dword [eax + 0xe4]
call eax
test al, al
je 0x418d0b
mov eax, dword [edi + 0x66c]
add esi, dword [eax + 0x640]
mov dword [esp + 0x2c], esi
xor eax, eax
mov dword [esp + 0x24], 0
xor edx, edx
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x644], eax
jle 0x418e23
mov eax, dword [edi + 0x640]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x38], esi
mov eax, dword [esi]
mov eax, dword [eax + 0xe4]
call eax
test al, al
je 0x418e06
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x110]
call eax
test al, al
jne 0x418e06
push dword [esp + 0x34]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push dword [esp + 0x30]
push ecx
mov ecx, esi
call dword [eax + 0x130]
cmp dword [esp + 0x14], 0
jne 0x418d8a
inc dword [esp + 0x24]
jmp 0x418dc8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x78]
call eax
cmp dword [esp + 0x14], eax
jge 0x418da6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x78]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
cmp dword [esp + 0x14], eax
jle 0x418dc8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x54]
call eax
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
lea esi, [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
call eax
mov ecx, dword [esi]
add ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ecx, dword [eax]
mov eax, dword [esp + 0x28]
add edx, ecx
inc eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
jmp 0x418e0e
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [edi + 0x644]
jl 0x418d31
lea ecx, [eax - 1]
mov dword [esp + 0x30], 0
mov eax, dword [edi + 0x65c]
xor esi, esi
imul eax, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], esi
add edx, eax
test ecx, ecx
jle 0x418e5f
mov eax, dword [esp + 0x2c]
sub eax, edx
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [edi + 0x66c]
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x418e92
mov eax, dword [ecx]
mov eax, dword [eax + 0xe4]
call eax
test al, al
je 0x418e92
mov eax, dword [edi + 0x66c]
mov edx, dword [esp + 0x20]
sub edx, dword [eax + 0x644]
mov dword [esp + 0x20], edx
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [edi + 0x644], eax
jle 0x419061
mov esi, dword [edi + 0x640]
mov esi, dword [esi + eax*4]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xe4]
call eax
test al, al
je 0x419048
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x110]
call eax
test al, al
je 0x418ee4
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x24]
call dword [eax + 0x1d4]
jmp 0x419048
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call dword [eax + 0x54]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x40]
push dword [esp + 0x34]
mov eax, dword [esi]
push ecx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0x130]
cmp dword [esp + 0x14], 0
mov ecx, esi
jne 0x418f21
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x78]
call eax
cmp dword [esp + 0x14], eax
jge 0x418f3b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x78]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
cmp dword [esp + 0x14], eax
jle 0x418f5d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x6c]
call eax
test eax, eax
jne 0x418f78
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
sub eax, dword [ebp + 0xc]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov ecx, esi
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x88]
call eax
cmp dword [esp + 0x18], eax
jge 0x418fa5
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x88]
call eax
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
cmp dword [esp + 0x18], eax
jle 0x418fc7
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x90]
call eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
sub esp, 0x10
add eax, dword [esp + 0x50]
add eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x50]
mov edx, dword [esi]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x54]
add eax, dword [ebp + 0xc]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 0xc]
add ecx, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
mov eax, esp
mov dword [esp + 0x64], ecx
mov ecx, esi
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
call dword [edx + 0x3c]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov edi, dword [edi + 0x65c]
lea eax, [edi + esi]
add eax, edx
add eax, dword [esp + 0x40]
add dword [esp + 0x20], eax
lea eax, [esi + edx]
add eax, dword [esp + 0x40]
add dword [esp + 0x28], eax
lea eax, [edi + esi]
mov edi, dword [esp + 0x3c]
add eax, edx
sub dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [edi + 0x644]
jl 0x418ea4
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 0x65c]
imul eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x66c]
add esi, eax
test ecx, ecx
je 0x4191f2
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cmp esi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xe4]
jle 0x419131
call eax
mov ecx, dword [edi + 0x66c]
test al, al
je 0x4190f4
sub esi, dword [ebp + 0x10]
add esi, dword [ebp + 8]
cmp dword [ecx + 0x640], esi
je 0x4191f2
xor eax, eax
test esi, esi
cmovs esi, eax
mov eax, esi
mov dword [ecx + 0x640], esi
cmp dword [ecx + 0x644], eax
jle 0x4190cd
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 + 0x3c]
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx]
push 1
call dword [eax + 0xe8]
sub esi, dword [ebp + 0x10]
mov ecx, dword [edi + 0x66c]
add esi, dword [ebp + 8]
cmp dword [ecx + 0x640], esi
je 0x41918b
xor eax, eax
test esi, esi
cmovs esi, eax
mov eax, esi
mov dword [ecx + 0x640], esi
cmp dword [ecx + 0x644], eax
jle 0x419177
mov dword [ecx + 0x644], eax
jmp 0x419177
call eax
test al, al
je 0x4191f2
mov ecx, dword [edi + 0x66c]
push 0
mov eax, dword [ecx]
call dword [eax + 0xe8]
mov ecx, dword [edi + 0x66c]
cmp dword [ecx + 0x640], 0
je 0x41918b
cmp dword [ecx + 0x644], 0
mov dword [ecx + 0x640], 0
jle 0x419177
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 + 0x3c]
mov esi, dword [edi + 0x66c]
cmp dword [esi + 0x644], 0
je 0x4191e7
mov eax, dword [esi + 0x640]
xor ecx, ecx
movups xmm0, xmmword [esi + 0x158]
test eax, eax
cmovs ecx, eax
sub esp, 0x10
mov dword [esi + 0x644], ecx
mov eax, esp
mov edx, dword [esi]
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x3c]
mov ecx, dword [esi + 0x64c]
test ecx, ecx
je 0x4191e7
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.004098f0
mov ecx, dword [edi + 0x66c]
mov eax, dword [ecx]
call dword [eax + 0x6c]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret 0x10