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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493e28
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4be4bc]
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 [0x4c2ad0]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
je 0x43c190
push 0x3e9
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x4c2ad0]
inc eax
mov dword [0x4c2ad0], eax
call fcn.00450670
test eax, eax
je 0x43c2da
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4c6ea0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4c2b38]
cmp eax, dword [ecx + 4]
jg 0x43c416
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow_s]
push 0xa
push 0x10
push 0x4c2ad4
push dword [0x4c2b34]
call esi
push 0xa
push 0x10
push 0x4c2b14
push edi
call esi
add esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xa
push 0x10
push 0x4c2af4
push eax
call esi
mov ecx, 8
mov dword [0x4c2b44], 1
mov esi, str.kcrashdumper.exe
mov dword [0x4c2b40], 0
lea edi, [ebp - 0x34]
mov dword [0x4c2b3c], 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.00450670
push eax
push str._s_s
push 0x4c2b48
call fcn.0043be50
call fcn.004509f0
push eax
push 0x4c2b14
push 0x4c2af4
push 0x4c2ad4
push str._pid_s__tid_s__exp_s__callfrom1__module_s
push 0x4c3348
call fcn.0043be90
push 0x4c448c
push 0x4c4448
push 0
push 0
push 1
push 0
mov eax, 0xa
mov dword [0x4c4448], 0x44
push 0x4c3348
push 0x4c2b48
mov dword [0x4c4474], 1
mov word [0x4c4478], ax
call fcn.00484290
add esp, 0x48
mov dword [0x4c449c], eax
test eax, eax
je 0x43c2da
push 0xffffffffffffffff
push dword [0x4c448c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x4c4490]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x4c448c]
call esi
call fcn.00450670
test eax, eax
je 0x43c3dd
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004036f0
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 0x43c3d5
add eax, 0xfffffff9
lea ecx, [ebx + eax*2]
mov eax, ebx
mov dword [ebp - 0x68], ecx
nop
sub ecx, eax
sar ecx, 1
je 0x43c3d5
lea ebx, [ebx]
cmp word [eax], 0x2f
je 0x43c343
add eax, 2
sub ecx, 1
jne 0x43c330
jmp 0x43c3d5
mov edx, str._nativex
mov edi, eax
mov esi, 8
sub edi, edx
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x43c40b
add edx, 2
sub esi, 1
jne 0x43c351
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x43c3d5
lea eax, [ebp - 0x64]
push 1
push eax
call fcn.00481fc0
push str._addonsjsapi_nativex.dll
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
call fcn.00403110
add esp, 0x14
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00401d50
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 0x43c3cd
push str.ProcNativeXCrash
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43c3c6
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x4c]
call fcn.00401d50
lea ecx, [ebp - 0x2c]
call fcn.00401d50
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.0048cbb4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x68]
add eax, 2
jmp 0x43c320
push 0x4c2b38
call fcn.0048cd1b
add esp, 4
cmp dword [0x4c2b38], 0xffffffff
jne 0x43c1c3
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push 0x4c2b38
mov dword [0x4c2b34], eax
call fcn.0048ccd1
add esp, 4
jmp 0x43c1c3