Function at 0x45f800
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
or edx, 0xffffffff
push ebx
push ebp
push esi
push edi
push 0x6085ec
mov esi, ecx
call fcn.0040fec0
add esp, 4
mov ecx, esi
test eax, eax
je 0x45f9d5
push 0x608608
or edx, 0xffffffff
call fcn.0040f5e0
add esp, 4
or edx, 0xffffffff
mov ecx, esi
push 0x608624
call fcn.0040f5e0
mov edi, dword [esi + 0x44]
add esp, 4
mov ebp, dword [esi + 0x40]
sub edi, ebp
sar edi, 3
mov dword [esp + 0x14], 0
lea eax, [edi - 1]
cmp eax, edi
jae 0x45f86a
lea eax, [eax*8]
add eax, ebp
jne 0x45f86f
mov eax, 0x5ed574
mov ebx, 0xfff8
cmp word [eax + 6], bx
lea eax, [edi - 1]
jne 0x45f8cf
cmp eax, edi
jae 0x45f88c
lea edi, [eax*8]
add edi, ebp
jne 0x45f891
mov edi, 0x5ed574
cmp word [edi + 6], bx
je 0x45f8b3
xor edi, edi
mov ecx, esi
lea eax, [edi + 0x1c]
neg edi
sbb edi, edi
and edi, eax
call fcn.00414d90
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edi, dword [edi]
mov ecx, esi
lea eax, [edi + 0x1c]
neg edi
sbb edi, edi
and edi, eax
call fcn.00414d90
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, edi
jae 0x45f8de
lea eax, [eax*8]
add eax, ebp
jne 0x45f8e3
mov eax, 0x5ed574
mov ecx, 0xfffa
or edx, 0xffffffff
cmp word [eax + 6], cx
mov ecx, esi
jne 0x45f938
lea eax, [esp + 0x14]
push eax
call fcn.004116f0
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004ae5d0
test eax, eax
je 0x45f9c4
mov ecx, dword [edi]
add ecx, 0x10
add ecx, dword [edi + 4]
cmp ecx, dword [esp + 0x14]
jne 0x45f9c4
mov ecx, esi
add edi, 0x10
call fcn.00414d90
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call fcn.004134c0
test eax, eax
je 0x45f983
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
mov ecx, esi
call fcn.00411910
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004ae5d0
test eax, eax
je 0x45f9c4
mov eax, dword [edi]
add eax, 0x10
add eax, dword [edi + 4]
cmp eax, dword [esp + 0x14]
jne 0x45f9c4
mov ecx, esi
add edi, 0x10
call fcn.00414d90
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [edi - 1]
cmp eax, edi
jae 0x45f995
lea eax, [eax*8]
add eax, ebp
jne 0x45f99a
mov eax, 0x5ed574
mov ecx, 0xfff9
cmp word [eax + 6], cx
jne 0x460144
or edx, 0xffffffff
mov ecx, esi
call fcn.0040e9d0
push 0
or edx, 0xffffffff
mov ecx, esi
call fcn.004115b0
add esp, 4
mov edi, eax
mov ecx, esi
call fcn.00414d90
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call fcn.00413fd0
mov eax, dword [esi + 0x44]
cmp eax, dword [esi + 0x38]
jae 0x46014f
mov ecx, dword [esi + 0x2c]
lea eax, [esp + 0x14]
push eax
push 0
mov edx, 0x30
call fcn.0042f6e0
mov edx, eax
add esp, 8
test edx, edx
je 0x460165
mov eax, dword [esi + 0x44]
xor ecx, ecx
mov ebp, dword [esp + 0x14]
or ecx, 0xfffa0000
mov dword [eax], edx
mov dword [eax + 4], ecx
inc dword [edx + 4]
add dword [esi + 0x44], 8
test ebp, ebp
je 0x46017b
push 0x30
push 0
push ebp
call fcn.005869c0
mov dword [ebp], 0x20
add esp, 0xc
mov dword [ebp + 4], 0
mov eax, dword [0x61c4d0]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 2
add ebp, 0x10
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
sub eax, ecx
sar eax, 3
lea edx, [eax - 2]
cmp edx, eax
jae 0x45fa70
lea eax, [ecx + edx*8]
test eax, eax
jne 0x45fa75
mov eax, 0x5ed574
mov ebx, 0xfff8
cmp word [eax + 6], bx
jae 0x45fa84
xor eax, eax
jmp 0x45fa86
mov eax, dword [eax]
push 0x608638
mov edx, 0xfffffffe
mov dword [ebp + 8], eax
mov ecx, esi
call fcn.0040f8b0
add esp, 4
mov ecx, esi
call fcn.00413fd0
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
sub eax, ecx
sar eax, 3
lea edx, [eax - 1]
cmp edx, eax
jae 0x45fabd
lea eax, [ecx + edx*8]
test eax, eax
jne 0x45fac2
mov eax, 0x5ed574
cmp word [eax + 6], bx
jae 0x45facc
xor eax, eax
jmp 0x45face
mov eax, dword [eax]
push 0x60864c
mov edx, 0xfffffffe
mov dword [ebp + 0x10], eax
mov ecx, esi
call fcn.0040f8b0
add esp, 4
mov edx, 0xfffffffe
mov ecx, esi
push 0x608670
call fcn.0040f8b0
mov dword [ebp], esi
add esp, 4
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
sub eax, ecx
sar eax, 3
lea edx, [eax - 1]
cmp edx, eax
jae 0x45fb15
lea eax, [ecx + edx*8]
test eax, eax
jne 0x45fb1a
mov eax, 0x5ed574
cmp word [eax + 6], bx
jae 0x45fb24
xor eax, eax
jmp 0x45fb26
mov eax, dword [eax]
mov dword [ebp + 4], eax
call fcn.004b30f0
mov dword [ebp + 0x1c], eax
mov ecx, dword [esi + 0x44]
cmp ecx, dword [esi + 0x38]
jae 0x4601bc
lea eax, [ecx + 8]
xorps xmm0, xmm0
mov dword [esi + 0x44], eax
mov edi, bind
movsd qword [ecx], xmm0
mov edx, dword [esi + 0x44]
mov ecx, edx
sub ecx, dword [esi + 0x40]
sar ecx, 3
sub ecx, 1
cmovs ecx, edi
cmp edx, dword [esi + 0x38]
jae 0x4601bc
movsd xmm0, qword [0x5f0eb8]
lea eax, [edx + 8]
mov dword [esi + 0x44], eax
movsd qword [edx], xmm0
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x40]
push ecx
sar eax, 3
push 0x60868c
sub eax, 1
cmovs eax, edi
push eax
push 0x608694
push 2
push 2
push 0x45e8c0
push 0x60869c
push esi
call fcn.004720d0
mov ecx, dword [esi + 0x44]
add esp, 0x24
cmp ecx, dword [esi + 0x38]
jae 0x4601bc
lea eax, [ecx + 8]
xorps xmm0, xmm0
mov dword [esi + 0x44], eax
movsd qword [ecx], xmm0
mov edx, dword [esi + 0x44]
mov ecx, edx
sub ecx, dword [esi + 0x40]
sar ecx, 3
sub ecx, 1
cmovs ecx, edi
cmp edx, dword [esi + 0x38]
jae 0x4601bc
lea eax, [edx + 8]
mov dword [esi + 0x44], eax
movsd qword [edx], xmm0
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x40]
push ecx
sar eax, 3
push 0x6086a4
sub eax, 1
cmovs eax, edi
push eax
push 0x6086ac
push 2
push 2
push 0x45e8c0
push 0x6086b4
push esi
call fcn.004720d0
mov ecx, dword [esi + 0x44]
add esp, 0x24
cmp ecx, dword [esi + 0x38]
jae 0x4601bc
movsd xmm0, qword [0x5f0eb8]
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
movsd qword [ecx], xmm0
mov edx, dword [esi + 0x44]
mov ecx, edx
sub ecx, dword [esi + 0x40]
sar ecx, 3
sub ecx, 1
cmovs ecx, edi
cmp edx, dword [esi + 0x38]
jae 0x4601bc
lea eax, [edx + 8]
mov dword [esi + 0x44], eax
movsd qword [edx], xmm0
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x40]
push ecx
sar eax, 3
push 0x6086b8
sub eax, 1
cmovs eax, edi
push eax
push 0x6086c0
push 2
push 2
push 0x45e8c0
push 0x6086c8
push esi
call fcn.004720d0
mov ecx, dword [esi + 0x44]
add esp, 0x24
cmp ecx, dword [esi + 0x38]
jae 0x4601bc
movsd xmm0, qword [0x5f0eb8]
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
movsd qword [ecx], xmm0
mov edx, dword [esi + 0x44]
mov ecx, edx
sub ecx, dword [esi + 0x40]
sar ecx, 3
sub ecx, 1
cmovs ecx, edi
cmp edx, dword [esi + 0x38]
jae 0x4601bc
lea eax, [edx + 8]
xorps xmm0, xmm0
mov dword [esi + 0x44], eax
movsd qword [edx], xmm0
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x40]
push ecx
sar eax, 3
push str.prepend
sub eax, 1
cmovs eax, edi
push eax
push 0x6086e4
push 2
push 2
push 0x45e8c0
push str.prependListener
push esi
call fcn.004720d0
add esp, 0x24
mov edx, 0x45f020
mov ecx, esi
push 6
push 0x18075380
push 2
call fcn.004142f0
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push 0x6086fc
call fcn.0040f8b0
add esp, 4
mov edx, 0x45f0f0
mov ecx, esi
push 6
push 0x18075380
push 0xffffffffffffffff
call fcn.004142f0
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push 0x60870c
call fcn.0040f8b0
add esp, 4
mov edx, 0x45dad0
mov ecx, esi
push 6
push 0x18075380
push 0xffffffffffffffff
call fcn.004142f0
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push 0x608720
call fcn.0040f8b0
add esp, 4
mov edx, 0x45f680
mov ecx, esi
push 6
push 0x18075380
push 0xffffffffffffffff
call fcn.004142f0
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push 0x608728
call fcn.0040f8b0
add esp, 4
mov ecx, esi
call fcn.00413e30
push 0x60873c
or edx, 0xffffffff
mov ecx, esi
call fcn.0040fec0
add esp, 4
mov ecx, esi
test eax, eax
je 0x45ff5e
push 0x608760
or edx, 0xffffffff
call fcn.0040f5e0
mov edi, dword [esi + 0x44]
add esp, 4
mov eax, dword [esi + 0x40]
sub edi, eax
sar edi, 3
mov dword [esp + 0x14], 0
lea ecx, [edi - 1]
cmp ecx, edi
jae 0x45fe0b
lea ecx, [eax + ecx*8]
test ecx, ecx
jne 0x45fe10
mov ecx, 0x5ed574
cmp word [ecx + 6], bx
lea ecx, [edi - 1]
jne 0x45fe63
cmp ecx, edi
jae 0x45fe24
lea edi, [eax + ecx*8]
test edi, edi
jne 0x45fe29
mov edi, 0x5ed574
cmp word [edi + 6], bx
je 0x45fe49
xor edi, edi
mov ecx, esi
lea eax, [edi + 0x1c]
neg edi
sbb edi, edi
and edi, eax
mov dword [ebp + 0x14], edi
call fcn.00414cb0
jmp 0x4600f7
mov edi, dword [edi]
mov ecx, esi
lea eax, [edi + 0x1c]
neg edi
sbb edi, edi
and edi, eax
mov dword [ebp + 0x14], edi
call fcn.00414cb0
jmp 0x4600f7
cmp ecx, edi
jae 0x45fe6e
lea eax, [eax + ecx*8]
test eax, eax
jne 0x45fe73
mov eax, 0x5ed574
mov ecx, 0xfffa
or edx, 0xffffffff
cmp word [eax + 6], cx
mov ecx, esi
jne 0x45fec6
lea eax, [esp + 0x14]
push eax
call fcn.004116f0
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004ae5d0
test eax, eax
je 0x45ff4f
mov ecx, dword [edi]
add ecx, 0x10
add ecx, dword [edi + 4]
cmp ecx, dword [esp + 0x14]
jne 0x45ff4f
add edi, 0x10
mov ecx, esi
mov dword [ebp + 0x14], edi
call fcn.00414cb0
jmp 0x4600f7
call fcn.004134c0
test eax, eax
je 0x45ff0f
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
mov ecx, esi
call fcn.00411910
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004ae5d0
test eax, eax
je 0x45ff4f
mov eax, dword [edi]
add eax, 0x10
add eax, dword [edi + 4]
cmp eax, dword [esp + 0x14]
jne 0x45ff4f
add edi, 0x10
mov ecx, esi
mov dword [ebp + 0x14], edi
call fcn.00414cb0
jmp 0x4600f7
lea ecx, [edi - 1]
cmp ecx, edi
jae 0x45ff20
mov eax, dword [esi + 0x40]
lea eax, [eax + ecx*8]
test eax, eax
jne 0x45ff25
mov eax, 0x5ed574
mov ecx, 0xfff9
cmp word [eax + 6], cx
jne 0x460144
or edx, 0xffffffff
mov ecx, esi
call fcn.0040e9d0
push 0
or edx, 0xffffffff
mov ecx, esi
call fcn.004115b0
add esp, 4
mov edi, eax
mov ecx, esi
mov dword [ebp + 0x14], edi
call fcn.00414cb0
jmp 0x4600f7
push 0
mov edx, 0x14
call fcn.004146b0
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x46017b
xorps xmm0, xmm0
mov dword [esp + 0x14], 0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx], 4
mov dword [ecx + 4], 0
mov eax, dword [0x61c4d0]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 2
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
sub edi, eax
sar edi, 3
lea ecx, [edi - 1]
cmp ecx, edi
jae 0x45ffc1
lea ecx, [eax + ecx*8]
test ecx, ecx
jne 0x45ffc6
mov ecx, 0x5ed574
cmp word [ecx + 6], bx
lea ecx, [edi - 1]
jne 0x460005
cmp ecx, edi
jae 0x45ffda
lea edi, [eax + ecx*8]
test edi, edi
jne 0x45ffdf
mov edi, 0x5ed574
cmp word [edi + 6], bx
je 0x45fff5
xor edi, edi
lea eax, [edi + 0x1c]
neg edi
sbb edi, edi
and edi, eax
jmp 0x4600d7
mov edi, dword [edi]
lea eax, [edi + 0x1c]
neg edi
sbb edi, edi
and edi, eax
jmp 0x4600d7
cmp ecx, edi
jae 0x460010
lea eax, [eax + ecx*8]
test eax, eax
jne 0x460015
mov eax, 0x5ed574
mov ecx, 0xfffa
or edx, 0xffffffff
cmp word [eax + 6], cx
mov ecx, esi
jne 0x46005b
lea eax, [esp + 0x14]
push eax
call fcn.004116f0
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004ae5d0
test eax, eax
je 0x4600d7
mov ecx, dword [edi]
add ecx, 0x10
add ecx, dword [edi + 4]
cmp ecx, dword [esp + 0x14]
jne 0x4600d7
add edi, 0x10
jmp 0x4600d7
call fcn.004134c0
test eax, eax
je 0x460097
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
mov ecx, esi
call fcn.00411910
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004ae5d0
test eax, eax
je 0x4600d7
mov eax, dword [edi]
add eax, 0x10
add eax, dword [edi + 4]
cmp eax, dword [esp + 0x14]
jne 0x4600d7
add edi, 0x10
jmp 0x4600d7
lea ecx, [edi - 1]
cmp ecx, edi
jae 0x4600a8
mov eax, dword [esi + 0x40]
lea eax, [eax + ecx*8]
test eax, eax
jne 0x4600ad
mov eax, 0x5ed574
mov ecx, 0xfff9
cmp word [eax + 6], cx
jne 0x460144
or edx, 0xffffffff
mov ecx, esi
call fcn.0040e9d0
push 0
or edx, 0xffffffff
mov ecx, esi
call fcn.004115b0
add esp, 4
mov edi, eax
push 0x608784
mov edx, 0xfffffffe
mov dword [ebp + 0x14], edi
mov ecx, esi
call fcn.0040f8b0
mov eax, dword [ebp + 0x14]
add esp, 4
mov dword [eax], 0
mov ecx, esi
call fcn.00414cb0
mov edx, 0x6087a8
mov ecx, ebp
call fcn.004606c0
push 6
push 0x18075380
push 1
mov edx, 0x45f220
mov ecx, esi
call fcn.004142f0
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
call fcn.00410690
mov edx, 0x6087ac
mov ecx, ebp
call fcn.004606c0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
push str.Duktape_GetBuffer__:_Unknown_parameter
push esi
call fcn.0046f6d0
push str.cannot_push_beyond_allocated_stack
push 0x3001475
mov edx, 0x6045c0
mov ecx, esi
call fcn.0040d110
push str.alloc_failed
push 0x100147e
mov edx, 0x6045f0
mov ecx, esi
call fcn.0040d110
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x61c474
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x46d
push 0x61c490
push 0x61c4ac
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
push str.cannot_push_beyond_allocated_stack
push 0x3001094
mov edx, 0x6043e8
mov ecx, esi
call fcn.0040d110
int3