Function at 0x6d40a380
Capabilities:
Terminate process

Disassembly:
sub esp, 0x128
mov eax, dword [0x6d41e108]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [0x6d41e7f8]
push ebx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x138]
cmp eax, ebx
je 0x6d40a3d3
cmp byte [eax + 0x278], 1
jne 0x6d40a3d3
push 0x791
push 0x6d41a4f8
push str.Cannot_load_this_JVM_TI_agent_twice__check_your_java_command_line_for_duplicate_hprof_options.
push ebx
push 1
call fcn.6d405ce0
add esp, 0x14
or eax, 0xffffffff
jmp 0x6d40a74f
call fcn.6d406750
mov dword [0x6d41e7f8], eax
mov byte [eax + 0x278], 1
call fcn.6d405c30
mov eax, dword [0x6d41e7f8]
mov ecx, dword [esp + 0x134]
mov dword [eax + 4], ecx
mov eax, dword [0x6d41e7f8]
add eax, 8
cmp eax, ebx
jne 0x6d40a429
push str.NptEnv_is_NULL
push str.NPT_ERROR:__s_n
call dword [sym.imp.msvcr100.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.msvcr100.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.msvcr100.dll_exit]
mov dword [eax], ebx
push str.jvm.dll
mov byte [esp + 0xc], bl
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x6d40a445
push str.Cannot_find_jvm.dll
jmp 0x6d40a409
push esi
push 0x104
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [esp + 0xc]
push 0x5c
push eax
call dword [sym.imp.msvcr100.dll_strrchr]
add esp, 8
cmp eax, ebx
je 0x6d40a4ba
mov byte [eax], bl
lea eax, [esp + 0xc]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x6d40a472
mov ecx, dword [str..._]
mov dl, byte [0x6d41b900]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0xc]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x6d40a490
mov ecx, dword [str.npt.dll]
mov edx, dword [0x6d41b8f8]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
jne 0x6d40a4df
push str.Cannot_open_library
push str.NPT_ERROR:__s_n
call dword [sym.imp.msvcr100.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.msvcr100.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.msvcr100.dll_exit]
push str.nptInitialize
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebx
jne 0x6d40a4f6
push str.Cannot_find_nptInitialize
jmp 0x6d40a4bf
mov ecx, dword [0x6d41e7f8]
push ebx
push str.0.0.0
add ecx, 8
push ecx
call eax
mov eax, dword [0x6d41e7f8]
cmp dword [eax + 8], ebx
jne 0x6d40a519
push str.Cannot_initialize_NptEnv
jmp 0x6d40a4bf
mov edx, dword [eax + 8]
mov dword [edx], esi
mov eax, dword [0x6d41e7f8]
cmp dword [eax + 8], ebx
jne 0x6d40a542
push 0x7a3
push 0x6d41a4f8
push str.Cannot_load_npt_library
push ebx
push 1
call fcn.6d405ce0
add esp, 0x14
mov ecx, dword [0x6d41e7f8]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push ebx
call eax
mov ecx, dword [0x6d41e7f8]
mov edx, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [0x6d41e7f8]
mov ecx, dword [eax + 8]
cmp dword [ecx + 8], ebx
jne 0x6d40a584
push 0x7a7
push 0x6d41a4f8
push str.Cannot_initialize_npt_utf_functions
push ebx
push 1
call fcn.6d405ce0
add esp, 0x14
call fcn.6d417c00
mov ecx, edi
call fcn.6d406ca0
call fcn.6d401000
call fcn.6d411a80
call fcn.6d404ff0
call fcn.6d413330
call fcn.6d414860
call fcn.6d40f850
call fcn.6d410c50
call fcn.6d4064e0
call fcn.6d40f1b0
call fcn.6d40e840
mov edx, dword [0x6d41e7f8]
cmp byte [edx + 0x66], bl
je 0x6d40a5d2
call fcn.6d405c50
call fcn.6d409890
push 1
call fcn.6d40a2a0
push str.HPROF_dump_lock
call fcn.6d415b80
mov ecx, dword [0x6d41e7f8]
push str.HPROF_data_access_lock
mov dword [ecx + 0xe4], eax
call fcn.6d415b80
mov edx, dword [0x6d41e7f8]
push str.HPROF_callback_lock
mov dword [edx + 0xe0], eax
call fcn.6d415b80
mov ecx, dword [0x6d41e7f8]
push str.HPROF_callback_block
mov dword [ecx + 0xac], eax
call fcn.6d415b80
mov edx, dword [0x6d41e7f8]
push str.HPROF_object_free_lock
mov dword [edx + 0xa8], eax
call fcn.6d415b80
mov ecx, dword [0x6d41e7f8]
push str.HPROF_gc_finish_lock
mov dword [ecx + 0x9c], eax
call fcn.6d415b80
mov edx, dword [0x6d41e7f8]
push ebx
push 0x32
push 1
mov dword [edx + 0x110], eax
call fcn.6d415d10
push ebx
push 0x33
push 1
call fcn.6d415d10
mov eax, dword [0x6d41e7f8]
add esp, 0x34
cmp byte [eax + 0x75], bl
je 0x6d40a690
push ebx
push 0x36
push 1
call fcn.6d415d10
add esp, 0xc
mov ecx, dword [0x6d41e7f8]
mov byte [ecx + 0x91], bl
mov edx, dword [0x6d41e7f8]
mov byte [edx + 0x92], bl
mov eax, dword [0x6d41e7f8]
mov byte [eax + 0x94], bl
mov ecx, dword [0x6d41e7f8]
mov dword [ecx + 0xb0], ebx
call fcn.6d40b240
call fcn.6d40ebb0
mov ecx, dword [0x6d41e7f8]
mov dword [ecx + 0xe8], eax
mov eax, dword [0x6d41e7f8]
mov dword [eax + 0xec], edx
mov ecx, dword [0x6d41e7f8]
cmp byte [ecx + 0x75], bl
je 0x6d40a74c
mov ecx, str.java_crw_demo
call fcn.6d409940
mov edx, dword [0x6d41e7f8]
mov dword [edx + 0x26c], eax
mov eax, dword [0x6d41e7f8]
mov ecx, dword [eax + 0x26c]
push 2
push ecx
mov ebx, 0x6d41e054
call fcn.6d409a10
mov edx, dword [0x6d41e7f8]
mov dword [edx + 0x270], eax
mov eax, dword [0x6d41e7f8]
mov ecx, dword [eax + 0x26c]
push 2
push ecx
mov ebx, 0x6d41e05c
call fcn.6d409a10
mov edx, dword [0x6d41e7f8]
add esp, 0x10
mov dword [edx + 0x274], eax
xor eax, eax
pop esi
mov ecx, dword [esp + 0x12c]
pop edi
pop ebx
xor ecx, esp
call fcn.6d417d33
add esp, 0x128
ret 0xc