Function at 0x40fa90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d104
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x44d034]
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.0040fed0
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x40fc0c
cmp dword [esi + 0x14], 8
jb 0x40faff
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
jmp 0x40fb04
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 0x40fb8f
lea edx, [ebp - 0x2c]
cmp ecx, edx
ja 0x40fb8f
sub edx, ecx
sar edx, 2
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x20]
cmp ebx, edx
jne 0x40fb83
mov eax, edx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x40fb83
sub ebx, ecx
mov eax, 0x3fffffff
sar ebx, 2
sub eax, ebx
cmp eax, 1
jb 0x40fc7a
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.00410360
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 0x40fbfb
mov eax, dword [ecx + eax*4]
jmp 0x40fbf9
mov edx, dword [ebp - 0x20]
cmp ebx, edx
jne 0x40fbf5
mov eax, edx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x40fbf2
sub ebx, ecx
mov eax, 0x3fffffff
sar ebx, 2
sub eax, ebx
cmp eax, 1
jb 0x40fc7a
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.00410360
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 0x40fbfb
mov dword [ebx], eax
add ebx, 4
add esi, 0x18
mov dword [ebp - 0x18], ebx
cmp esi, edi
jne 0x40faf2
mov eax, dword fs:[0x2c]
mov esi, dword [ebp - 0x24]
sub ebx, esi
sar ebx, 2
mov ecx, dword [eax]
mov eax, dword [0x451dbc]
cmp eax, dword [ecx + 4]
jle 0x40fcb1
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x40fcb1
mov byte [ebp - 4], 1
mov eax, dword [0x451db8]
test eax, eax
jne 0x40fc9b
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x40fc8b
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40fc84
call eax
mov dword [0x451db8], eax
jmp 0x40fc90
push str.vector_T__too_long
call fcn.00415b45
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x40fc9b
push 0xffffffffffffffff
call fcn.0041a4c3
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 0
call fcn.00414f2d
add esp, 4
mov eax, dword [0x451dc0]
push esi
push ebx
push 2
mov eax, dword [eax + 0x2e0]
call eax
test esi, esi
je 0x40fd1c
mov eax, dword [ebp - 0x20]
sub eax, esi
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x40fcda
call fcn.0041a6b3
shl eax, 2
cmp eax, 0x1000
jb 0x40fd13
test byte [ebp - 0x1c], 0x1f
je 0x40fcef
call fcn.0041a6b3
mov eax, dword [esi - 4]
cmp eax, esi
jb 0x40fcfb
call fcn.0041a6b3
sub esi, eax
cmp esi, 4
jae 0x40fd07
call fcn.0041a6b3
cmp esi, 0x23
jbe 0x40fd11
call fcn.0041a6b3
mov esi, eax
push esi
call fcn.00415070
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.0041494e
mov esp, ebp
pop ebp
ret