Function at 0x40f4d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cad4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x444034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
movq qword [ebp - 0x1c], xmm0
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
call fcn.0040f910
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x40f64c
cmp dword [esi + 0x14], 8
jb 0x40f53f
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
jmp 0x40f544
mov eax, esi
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
cmp ecx, ebx
mov ecx, dword [ebp - 0x24]
jae 0x40f5cf
lea edx, [ebp - 0x2c]
cmp ecx, edx
ja 0x40f5cf
sub edx, ecx
sar edx, 2
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x20]
cmp ebx, edx
jne 0x40f5c3
mov eax, edx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x40f5c3
sub ebx, ecx
mov eax, 0x3fffffff
sar ebx, 2
sub eax, ebx
cmp eax, 1
jb 0x40f6ba
sub edx, ecx
inc ebx
sar edx, 2
mov ecx, 0x3fffffff
mov eax, edx
mov dword [ebp - 0x20], edx
shr eax, 1
sub ecx, eax
add eax, edx
xor edx, edx
cmp ecx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
cmovae edx, eax
cmp edx, ebx
cmovae ebx, edx
push ebx
call fcn.0040fda0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x28]
test ebx, ebx
je 0x40f63b
mov eax, dword [ecx + eax*4]
jmp 0x40f639
mov edx, dword [ebp - 0x20]
cmp ebx, edx
jne 0x40f635
mov eax, edx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x40f632
sub ebx, ecx
mov eax, 0x3fffffff
sar ebx, 2
sub eax, ebx
cmp eax, 1
jb 0x40f6ba
sub edx, ecx
inc ebx
sar edx, 2
mov ecx, 0x3fffffff
mov eax, edx
mov dword [ebp - 0x20], edx
shr eax, 1
sub ecx, eax
add eax, edx
xor edx, edx
cmp ecx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
cmovae edx, eax
cmp edx, ebx
cmovae ebx, edx
push ebx
call fcn.0040fda0
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
test ebx, ebx
je 0x40f63b
mov dword [ebx], eax
add ebx, 4
add esi, 0x18
mov dword [ebp - 0x18], ebx
cmp esi, edi
jne 0x40f532
mov eax, dword fs:[0x2c]
mov esi, dword [ebp - 0x24]
sub ebx, esi
sar ebx, 2
mov ecx, dword [eax]
mov eax, dword [0x448dbc]
cmp eax, dword [ecx + 4]
jle 0x40f6f1
push 0x448dbc
call fcn.004149dc
add esp, 4
cmp dword [0x448dbc], 0xffffffff
jne 0x40f6f1
mov byte [ebp - 4], 1
mov eax, dword [0x448db8]
test eax, eax
jne 0x40f6db
push 0x43430c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x40f6cb
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f6c4
call eax
mov dword [0x448db8], eax
jmp 0x40f6d0
push str.vector_T__too_long
call fcn.004155b5
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x448db8]
test eax, eax
jne 0x40f6db
push 0xffffffffffffffff
call fcn.00419f6d
push 0x448dbc
mov dword [0x448dc0], eax
mov byte [ebp - 4], 0
call fcn.0041499d
add esp, 4
mov eax, dword [0x448dc0]
push esi
push ebx
push 2
mov eax, dword [eax + 0x2e0]
call eax
test esi, esi
je 0x40f75c
mov eax, dword [ebp - 0x20]
sub eax, esi
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x40f71a
call fcn.0041a15d
shl eax, 2
cmp eax, 0x1000
jb 0x40f753
test byte [ebp - 0x1c], 0x1f
je 0x40f72f
call fcn.0041a15d
mov eax, dword [esi - 4]
cmp eax, esi
jb 0x40f73b
call fcn.0041a15d
sub esi, eax
cmp esi, 4
jae 0x40f747
call fcn.0041a15d
cmp esi, 0x23
jbe 0x40f751
call fcn.0041a15d
mov esi, eax
push esi
call fcn.00414ae0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004143be
mov esp, ebp
pop ebp
ret