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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2724
call fcn.0041f310
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 0x4094dd
push str._JNILaunch__WARNING:_SetDllDirectoryA_could_not_be_found
call fcn.0040a1bf
pop ecx
lea eax, [ebp - 0x2718]
push esi
push eax
mov byte [ebp - 0x2718], 0
call fcn.004190d0
push 0x43fca0
lea esi, [ebp - 0x2718]
call fcn.0040a0b9
mov eax, esi
add esp, 0xc
push eax
call fcn.0040107c
mov esi, eax
test esi, esi
pop ecx
jne 0x40955b
lea eax, [ebp - 0x2718]
push eax
push str._Extractor___SEVERE__Unable_to_open_directory___s__n
call fcn.0040a1bf
pop ecx
pop ecx
jmp 0x40956b
mov edi, dword [eax]
push edi
push str.msvcp
call fcn.0040a6fb
test al, al
pop ecx
pop ecx
jne 0x40954c
push edi
push str.vcruntime
call fcn.0040a6fb
test al, al
pop ecx
pop ecx
je 0x40955b
lea eax, [ebp - 0x2718]
push eax
mov ecx, edi
call fcn.004093eb
pop ecx
mov eax, esi
call fcn.004011a6
test eax, eax
jne 0x409528
call fcn.00401167
lea eax, [ebp - 0x2718]
push eax
push str._JNILaunch__Bin_folder_is__s_n
call fcn.0040a1bf
mov esi, 0x7d0
push esi
call fcn.00418ea7
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 0x4095b2
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.0040a138
pop ecx
pop ecx
lea esi, [ebp - 0x1390]
call fcn.00409a64
test eax, eax
mov eax, esi
jne 0x4095fb
push edi
push str.client
call fcn.0040a138
pop ecx
pop ecx
call fcn.00409a64
test eax, eax
je 0x409608
mov eax, esi
push eax
push str._Utils__Located_DLL___s__n
call fcn.0040a1bf
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x2718]
push ebx
push eax
lea eax, [ebp - 0x1390]
call fcn.0040a156
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 0x409676
push str.LoadLibrary
mov ebx, str.Utils
push ebx
call fcn.00409377
push edi
lea eax, [ebp - 0x2718]
push str.client
push eax
lea eax, [ebp - 0x1390]
call fcn.0040a156
add esp, 0x14
lea eax, [ebp - 0x1390]
push eax
call esi
test eax, eax
mov dword [ebp - 0x271c], eax
je 0x40968b
lea eax, [ebp - 0x1390]
push eax
push str._Extractor__Successfully_loaded_DLL___s_._JVM_looks_good._n
call fcn.0040a1bf
pop ecx
pop ecx
jmp 0x4096a3
push str.LoadLibrary
push ebx
call fcn.00409377
push str._Extractor___SEVERE__Unable_to_load_existing_JVM_dll._n
call fcn.0040a1bf
add esp, 0xc
cmp dword [ebp - 0x2720], 0
je 0x4096b4
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.00418dbb
leave
ret