Function at 0x100121b3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x3098
call fcn.1001a290
mov eax, dword [0x1003e4c0]
xor eax, esp
mov dword [esp + 0x3094], eax
push ebx
push ebp
push esi
push edi
mov edi, 0x401
lea eax, [esp + 0x488]
push edi
xor ebx, ebx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push edi
lea eax, [esp + 0x94]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push str.InitializeJVM___n
mov dword [esp + 0x34], ebx
mov ebp, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call fcn.10001ab8
add esp, 0x1c
mov esi, ebx
push edi
lea eax, [esp + 0x88]
push eax
push 1
push dword [esi + 0x1003d240]
call fcn.10013d4f
add esp, 0x10
test eax, eax
jne 0x1001226f
push edi
lea eax, [esp + 0x88]
push eax
push ebx
push dword [esi + 0x1003d240]
call fcn.10013d4f
add esp, 0x10
test eax, eax
jne 0x1001226f
add esi, 4
cmp esi, 8
jb 0x1001221d
push str.InitializeJVM___Cannot_find_plugin_file_n
call fcn.10001ab8
xor eax, eax
jmp 0x1001271b
lea eax, [esp + 0x84]
push eax
call fcn.1001ba36
lea eax, [esp + 0x88]
push eax
push str.InitializeJVM___jvmPath:__s_n
call fcn.10001ab8
lea eax, [esp + 0x90]
mov esi, 0x400
push eax
lea eax, [esp + 0x498]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [esp + 0x4a0]
push 0x5c
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
add esp, 0x20
test eax, eax
jne 0x100122d6
lea eax, [esp + 0x488]
push eax
push str.InitializeJVM___Invalid_Java_home:__s_n
call fcn.10001ab8
pop ecx
jmp 0x10012268
mov edi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
mov byte [eax], bl
lea eax, [esp + 0x10]
push str.FORCED_JRE_ROOT
push eax
lea eax, [esp + 0x20]
push eax
call edi
push str.FORCED_DEPLOY_ROOT
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
call edi
push str.FORCED_BOOTCLASSPATH
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
call edi
push str.FORCED_BROWSERVM_ARGS
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x50]
push eax
call edi
add esp, 0x30
cmp dword [esp + 0x18], ebx
je 0x10012360
push dword [esp + 0x18]
lea eax, [esp + 0x48c]
push 0x1003d32c
push 0xffffffffffffffff
push esi
push eax
call fcn.1001ba36
push dword [esp + 0x2c]
lea eax, [esp + 0x9c]
push 0x1003d330
push 0xffffffffffffffff
push esi
push eax
call fcn.1001ba36
add esp, 0x28
cmp dword [0x1003f8f4], ebx
jne 0x10012372
mov dword [0x1003f8f4], 1
cmp dword [0x1003f8f0], ebx
je 0x10012382
xor eax, eax
inc eax
jmp 0x1001271c
lea eax, [esp + 0x84]
push esi
push eax
call fcn.1001ba36
pop ecx
pop ecx
test eax, eax
jne 0x100124b3
lea eax, [esp + 0x488]
push eax
push str._s_bindeploy.dll
push 0xffffffffffffffff
lea eax, [esp + 0x898]
push esi
push eax
call fcn.1001ba36
add esp, 0x14
lea eax, [esp + 0x88c]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x100123d9
push ebx
push str.InitializeJVM___Failed_to_load_deploy_DLL:__s_n
jmp 0x100122ce
push str.GetCurrentJavaHomeFromRegistry
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
jne 0x100123f3
push str.InitializeJVM___GetCurrentJavaHomeFromRegistry___not_found_n
jmp 0x10012263
lea ecx, [esp + 0x1898]
push ecx
call eax
pop ecx
push edi
mov esi, eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
test esi, esi
jne 0x10012415
push str.InitializeJVM___GetCurrentJavaHomeFromRegistry___failed_n
jmp 0x10012263
lea ecx, [esp + 0x1898]
mov dword [esp + 0x28], ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10012423
sub ecx, edx
lea eax, [esp + 0x1898]
sar ecx, 1
mov esi, 0x400
push esi
push eax
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0xc9c]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
add esp, 0x14
test eax, eax
jne 0x100124e6
lea eax, [esp + 0xc90]
push eax
push str._s_bin
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push esi
push eax
call fcn.1001ba36
lea eax, [esp + 0x98]
push eax
call fcn.1001ba36
add esp, 0x18
test eax, eax
jne 0x1001249d
push str.InitializeJVM___preloadVC7___failed_n
jmp 0x10012263
lea eax, [esp + 0x84]
push esi
push eax
call fcn.1001ba36
mov edi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
pop ecx
pop ecx
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [0x1003f8f8], eax
test eax, eax
jne 0x100124ed
call dword [sym.imp.kernel32.dll_GetLastError]
lea ecx, [esp + 0x84]
push ecx
push eax
push str.InitializeJVM___Cannot_load_JVM___d_:__s_n
call fcn.10001ab8
add esp, 0xc
xor eax, eax
jmp 0x1001271c
push str.JNI_GetCreatedJavaVMs
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
jne 0x10012507
push str.InitializeJVM___JNI_GetCreatedJavaVMs___not_found_n
jmp 0x10012263
lea ecx, [esp + 0x2c]
push ecx
push 1
push 0x1003f8fc
call eax
test eax, eax
js 0x100124e6
cmp dword [esp + 0x2c], 1
jge 0x1001270e
mov eax, dword [esp + 0x20]
mov esi, 0x801
test eax, eax
je 0x1001254e
push eax
push eax
push eax
push 0x1003d4d0
push 0xffffffffffffffff
lea eax, [esp + 0x10a8]
push esi
push eax
call fcn.1001ba36
add esp, 0x1c
jmp 0x100125b1
cmp dword [esp + 0x1c], ebx
je 0x10012572
push dword [esp + 0x1c]
lea eax, [esp + 0x1098]
push str._Xbootclasspath_p:_s
push 0xffffffffffffffff
push esi
push eax
call fcn.1001ba36
add esp, 0x14
jmp 0x100125b1
lea eax, [esp + 0x488]
push eax
push eax
push eax
push str._Xbootclasspath_a:_slibdeploy.jar__slibjavaws.jar__slibplugin.jar
push 0xffffffffffffffff
lea eax, [esp + 0x10a8]
push esi
push eax
call fcn.1001ba36
lea eax, [esp + 0x4a4]
push eax
push str._Djava.class.path_sclasses
push 0xffffffffffffffff
lea eax, [esp + 0x28c8]
push esi
push eax
call fcn.1001ba36
add esp, 0x30
lea eax, [esp + 0x1094]
push eax
lea eax, [esp + 0x20a0]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
push str.JPI_PLUGIN2_DEBUG
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
call edi
add esp, 0x18
cmp dword [esp + 0x14], ebx
je 0x100125f9
push str.InitializeJVM___Warning:_JPI_PLUGIN2_DEBUG_is_deprecated._Use_DEPLOY_TRACE_CONSOLE_instead_to_enable_console._n
call fcn.10001ab8
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1001261d
push str.DEPLOY_TRACE_CONSOLE
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call edi
add esp, 0xc
cmp dword [esp + 0x14], ebx
je 0x10012626
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
call fcn.1001872b
xor ebp, ebp
inc ebp
mov dword [esp + 0x30], 0x10002
lea eax, [esp + 0x209c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28a0]
mov dword [esp + 0x4c], str._Xmx32m
mov dword [esp + 0x54], str._Djava.awt.headlesstrue
mov dword [esp + 0x5c], str._XX:MaxDirectMemorySize64m
mov dword [esp + 0x64], str._Djava.security.manager
mov dword [esp + 0x6c], eax
test ebp, ebp
je 0x10012678
mov dword [esp + 0x74], str.vfprintf
mov dword [esp + 0x78], 0x10012845
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov eax, dword [esp + 0x7c]
cmovne eax, ecx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x38], eax
lea eax, [ebp + 6]
mov dword [esp + 0x34], eax
je 0x100126a1
lea eax, [ebp + 7]
mov dword [esp + 0x34], eax
push str.JNI_CreateJavaVM
push dword [0x1003f8f8]
mov byte [esp + 0x44], 1
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x100126c7
push str.InitializeJVM___JNI_CreateJavaVM___not_found_n
jmp 0x10012263
call fcn.10001a92
test eax, eax
je 0x100126ef
cmp dword [esp + 0x34], ebx
jle 0x100126ef
push dword [esp + ebx*8 + 0x44]
push ebx
push str.InitializeJVM___VM_option__d_:__s_n
call fcn.10001ab8
add esp, 0xc
inc ebx
cmp ebx, dword [esp + 0x34]
jl 0x100126d6
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
push 0x1003f8fc
call esi
test eax, eax
jns 0x1001270e
push str.InitializeJVM___JNI_CreateJavaVM___failed_n
jmp 0x10012263
push str.InitializeJVM___OK_n
call fcn.10001ab8
xor eax, eax
inc eax
pop ecx
mov ecx, dword [esp + 0x30a4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10019a3d
add esp, 0x3098
ret