Function at 0x44a442
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x6d1d44]
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.0041b2dd
push edi
push 0x73a330
or edx, 0xffffffff
mov ecx, ebx
call fcn.0045b03d
pop ecx
mov esi, eax
pop ecx
shr esi, 0x1d
mov ecx, ebx
not esi
call fcn.0041bef7
and esi, 1
je 0x44aabc
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.00417a90
pop ecx
pop ecx
test eax, eax
jne 0x44aad3
push edi
push ecx
mov edx, str.getJSModule_duktape_debugger__
mov ecx, ebx
call fcn.00417a90
pop ecx
pop ecx
test eax, eax
jne 0x44aad3
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
call fcn.0041a55e
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 0xfffffffffffffffe
pop edx
call fcn.004195b0
pop ecx
or edx, 0xffffffff
mov ecx, ebx
mov edi, eax
call fcn.0041a55e
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
mov ecx, ebx
call fcn.004195b0
pop ecx
xor ecx, ecx
mov esi, eax
call fcn.004852a0
xor ecx, ecx
mov dword [0x772a9c], eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
call fcn.00479238
mov edx, 0x3c000000
mov ecx, eax
call fcn.00479abd
add esp, 0x20
mov dword [0x772aa0], eax
mov ecx, ebx
push 0
call fcn.0045bd12
mov edx, 0x44a1f4
mov ecx, eax
call fcn.0048501c
pop ecx
mov ecx, dword [0x772aa0]
mov edx, str.promise
push 0
push dword [esp + 0x14]
push edi
call fcn.00447296
mov ecx, dword [0x772aa0]
add esp, 0xc
mov edx, str.duktape_debugger
push 0
push dword [esp + 0x18]
push esi
call fcn.00447296
add esp, 0xc
mov ecx, ebx
call fcn.0041b2dd
xor esi, esi
or edx, 0xffffffff
push esi
push esi
push 0x6dc524
mov ecx, ebx
call fcn.0045aee3
add esp, 0xc
or edx, 0xffffffff
mov ecx, ebx
mov edi, eax
push esi
push esi
push 0x6dc540
call fcn.0045aee3
add esp, 0xc
mov esi, eax
mov ecx, ebx
call fcn.0041bef7
test edi, edi
je 0x44a6af
test esi, esi
jne 0x44a60d
mov edx, dword [ebx + 0x64]
mov ecx, ebx
call fcn.0041bd13
push 0x6dc558
or edx, 0xffffffff
mov ecx, ebx
call fcn.004181f4
or edx, 0xffffffff
mov dword [esp], 0x6dc560
mov ecx, ebx
call fcn.004181f4
pop ecx
or edx, 0xffffffff
mov ecx, ebx
call fcn.004195de
push 3
pop edx
mov ecx, ebx
mov esi, eax
call fcn.0041bdf5
mov ecx, dword [0x772aa0]
mov edx, dword [ecx + 0x64]
call fcn.0041bd13
mov ecx, dword [0x772aa0]
mov edx, edi
call fcn.0041b0d2
mov ecx, dword [0x772aa0]
or edx, 0xffffffff
push 0x6dc568
call fcn.004181f4
pop ecx
mov ecx, dword [0x772aa0]
push 0xffffffffffffffff
push 0xfffffffffffffffe
pop edx
call fcn.004190e2
pop ecx
mov ecx, dword [0x772aa0]
mov edx, 0x6dc570
call fcn.0041b0d2
mov ecx, dword [0x772aa0]
xor edx, edx
push 0
inc edx
call fcn.0041702b
mov ecx, dword [0x772aa0]
mov dword [esp], 0x6dc574
push 0xfffffffffffffffe
pop edx
call fcn.00418449
pop ecx
mov ecx, dword [0x772aa0]
mov edx, esi
call fcn.0041b0d2
mov ecx, dword [0x772aa0]
push 0x6dc584
push 0xfffffffffffffffe
pop edx
call fcn.00418449
pop ecx
mov ecx, dword [0x772aa0]
call fcn.0041bef7
mov ecx, ebx
call fcn.0041b2dd
push 2
push 0
push 0
mov edx, 0xb8
mov ecx, ebx
call fcn.0041baba
pop ecx
mov edx, 0xa8
mov ecx, eax
call fcn.00484c1e
push 0x6dc590
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
mov edi, eax
call fcn.00418449
add esp, 0xc
mov ecx, ebx
call fcn.0041bef7
mov ecx, dword [0x772aa0]
mov edx, dword [ecx + 0x64]
call fcn.0041bd13
mov ecx, dword [0x772aa0]
mov esi, 0x18075380
push 6
push esi
push 1
mov edx, 0x44a214
call fcn.0041b780
mov ecx, dword [0x772aa0]
add esp, 0xc
mov edx, edi
call fcn.0041b142
mov ecx, dword [0x772aa0]
push 0x6dc598
push 0xfffffffffffffffe
pop edx
call fcn.00418449
mov ecx, dword [0x772aa0]
mov dword [esp], str.updateWebPort
push 0xfffffffffffffffe
pop edx
call fcn.00418449
pop ecx
mov ecx, dword [0x772aa0]
mov edx, 0x44a2a5
push 6
push esi
push 0
call fcn.0041b780
mov ecx, dword [0x772aa0]
add esp, 0xc
mov edx, edi
call fcn.0041b142
mov ecx, dword [0x772aa0]
push 0x6dc5b0
push 0xfffffffffffffffe
pop edx
call fcn.00418449
pop ecx
mov ecx, ebx
call fcn.0045bd12
mov ecx, dword [0x772aa0]
mov edx, eax
call fcn.0041b142
mov ecx, dword [0x772aa0]
push 0x6dc5b8
push 0xfffffffffffffffe
pop edx
call fcn.00418449
mov ecx, dword [0x772aa0]
mov dword [esp], str.hostCooperate
push 0xfffffffffffffffe
pop edx
call fcn.00418449
pop ecx
push 6
push esi
push 0
mov ecx, dword [0x772aa0]
mov edx, 0x44a3e5
call fcn.0041b780
mov ecx, dword [0x772aa0]
add esp, 0xc
mov edx, edi
call fcn.0041b142
mov ecx, dword [0x772aa0]
push 0x6dc5d4
push 0xfffffffffffffffe
pop edx
call fcn.00418449
pop ecx
mov ecx, ebx
call fcn.0045bd12
mov ecx, dword [0x772aa0]
mov edx, eax
call fcn.0041b142
mov ecx, dword [0x772aa0]
push 0x6dc5dc
push 0xfffffffffffffffe
pop edx
call fcn.00418449
mov ecx, dword [0x772aa0]
mov dword [esp], str.hostGC
push 0xfffffffffffffffe
pop edx
call fcn.00418449
pop ecx
mov ecx, dword [0x772aa0]
mov edx, 0x44a335
push 6
push esi
push 0
call fcn.0041b780
mov ecx, dword [0x772aa0]
add esp, 0xc
mov edx, edi
call fcn.0041b142
mov ecx, dword [0x772aa0]
push 0x6dc5f0
push 0xfffffffffffffffe
pop esi
mov edx, esi
call fcn.00418449
pop ecx
mov ecx, ebx
call fcn.0045bd12
mov ecx, dword [0x772aa0]
mov edx, eax
call fcn.0041b142
mov ecx, dword [0x772aa0]
mov edx, esi
push str._HostChain
call fcn.00418449
mov ecx, dword [0x772aa0]
mov edx, esi
mov dword [esp], str.detachCleanup
call fcn.00418449
mov edx, dword [esp + 0x1c]
pop ecx
mov ecx, dword [0x772aa0]
call fcn.0041afb9
mov ecx, dword [0x772aa0]
mov edx, esi
push 0x6dc614
call fcn.00418449
mov edx, dword [ebp + 8]
pop ecx
mov ecx, dword [0x772aa0]
call fcn.0041afb9
mov ecx, dword [0x772aa0]
mov edx, esi
push 0x6dc620
call fcn.00418449
pop ecx
mov ecx, dword [0x772aa0]
call fcn.0041bef7
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 [0x74cbc8], 0
mov dword [esi], eax
je 0x44a957
push 0x1cf
push 0x6dc628
push esi
push 0x6dc650
lea eax, [esp + 0x30]
push 0x200
push eax
call fcn.0040117f
push 1
push dword [0x74cbf4]
lea eax, [esp + 0x40]
push eax
call dword [0x74cbc8]
add esp, 0x24
mov ecx, dword [0x772aa0]
mov eax, dword [ebp + 8]
mov dword [edi + 0x94], eax
mov edx, dword [ecx + 0x64]
call fcn.0041bd13
mov ecx, dword [0x772aa0]
call fcn.0041b4b6
mov ecx, ebx
call fcn.0041b2dd
or esi, 0xffffffff
mov ecx, ebx
push 0x6dc65c
mov edx, esi
call fcn.004181f4
pop ecx
push 0x10
mov edx, esi
mov ecx, ebx
call fcn.004188b5
pop ecx
jmp 0x44aa68
push 0xfffffffffffffffe
pop edx
call fcn.0041ac26
test eax, eax
je 0x44aa00
mov edx, esi
mov ecx, ebx
call fcn.0041ac26
test eax, eax
je 0x44aa00
mov edx, esi
mov ecx, ebx
call fcn.004195de
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
mov esi, eax
call fcn.004195de
mov ecx, dword [0x772aa0]
mov edx, eax
call fcn.0041b0d2
mov ecx, dword [0x772aa0]
mov edx, esi
call fcn.0041b0d2
mov ecx, dword [0x772aa0]
push 0xfffffffffffffffe
push 0xfffffffffffffffd
pop edx
call fcn.004183e5
or esi, 0xffffffff
jmp 0x44aa60
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
call fcn.0041ac26
test eax, eax
je 0x44aa61
mov edx, esi
mov ecx, ebx
call fcn.0041abcf
test eax, eax
je 0x44aa61
mov ecx, ebx
call fcn.004194f4
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
movsd qword [esp + 0x18], xmm0
call fcn.004195de
mov ecx, dword [0x772aa0]
mov edx, eax
call fcn.0041b0d2
movsd xmm1, qword [esp + 0x18]
mov ecx, dword [0x772aa0]
call fcn.0041af4c
mov ecx, dword [0x772aa0]
push 0xfffffffffffffffe
push 0xfffffffffffffffd
pop edx
call fcn.004183e5
pop ecx
mov ecx, ebx
call fcn.0041c002
push 1
mov edx, esi
mov ecx, ebx
call fcn.004188dc
pop ecx
mov ecx, ebx
test eax, eax
jne 0x44a9a3
push 3
pop edx
call fcn.0041bdf5
mov ecx, dword [0x772aa0]
push str.attachOptions
push 0xfffffffffffffffe
pop edx
call fcn.00418449
pop ecx
mov ecx, dword [0x772aa0]
call fcn.0041bef7
xor eax, eax
push eax
push eax
push eax
push 0x44a1d3
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x772aa4], eax
mov eax, edi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b8900
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.00417a90
pop ecx
pop ecx
mov edx, esi
mov ecx, ebx
call fcn.00418d6c
xor eax, eax
jmp 0x44aabe