Function at 0x40938d
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2724
call fcn.0041f210
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.kernel32
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetDllDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x2720], ebx
jne 0x4093d7
push str._JNILaunch__WARNING:_SetDllDirectoryA_could_not_be_found
call fcn.0040a0b9
pop ecx
lea eax, [ebp - 0x2718]
push esi
push eax
mov byte [ebp - 0x2718], 0
call fcn.00418fd0
push 0x43fc8c
lea esi, [ebp - 0x2718]
call fcn.00409fb3
mov eax, esi
add esp, 0xc
push eax
call fcn.0040107c
mov esi, eax
test esi, esi
pop ecx
jne 0x409455
lea eax, [ebp - 0x2718]
push eax
push str._Extractor___SEVERE__Unable_to_open_directory___s__n
call fcn.0040a0b9
pop ecx
pop ecx
jmp 0x409465
mov edi, dword [eax]
push edi
push str.msvcp
call fcn.0040a5f5
test al, al
pop ecx
pop ecx
jne 0x409446
push edi
push str.vcruntime
call fcn.0040a5f5
test al, al
pop ecx
pop ecx
je 0x409455
lea eax, [ebp - 0x2718]
push eax
mov ecx, edi
call fcn.004092e5
pop ecx
mov eax, esi
call fcn.004011a6
test eax, eax
jne 0x409422
call fcn.00401167
lea eax, [ebp - 0x2718]
push eax
push str._JNILaunch__Bin_folder_is__s_n
call fcn.0040a0b9
mov esi, 0x7d0
push esi
call fcn.00418da7
add esp, 0xc
push eax
push esi
mov dword [ebp - 0x2724], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x2718]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test ebx, ebx
je 0x4094ac
lea eax, [ebp - 0x2718]
push eax
call ebx
mov edi, str.jvm.dll
push edi
mov ebx, str.server
push ebx
lea eax, [ebp - 0x1390]
mov byte [ebp - 0x1390], 0
call fcn.0040a032
pop ecx
pop ecx
lea esi, [ebp - 0x1390]
call fcn.0040995e
test eax, eax
mov eax, esi
jne 0x4094f5
push edi
push str.client
call fcn.0040a032
pop ecx
pop ecx
call fcn.0040995e
test eax, eax
je 0x409502
mov eax, esi
push eax
push str._Utils__Located_DLL___s__n
call fcn.0040a0b9
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x2718]
push ebx
push eax
lea eax, [ebp - 0x1390]
call fcn.0040a050
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
lea eax, [ebp - 0x1390]
push eax
call esi
test eax, eax
mov dword [ebp - 0x271c], eax
jne 0x409570
push str.LoadLibrary
mov ebx, str.Utils
push ebx
call fcn.00409271
push edi
lea eax, [ebp - 0x2718]
push str.client
push eax
lea eax, [ebp - 0x1390]
call fcn.0040a050
add esp, 0x14
lea eax, [ebp - 0x1390]
push eax
call esi
test eax, eax
mov dword [ebp - 0x271c], eax
je 0x409585
lea eax, [ebp - 0x1390]
push eax
push str._Extractor__Successfully_loaded_DLL___s_._JVM_looks_good._n
call fcn.0040a0b9
pop ecx
pop ecx
jmp 0x40959d
push str.LoadLibrary
push ebx
call fcn.00409271
push str._Extractor___SEVERE__Unable_to_load_existing_JVM_dll._n
call fcn.0040a0b9
add esp, 0xc
cmp dword [ebp - 0x2720], 0
je 0x4095ae
push 0
call dword [ebp - 0x2720]
push dword [ebp - 0x2724]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x271c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418cbb
leave
ret