Function at 0x460410
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
or edx, 0xffffffff
push ebx
push ebp
push esi
push edi
push 0x609c38
mov esi, ecx
call fcn.00410720
add esp, 4
mov ecx, esi
test eax, eax
je 0x460601
push 0x609c54
or edx, 0xffffffff
call fcn.0040fe40
add esp, 4
or edx, 0xffffffff
mov ecx, esi
push 0x609c70
call fcn.0040fe40
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 0x46047a
lea eax, [eax*8]
add eax, ebp
jne 0x46047f
mov eax, 0x5ee574
mov ebx, 0xfff8
cmp word [eax + 6], bx
lea eax, [edi - 1]
jne 0x4604df
cmp eax, edi
jae 0x46049c
lea edi, [eax*8]
add edi, ebp
jne 0x4604a1
mov edi, 0x5ee574
cmp word [edi + 6], bx
je 0x4604c3
xor edi, edi
mov ecx, esi
lea eax, [edi + 0x1c]
neg edi
sbb edi, edi
and edi, eax
call fcn.004155f0
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.004155f0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, edi
jae 0x4604ee
lea eax, [eax*8]
add eax, ebp
jne 0x4604f3
mov eax, 0x5ee574
mov ecx, 0xfffa
or edx, 0xffffffff
cmp word [eax + 6], cx
mov ecx, esi
jne 0x460548
lea eax, [esp + 0x14]
push eax
call fcn.00411f50
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004aed40
test eax, eax
je 0x4605f0
mov ecx, dword [edi]
add ecx, 0x10
add ecx, dword [edi + 4]
cmp ecx, dword [esp + 0x14]
jne 0x4605f0
mov ecx, esi
add edi, 0x10
call fcn.004155f0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call fcn.00413d20
test eax, eax
je 0x460593
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
mov ecx, esi
call fcn.00412170
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004aed40
test eax, eax
je 0x4605f0
mov eax, dword [edi]
add eax, 0x10
add eax, dword [edi + 4]
cmp eax, dword [esp + 0x14]
jne 0x4605f0
mov ecx, esi
add edi, 0x10
call fcn.004155f0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [edi - 1]
cmp eax, edi
jae 0x4605a5
lea eax, [eax*8]
add eax, ebp
jne 0x4605aa
mov eax, 0x5ee574
mov ecx, 0xfff9
or edx, 0xffffffff
cmp word [eax + 6], cx
mov ecx, esi
jne 0x4605e1
call fcn.0040f230
push 0
or edx, 0xffffffff
mov ecx, esi
call fcn.00411e10
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.004155f0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call fcn.00413ba0
test al, 6
je 0x460dee
xor edi, edi
mov ecx, esi
call fcn.004155f0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call fcn.00414830
mov eax, dword [esi + 0x44]
cmp eax, dword [esi + 0x38]
jae 0x460df9
mov ecx, dword [esi + 0x2c]
lea eax, [esp + 0x14]
push eax
push 0
mov edx, 0x30
call fcn.0042ff40
mov edx, eax
add esp, 8
test edx, edx
je 0x460e0f
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 0x460e25
push 0x30
push 0
push ebp
call fcn.00587250
mov dword [ebp], 0x20
add esp, 0xc
mov dword [ebp + 4], 0
mov eax, dword [0x624130]
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 0x46069c
lea eax, [ecx + edx*8]
test eax, eax
jne 0x4606a1
mov eax, 0x5ee574
mov ebx, 0xfff8
cmp word [eax + 6], bx
jae 0x4606b0
xor eax, eax
jmp 0x4606b2
mov eax, dword [eax]
push 0x609c84
mov edx, 0xfffffffe
mov dword [ebp + 8], eax
mov ecx, esi
call fcn.00410110
add esp, 4
mov ecx, esi
call fcn.00414830
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
sub eax, ecx
sar eax, 3
lea edx, [eax - 1]
cmp edx, eax
jae 0x4606e9
lea eax, [ecx + edx*8]
test eax, eax
jne 0x4606ee
mov eax, 0x5ee574
cmp word [eax + 6], bx
jae 0x4606f8
xor eax, eax
jmp 0x4606fa
mov eax, dword [eax]
push 0x609c98
mov edx, 0xfffffffe
mov dword [ebp + 0x10], eax
mov ecx, esi
call fcn.00410110
add esp, 4
mov edx, 0xfffffffe
mov ecx, esi
push 0x609cbc
call fcn.00410110
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 0x460741
lea eax, [ecx + edx*8]
test eax, eax
jne 0x460746
mov eax, 0x5ee574
cmp word [eax + 6], bx
jae 0x460750
xor eax, eax
jmp 0x460752
mov eax, dword [eax]
mov dword [ebp + 4], eax
call fcn.004b3890
mov dword [ebp + 0x1c], eax
mov ecx, dword [esi + 0x44]
cmp ecx, dword [esi + 0x38]
jae 0x460e66
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 0x460e66
movsd xmm0, qword [0x5f1eb8]
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 0x609cd8
sub eax, 1
cmovs eax, edi
push eax
push 0x609ce0
push 2
push 2
push 0x45f130
push 0x609ce8
push esi
call fcn.00472e60
mov ecx, dword [esi + 0x44]
add esp, 0x24
cmp ecx, dword [esi + 0x38]
jae 0x460e66
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 0x460e66
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 0x609cf0
sub eax, 1
cmovs eax, edi
push eax
push 0x609cf8
push 2
push 2
push 0x45f130
push 0x609d00
push esi
call fcn.00472e60
mov ecx, dword [esi + 0x44]
add esp, 0x24
cmp ecx, dword [esi + 0x38]
jae 0x460e66
movsd xmm0, qword [0x5f1eb8]
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 0x460e66
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 0x609d04
sub eax, 1
cmovs eax, edi
push eax
push 0x609d0c
push 2
push 2
push 0x45f130
push 0x609d14
push esi
call fcn.00472e60
mov ecx, dword [esi + 0x44]
add esp, 0x24
cmp ecx, dword [esi + 0x38]
jae 0x460e66
movsd xmm0, qword [0x5f1eb8]
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 0x460e66
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 0x609d30
push 2
push 2
push 0x45f130
push str.prependListener
push esi
call fcn.00472e60
add esp, 0x24
mov edx, 0x460380
mov ecx, esi
push 6
push 0x18075380
push 0
call fcn.00414b50
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push str.eventNames
call fcn.00410110
add esp, 4
mov edx, 0x4600c0
mov ecx, esi
push 6
push 0x18075380
push 1
call fcn.00414b50
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push str.listenerCount
call fcn.00410110
add esp, 4
mov edx, 0x45f8e0
mov ecx, esi
push 6
push 0x18075380
push 2
call fcn.00414b50
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push 0x609d64
call fcn.00410110
add esp, 4
mov edx, 0x45f9b0
mov ecx, esi
push 6
push 0x18075380
push 0xffffffffffffffff
call fcn.00414b50
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push 0x609d74
call fcn.00410110
add esp, 4
mov edx, 0x45e340
mov ecx, esi
push 6
push 0x18075380
push 0xffffffffffffffff
call fcn.00414b50
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push 0x609d88
call fcn.00410110
add esp, 4
push 6
push 0x18075380
push 0xffffffffffffffff
mov edx, 0x45ff40
mov ecx, esi
call fcn.00414b50
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
push 0x609d90
call fcn.00410110
add esp, 4
mov ecx, esi
call fcn.00414690
push 0x609da4
or edx, 0xffffffff
mov ecx, esi
call fcn.00410720
add esp, 4
mov ecx, esi
test eax, eax
je 0x460bfc
push 0x609dc8
or edx, 0xffffffff
call fcn.0040fe40
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 0x460a8f
lea ecx, [eax + ecx*8]
test ecx, ecx
jne 0x460a94
mov ecx, 0x5ee574
cmp word [ecx + 6], bx
lea ecx, [edi - 1]
jne 0x460ae7
cmp ecx, edi
jae 0x460aa8
lea edi, [eax + ecx*8]
test edi, edi
jne 0x460aad
mov edi, 0x5ee574
cmp word [edi + 6], bx
je 0x460acd
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.00415510
jmp 0x460da1
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.00415510
jmp 0x460da1
cmp ecx, edi
jae 0x460af2
lea eax, [eax + ecx*8]
test eax, eax
jne 0x460af7
mov eax, 0x5ee574
mov ecx, 0xfffa
or edx, 0xffffffff
cmp word [eax + 6], cx
mov ecx, esi
jne 0x460b4a
lea eax, [esp + 0x14]
push eax
call fcn.00411f50
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004aed40
test eax, eax
je 0x460bed
mov ecx, dword [edi]
add ecx, 0x10
add ecx, dword [edi + 4]
cmp ecx, dword [esp + 0x14]
jne 0x460bed
add edi, 0x10
mov ecx, esi
mov dword [ebp + 0x14], edi
call fcn.00415510
jmp 0x460da1
call fcn.00413d20
test eax, eax
je 0x460b93
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
mov ecx, esi
call fcn.00412170
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004aed40
test eax, eax
je 0x460bed
mov eax, dword [edi]
add eax, 0x10
add eax, dword [edi + 4]
cmp eax, dword [esp + 0x14]
jne 0x460bed
add edi, 0x10
mov ecx, esi
mov dword [ebp + 0x14], edi
call fcn.00415510
jmp 0x460da1
lea ecx, [edi - 1]
cmp ecx, edi
jae 0x460ba4
mov eax, dword [esi + 0x40]
lea eax, [eax + ecx*8]
test eax, eax
jne 0x460ba9
mov eax, 0x5ee574
mov ecx, 0xfff9
or edx, 0xffffffff
cmp word [eax + 6], cx
mov ecx, esi
jne 0x460bde
call fcn.0040f230
push 0
or edx, 0xffffffff
mov ecx, esi
call fcn.00411e10
add esp, 4
mov edi, eax
mov ecx, esi
mov dword [ebp + 0x14], edi
call fcn.00415510
jmp 0x460da1
call fcn.00413ba0
test al, 6
je 0x460dee
xor edi, edi
mov ecx, esi
mov dword [ebp + 0x14], edi
call fcn.00415510
jmp 0x460da1
push 0
mov edx, 0x14
call fcn.00414f10
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x460e25
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 [0x624130]
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 0x460c5f
lea ecx, [eax + ecx*8]
test ecx, ecx
jne 0x460c64
mov ecx, 0x5ee574
cmp word [ecx + 6], bx
lea ecx, [edi - 1]
jne 0x460ca3
cmp ecx, edi
jae 0x460c78
lea edi, [eax + ecx*8]
test edi, edi
jne 0x460c7d
mov edi, 0x5ee574
cmp word [edi + 6], bx
je 0x460c93
xor edi, edi
lea eax, [edi + 0x1c]
neg edi
sbb edi, edi
and edi, eax
jmp 0x460d81
mov edi, dword [edi]
lea eax, [edi + 0x1c]
neg edi
sbb edi, edi
and edi, eax
jmp 0x460d81
cmp ecx, edi
jae 0x460cae
lea eax, [eax + ecx*8]
test eax, eax
jne 0x460cb3
mov eax, 0x5ee574
mov ecx, 0xfffa
or edx, 0xffffffff
cmp word [eax + 6], cx
mov ecx, esi
jne 0x460cfc
lea eax, [esp + 0x14]
push eax
call fcn.00411f50
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004aed40
test eax, eax
je 0x460d81
mov ecx, dword [edi]
add ecx, 0x10
add ecx, dword [edi + 4]
cmp ecx, dword [esp + 0x14]
jne 0x460d81
add edi, 0x10
jmp 0x460d81
call fcn.00413d20
test eax, eax
je 0x460d38
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
mov ecx, esi
call fcn.00412170
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
call fcn.004aed40
test eax, eax
je 0x460d81
mov eax, dword [edi]
add eax, 0x10
add eax, dword [edi + 4]
cmp eax, dword [esp + 0x14]
jne 0x460d81
add edi, 0x10
jmp 0x460d81
lea ecx, [edi - 1]
cmp ecx, edi
jae 0x460d49
mov eax, dword [esi + 0x40]
lea eax, [eax + ecx*8]
test eax, eax
jne 0x460d4e
mov eax, 0x5ee574
mov ecx, 0xfff9
or edx, 0xffffffff
cmp word [eax + 6], cx
mov ecx, esi
jne 0x460d76
call fcn.0040f230
push 0
or edx, 0xffffffff
mov ecx, esi
call fcn.00411e10
add esp, 4
mov edi, eax
jmp 0x460d81
call fcn.00413ba0
test al, 6
je 0x460dee
xor edi, edi
push 0x609dec
mov edx, 0xfffffffe
mov dword [ebp + 0x14], edi
mov ecx, esi
call fcn.00410110
mov eax, dword [ebp + 0x14]
add esp, 4
mov dword [eax], 0
mov ecx, esi
call fcn.00415510
mov edx, 0x609e10
mov ecx, ebp
call fcn.00461370
push 6
push 0x18075380
push 1
mov edx, 0x45fae0
mov ecx, esi
call fcn.00414b50
add esp, 0xc
mov edx, 0xfffffffe
mov ecx, esi
call fcn.00410ef0
mov edx, 0x609e14
mov ecx, ebp
call fcn.00461370
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.00470530
push str.cannot_push_beyond_allocated_stack
push 0x3001475
mov edx, 0x605bf8
mov ecx, esi
call fcn.0040d970
push str.alloc_failed
push 0x100147e
mov edx, 0x605c28
mov ecx, esi
call fcn.0040d970
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x6240d4
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0x46d
push 0x6240f0
push 0x62410c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
push str.cannot_push_beyond_allocated_stack
push 0x3001094
mov edx, 0x605a20
mov ecx, esi
call fcn.0040d970
int3