Function at 0x449c5f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov dword [esp + 0x18], edx
mov ebx, ecx
xor edi, edi
call fcn.0041ab48
push edi
push 0x71cdc4
or edx, 0xffffffff
mov ecx, ebx
call fcn.00458439
pop ecx
mov esi, eax
pop ecx
shr esi, 0x1d
mov ecx, ebx
not esi
call fcn.0041b762
and esi, 1
je 0x44a2d9
mov esi, dword [ebx + 0x44]
mov edi, 0xe88
sub esi, dword [ebx + 0x40]
mov edx, str.getJSModule_promise__
push edi
push ecx
mov ecx, ebx
sar esi, 3
call fcn.004172fe
pop ecx
pop ecx
test eax, eax
jne 0x44a2f0
push edi
push ecx
mov edx, str.getJSModule_duktape_debugger__
mov ecx, ebx
call fcn.004172fe
pop ecx
pop ecx
test eax, eax
jne 0x44a2f0
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
call fcn.00419dc9
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 0xfffffffffffffffe
pop edx
call fcn.00418e1e
pop ecx
or edx, 0xffffffff
mov ecx, ebx
mov edi, eax
call fcn.00419dc9
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
mov ecx, ebx
call fcn.00418e1e
pop ecx
xor ecx, ecx
mov esi, eax
call fcn.0048185f
xor ecx, ecx
mov dword [0x75015c], eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
call fcn.00475d69
mov edx, 0x3c000000
mov ecx, eax
call fcn.00476205
add esp, 0x20
mov dword [0x750160], eax
mov ecx, ebx
push 0
call fcn.0045910e
mov edx, 0x449a11
mov ecx, eax
call fcn.004815db
pop ecx
mov ecx, dword [0x750160]
mov edx, str.promise
push 0
push dword [esp + 0x14]
push edi
call fcn.00446b15
mov ecx, dword [0x750160]
add esp, 0xc
mov edx, str.duktape_debugger
push 0
push dword [esp + 0x18]
push esi
call fcn.00446b15
add esp, 0xc
mov ecx, ebx
call fcn.0041ab48
xor esi, esi
or edx, 0xffffffff
push esi
push esi
push 0x6d7148
mov ecx, ebx
call fcn.004582df
add esp, 0xc
or edx, 0xffffffff
mov ecx, ebx
mov edi, eax
push esi
push esi
push 0x6d7164
call fcn.004582df
add esp, 0xc
mov esi, eax
mov ecx, ebx
call fcn.0041b762
test edi, edi
je 0x449ecc
test esi, esi
jne 0x449e2a
mov edx, dword [ebx + 0x64]
mov ecx, ebx
call fcn.0041b57e
push 0x6d717c
or edx, 0xffffffff
mov ecx, ebx
call fcn.00417a62
or edx, 0xffffffff
mov dword [esp], 0x6d7184
mov ecx, ebx
call fcn.00417a62
pop ecx
or edx, 0xffffffff
mov ecx, ebx
call fcn.00418e4c
push 3
pop edx
mov ecx, ebx
mov esi, eax
call fcn.0041b660
mov ecx, dword [0x750160]
mov edx, dword [ecx + 0x64]
call fcn.0041b57e
mov ecx, dword [0x750160]
mov edx, edi
call fcn.0041a93d
mov ecx, dword [0x750160]
or edx, 0xffffffff
push 0x6d718c
call fcn.00417a62
pop ecx
mov ecx, dword [0x750160]
push 0xffffffffffffffff
push 0xfffffffffffffffe
pop edx
call fcn.00418950
pop ecx
mov ecx, dword [0x750160]
mov edx, 0x6d7194
call fcn.0041a93d
mov ecx, dword [0x750160]
xor edx, edx
push 0
inc edx
call fcn.00416899
mov ecx, dword [0x750160]
mov dword [esp], 0x6d7198
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
pop ecx
mov ecx, dword [0x750160]
mov edx, esi
call fcn.0041a93d
mov ecx, dword [0x750160]
push 0x6d71a8
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
pop ecx
mov ecx, dword [0x750160]
call fcn.0041b762
mov ecx, ebx
call fcn.0041ab48
push 2
push 0
push 0
mov edx, 0xb8
mov ecx, ebx
call fcn.0041b325
pop ecx
mov edx, 0xa8
mov ecx, eax
call fcn.004811d1
push 0x6d71b4
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
mov edi, eax
call fcn.00417cb7
add esp, 0xc
mov ecx, ebx
call fcn.0041b762
mov ecx, dword [0x750160]
mov edx, dword [ecx + 0x64]
call fcn.0041b57e
mov ecx, dword [0x750160]
mov esi, 0x18075380
push 6
push esi
push 1
mov edx, 0x449a31
call fcn.0041afeb
mov ecx, dword [0x750160]
add esp, 0xc
mov edx, edi
call fcn.0041a9ad
mov ecx, dword [0x750160]
push 0x6d71bc
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
mov ecx, dword [0x750160]
mov dword [esp], str.updateWebPort
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
pop ecx
mov ecx, dword [0x750160]
mov edx, 0x449ac2
push 6
push esi
push 0
call fcn.0041afeb
mov ecx, dword [0x750160]
add esp, 0xc
mov edx, edi
call fcn.0041a9ad
mov ecx, dword [0x750160]
push 0x6d71d4
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
pop ecx
mov ecx, ebx
call fcn.0045910e
mov ecx, dword [0x750160]
mov edx, eax
call fcn.0041a9ad
mov ecx, dword [0x750160]
push 0x6d71dc
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
mov ecx, dword [0x750160]
mov dword [esp], str.hostCooperate
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
pop ecx
push 6
push esi
push 0
mov ecx, dword [0x750160]
mov edx, 0x449c02
call fcn.0041afeb
mov ecx, dword [0x750160]
add esp, 0xc
mov edx, edi
call fcn.0041a9ad
mov ecx, dword [0x750160]
push 0x6d71f8
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
pop ecx
mov ecx, ebx
call fcn.0045910e
mov ecx, dword [0x750160]
mov edx, eax
call fcn.0041a9ad
mov ecx, dword [0x750160]
push 0x6d7200
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
mov ecx, dword [0x750160]
mov dword [esp], str.hostGC
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
pop ecx
mov ecx, dword [0x750160]
mov edx, 0x449b52
push 6
push esi
push 0
call fcn.0041afeb
mov ecx, dword [0x750160]
add esp, 0xc
mov edx, edi
call fcn.0041a9ad
mov ecx, dword [0x750160]
push 0x6d7214
push 0xfffffffffffffffe
pop esi
mov edx, esi
call fcn.00417cb7
pop ecx
mov ecx, ebx
call fcn.0045910e
mov ecx, dword [0x750160]
mov edx, eax
call fcn.0041a9ad
mov ecx, dword [0x750160]
mov edx, esi
push str._HostChain
call fcn.00417cb7
mov ecx, dword [0x750160]
mov edx, esi
mov dword [esp], str.detachCleanup
call fcn.00417cb7
mov edx, dword [esp + 0x1c]
pop ecx
mov ecx, dword [0x750160]
call fcn.0041a824
mov ecx, dword [0x750160]
mov edx, esi
push 0x6d7238
call fcn.00417cb7
mov edx, dword [ebp + 8]
pop ecx
mov ecx, dword [0x750160]
call fcn.0041a824
mov ecx, dword [0x750160]
mov edx, esi
push 0x6d7244
call fcn.00417cb7
pop ecx
mov ecx, dword [0x750160]
call fcn.0041b762
mov dword [edi + 4], ebx
lea esi, [edi + 0x88]
xor eax, eax
push eax
push 0x40
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
cmp dword [0x72a314], 0
mov dword [esi], eax
je 0x44a174
push 0x1cf
push 0x6d724c
push esi
push 0x6d7274
lea eax, [esp + 0x30]
push 0x200
push eax
call fcn.0040117f
push 1
push dword [0x72a33c]
lea eax, [esp + 0x40]
push eax
call dword [0x72a314]
add esp, 0x24
mov ecx, dword [0x750160]
mov eax, dword [ebp + 8]
mov dword [edi + 0x94], eax
mov edx, dword [ecx + 0x64]
call fcn.0041b57e
mov ecx, dword [0x750160]
call fcn.0041ad21
mov ecx, ebx
call fcn.0041ab48
or esi, 0xffffffff
mov ecx, ebx
push 0x6d7280
mov edx, esi
call fcn.00417a62
pop ecx
push 0x10
mov edx, esi
mov ecx, ebx
call fcn.00418123
pop ecx
jmp 0x44a285
push 0xfffffffffffffffe
pop edx
call fcn.0041a491
test eax, eax
je 0x44a21d
mov edx, esi
mov ecx, ebx
call fcn.0041a491
test eax, eax
je 0x44a21d
mov edx, esi
mov ecx, ebx
call fcn.00418e4c
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
mov esi, eax
call fcn.00418e4c
mov ecx, dword [0x750160]
mov edx, eax
call fcn.0041a93d
mov ecx, dword [0x750160]
mov edx, esi
call fcn.0041a93d
mov ecx, dword [0x750160]
push 0xfffffffffffffffe
push 0xfffffffffffffffd
pop edx
call fcn.00417c53
or esi, 0xffffffff
jmp 0x44a27d
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
call fcn.0041a491
test eax, eax
je 0x44a27e
mov edx, esi
mov ecx, ebx
call fcn.0041a43a
test eax, eax
je 0x44a27e
mov ecx, ebx
call fcn.00418d62
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
movsd qword [esp + 0x18], xmm0
call fcn.00418e4c
mov ecx, dword [0x750160]
mov edx, eax
call fcn.0041a93d
movsd xmm1, qword [esp + 0x18]
mov ecx, dword [0x750160]
call fcn.0041a7b7
mov ecx, dword [0x750160]
push 0xfffffffffffffffe
push 0xfffffffffffffffd
pop edx
call fcn.00417c53
pop ecx
mov ecx, ebx
call fcn.0041b86d
push 1
mov edx, esi
mov ecx, ebx
call fcn.0041814a
pop ecx
mov ecx, ebx
test eax, eax
jne 0x44a1c0
push 3
pop edx
call fcn.0041b660
mov ecx, dword [0x750160]
push str.attachOptions
push 0xfffffffffffffffe
pop edx
call fcn.00417cb7
pop ecx
mov ecx, dword [0x750160]
call fcn.0041b762
xor eax, eax
push eax
push eax
push eax
push 0x4499f0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x750164], eax
mov eax, edi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b35b0
mov esp, ebp
pop ebp
ret
push edi
push ecx
mov edx, str.process.emit_uncaughtException__Cannot_setup_debugger__missing_promise_and_or_duktape_debugger__
mov ecx, ebx
call fcn.004172fe
pop ecx
pop ecx
mov edx, esi
mov ecx, ebx
call fcn.004185da
xor eax, eax
jmp 0x44a2db