Function at 0x42f8c0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e088
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4b74b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4bc650]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
je 0x42f910
push 0x3e9
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x4bc650]
inc eax
mov dword [0x4bc650], eax
call fcn.004112e0
test eax, eax
je 0x42fa5a
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4bfae4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4bc6b8]
cmp eax, dword [ecx + 4]
jg 0x42fb96
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
push 0xa
push 0x10
push 0x4bc654
push dword [0x4bc6b4]
call esi
push 0xa
push 0x10
push 0x4bc694
push edi
call esi
add esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xa
push 0x10
push 0x4bc674
push eax
call esi
mov ecx, 8
mov dword [0x4bc6c4], 1
mov esi, str.kcrashdumper.exe
mov dword [0x4bc6c0], 0
lea edi, [ebp - 0x34]
mov dword [0x4bc6bc], 0xc
rep movsd dword es:[edi], dword [esi]
add esp, 0x10
lea eax, [ebp - 0x34]
movsw word es:[edi], word [esi]
push eax
call fcn.004112e0
push eax
push str._s_s
push 0x4bc6c8
call fcn.0042f5d0
call fcn.00411670
push eax
push 0x4bc694
push 0x4bc674
push 0x4bc654
push str._pid_s__tid_s__exp_s__callfrom1__module_s
push 0x4bcec8
call fcn.0042f610
push 0x4be00c
push 0x4bdfc8
push 0
push 0
push 1
push 0
mov eax, 0xa
mov dword [0x4bdfc8], 0x44
push 0x4bcec8
push 0x4bc6c8
mov dword [0x4bdff4], 1
mov word [0x4bdff8], ax
call fcn.00481de0
add esp, 0x48
mov dword [0x4be01c], eax
test eax, eax
je 0x42fa5a
push 0xffffffffffffffff
push dword [0x4be00c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x4be010]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x4be00c]
call esi
call fcn.004112e0
test eax, eax
je 0x42fb5d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401970
cmp dword [ebp - 0x18], 8
lea ebx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ebx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0
cmp eax, 8
jb 0x42fb55
add eax, 0xfffffff9
lea ecx, [ebx + eax*2]
mov eax, ebx
mov dword [ebp - 0x68], ecx
nop
sub ecx, eax
sar ecx, 1
je 0x42fb55
lea ebx, [ebx]
cmp word [eax], 0x2f
je 0x42fac3
add eax, 2
sub ecx, 1
jne 0x42fab0
jmp 0x42fb55
mov edx, str._nativex
mov edi, eax
mov esi, 8
sub edi, edx
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x42fb8b
add edx, 2
sub esi, 1
jne 0x42fad1
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x42fb55
lea eax, [ebp - 0x64]
push 1
push eax
call fcn.0047ff70
push str._addonsjsapi_nativex.dll
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
call fcn.00401680
add esp, 0x14
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00401b10
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42fb4d
push str.ProcNativeXCrash
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42fb46
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x4c]
call fcn.00401b10
lea ecx, [ebp - 0x2c]
call fcn.00401b10
push 0x3e9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487877
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x68]
add eax, 2
jmp 0x42faa0
push 0x4bc6b8
call fcn.00487d52
add esp, 4
cmp dword [0x4bc6b8], 0xffffffff
jne 0x42f943
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push 0x4bc6b8
mov dword [0x4bc6b4], eax
call fcn.00487d08
add esp, 4
jmp 0x42f943