Function at 0x44b29f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x6dad44]
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.0041c148
push edi
push 0x753688
or edx, 0xffffffff
mov ecx, ebx
call fcn.0045c7c4
pop ecx
mov esi, eax
pop ecx
shr esi, 0x1d
mov ecx, ebx
not esi
call fcn.0041cd62
and esi, 1
je 0x44b919
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.004188ff
pop ecx
pop ecx
test eax, eax
jne 0x44b930
push edi
push ecx
mov edx, str.getJSModule_duktape_debugger__
mov ecx, ebx
call fcn.004188ff
pop ecx
pop ecx
test eax, eax
jne 0x44b930
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
call fcn.0041b3d4
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 0xfffffffffffffffe
pop edx
call fcn.0041a41f
pop ecx
or edx, 0xffffffff
mov ecx, ebx
mov edi, eax
call fcn.0041b3d4
lea eax, [esp + 0x14]
or edx, 0xffffffff
push eax
mov ecx, ebx
call fcn.0041a41f
pop ecx
xor ecx, ecx
mov esi, eax
call fcn.00487f36
xor ecx, ecx
mov dword [0x7913bc], eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
call fcn.0047b885
mov edx, 0x3c000000
mov ecx, eax
call fcn.0047c10b
add esp, 0x20
mov dword [0x7913c0], eax
mov ecx, ebx
push 0
call fcn.0045d4f4
mov edx, 0x44b051
mov ecx, eax
call fcn.00487a02
pop ecx
mov ecx, dword [0x7913c0]
mov edx, str.promise
push 0
push dword [esp + 0x14]
push edi
call fcn.00448107
mov ecx, dword [0x7913c0]
add esp, 0xc
mov edx, str.duktape_debugger
push 0
push dword [esp + 0x18]
push esi
call fcn.00448107
add esp, 0xc
mov ecx, ebx
call fcn.0041c148
xor esi, esi
or edx, 0xffffffff
push esi
push esi
push 0x6e62b0
mov ecx, ebx
call fcn.0045c66a
add esp, 0xc
or edx, 0xffffffff
mov ecx, ebx
mov edi, eax
push esi
push esi
push 0x6e62cc
call fcn.0045c66a
add esp, 0xc
mov esi, eax
mov ecx, ebx
call fcn.0041cd62
test edi, edi
je 0x44b50c
test esi, esi
jne 0x44b46a
mov edx, dword [ebx + 0x64]
mov ecx, ebx
call fcn.0041cb7e
push 0x6e62e4
or edx, 0xffffffff
mov ecx, ebx
call fcn.00419063
or edx, 0xffffffff
mov dword [esp], 0x6e62ec
mov ecx, ebx
call fcn.00419063
pop ecx
or edx, 0xffffffff
mov ecx, ebx
call fcn.0041a44d
push 3
pop edx
mov ecx, ebx
mov esi, eax
call fcn.0041cc60
mov ecx, dword [0x7913c0]
mov edx, dword [ecx + 0x64]
call fcn.0041cb7e
mov ecx, dword [0x7913c0]
mov edx, edi
call fcn.0041bf3d
mov ecx, dword [0x7913c0]
or edx, 0xffffffff
push 0x6e62f4
call fcn.00419063
pop ecx
mov ecx, dword [0x7913c0]
push 0xffffffffffffffff
push 0xfffffffffffffffe
pop edx
call fcn.00419f51
pop ecx
mov ecx, dword [0x7913c0]
mov edx, 0x6e62fc
call fcn.0041bf3d
mov ecx, dword [0x7913c0]
xor edx, edx
push 0
inc edx
call fcn.00417e9a
mov ecx, dword [0x7913c0]
mov dword [esp], 0x6e6300
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
pop ecx
mov ecx, dword [0x7913c0]
mov edx, esi
call fcn.0041bf3d
mov ecx, dword [0x7913c0]
push 0x6e6310
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
pop ecx
mov ecx, dword [0x7913c0]
call fcn.0041cd62
mov ecx, ebx
call fcn.0041c148
push 2
push 0
push 0
mov edx, 0xb8
mov ecx, ebx
call fcn.0041c925
pop ecx
mov edx, 0xa8
mov ecx, eax
call fcn.00487604
push 0x6e631c
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
mov edi, eax
call fcn.004192b8
add esp, 0xc
mov ecx, ebx
call fcn.0041cd62
mov ecx, dword [0x7913c0]
mov edx, dword [ecx + 0x64]
call fcn.0041cb7e
mov ecx, dword [0x7913c0]
mov esi, 0x18075380
push 6
push esi
push 1
mov edx, 0x44b071
call fcn.0041c5eb
mov ecx, dword [0x7913c0]
add esp, 0xc
mov edx, edi
call fcn.0041bfad
mov ecx, dword [0x7913c0]
push 0x6e6324
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
mov ecx, dword [0x7913c0]
mov dword [esp], str.updateWebPort
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
pop ecx
mov ecx, dword [0x7913c0]
mov edx, 0x44b102
push 6
push esi
push 0
call fcn.0041c5eb
mov ecx, dword [0x7913c0]
add esp, 0xc
mov edx, edi
call fcn.0041bfad
mov ecx, dword [0x7913c0]
push 0x6e633c
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
pop ecx
mov ecx, ebx
call fcn.0045d4f4
mov ecx, dword [0x7913c0]
mov edx, eax
call fcn.0041bfad
mov ecx, dword [0x7913c0]
push 0x6e6344
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
mov ecx, dword [0x7913c0]
mov dword [esp], str.hostCooperate
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
pop ecx
push 6
push esi
push 0
mov ecx, dword [0x7913c0]
mov edx, 0x44b242
call fcn.0041c5eb
mov ecx, dword [0x7913c0]
add esp, 0xc
mov edx, edi
call fcn.0041bfad
mov ecx, dword [0x7913c0]
push 0x6e6360
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
pop ecx
mov ecx, ebx
call fcn.0045d4f4
mov ecx, dword [0x7913c0]
mov edx, eax
call fcn.0041bfad
mov ecx, dword [0x7913c0]
push 0x6e6368
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
mov ecx, dword [0x7913c0]
mov dword [esp], str.hostGC
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
pop ecx
mov ecx, dword [0x7913c0]
mov edx, 0x44b192
push 6
push esi
push 0
call fcn.0041c5eb
mov ecx, dword [0x7913c0]
add esp, 0xc
mov edx, edi
call fcn.0041bfad
mov ecx, dword [0x7913c0]
push 0x6e637c
push 0xfffffffffffffffe
pop esi
mov edx, esi
call fcn.004192b8
pop ecx
mov ecx, ebx
call fcn.0045d4f4
mov ecx, dword [0x7913c0]
mov edx, eax
call fcn.0041bfad
mov ecx, dword [0x7913c0]
mov edx, esi
push str._HostChain
call fcn.004192b8
mov ecx, dword [0x7913c0]
mov edx, esi
mov dword [esp], str.detachCleanup
call fcn.004192b8
mov edx, dword [esp + 0x1c]
pop ecx
mov ecx, dword [0x7913c0]
call fcn.0041be24
mov ecx, dword [0x7913c0]
mov edx, esi
push 0x6e63a0
call fcn.004192b8
mov edx, dword [ebp + 8]
pop ecx
mov ecx, dword [0x7913c0]
call fcn.0041be24
mov ecx, dword [0x7913c0]
mov edx, esi
push 0x6e63ac
call fcn.004192b8
pop ecx
mov ecx, dword [0x7913c0]
call fcn.0041cd62
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 [0x76b4e4], 0
mov dword [esi], eax
je 0x44b7b4
push 0x1cf
push 0x6e63b4
push esi
push 0x6e63dc
lea eax, [esp + 0x30]
push 0x200
push eax
call fcn.0040117f
push 1
push dword [0x76b514]
lea eax, [esp + 0x40]
push eax
call dword [0x76b4e4]
add esp, 0x24
mov ecx, dword [0x7913c0]
mov eax, dword [ebp + 8]
mov dword [edi + 0x94], eax
mov edx, dword [ecx + 0x64]
call fcn.0041cb7e
mov ecx, dword [0x7913c0]
call fcn.0041c321
mov ecx, ebx
call fcn.0041c148
or esi, 0xffffffff
mov ecx, ebx
push 0x6e63e8
mov edx, esi
call fcn.00419063
pop ecx
push 0x10
mov edx, esi
mov ecx, ebx
call fcn.00419724
pop ecx
jmp 0x44b8c5
push 0xfffffffffffffffe
pop edx
call fcn.0041ba91
test eax, eax
je 0x44b85d
mov edx, esi
mov ecx, ebx
call fcn.0041ba91
test eax, eax
je 0x44b85d
mov edx, esi
mov ecx, ebx
call fcn.0041a44d
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
mov esi, eax
call fcn.0041a44d
mov ecx, dword [0x7913c0]
mov edx, eax
call fcn.0041bf3d
mov ecx, dword [0x7913c0]
mov edx, esi
call fcn.0041bf3d
mov ecx, dword [0x7913c0]
push 0xfffffffffffffffe
push 0xfffffffffffffffd
pop edx
call fcn.00419254
or esi, 0xffffffff
jmp 0x44b8bd
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
call fcn.0041ba91
test eax, eax
je 0x44b8be
mov edx, esi
mov ecx, ebx
call fcn.0041ba3a
test eax, eax
je 0x44b8be
mov ecx, ebx
call fcn.0041a363
push 0xfffffffffffffffe
pop edx
mov ecx, ebx
movsd qword [esp + 0x18], xmm0
call fcn.0041a44d
mov ecx, dword [0x7913c0]
mov edx, eax
call fcn.0041bf3d
movsd xmm1, qword [esp + 0x18]
mov ecx, dword [0x7913c0]
call fcn.0041bdb7
mov ecx, dword [0x7913c0]
push 0xfffffffffffffffe
push 0xfffffffffffffffd
pop edx
call fcn.00419254
pop ecx
mov ecx, ebx
call fcn.0041ce6d
push 1
mov edx, esi
mov ecx, ebx
call fcn.0041974b
pop ecx
mov ecx, ebx
test eax, eax
jne 0x44b800
push 3
pop edx
call fcn.0041cc60
mov ecx, dword [0x7913c0]
push str.attachOptions
push 0xfffffffffffffffe
pop edx
call fcn.004192b8
pop ecx
mov ecx, dword [0x7913c0]
call fcn.0041cd62
xor eax, eax
push eax
push eax
push eax
push 0x44b030
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x7913c4], eax
mov eax, edi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c0e20
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.004188ff
pop ecx
pop ecx
mov edx, esi
mov ecx, ebx
call fcn.00419bdb
xor eax, eax
jmp 0x44b91b