Function at 0x409e93
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440b86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x24], ecx
push 0
call fcn.004130c0
add esp, 4
push str.HatJava
mov ecx, dword [ebp - 0x24]
add ecx, 0xd8
call fcn.00438fd7
push 0x104
push 0x104
mov ecx, dword [ebp - 0x24]
add ecx, 0xc0
call fcn.00439157
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xc0
call fcn.004391a6
push 0x5c
mov ecx, dword [ebp - 0x24]
add ecx, 0xc0
call fcn.004344d8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x409f2a
push 0xffffffffffffffff
push 0
push 0x68
call fcn.0043c0f9
xor eax, eax
jmp 0x40a1c8
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xc0
call fcn.00434460
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xc4
call fcn.00438f87
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00438e4e
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0xc0
call fcn.004343a7
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xc8
call fcn.00438f87
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00438e4e
push 0x2e
mov ecx, dword [ebp - 0x24]
add ecx, 0xc8
call fcn.004344d8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x409fe6
push 0xffffffffffffffff
push 0
push 0x68
call fcn.0043c0f9
xor eax, eax
jmp 0x40a1c8
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xc8
call fcn.00434460
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0xcc
call fcn.00438f87
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00438e4e
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xc8
call fcn.004343a7
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xd0
call fcn.00438f87
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00438e4e
push 0x104
push 0x104
mov ecx, dword [ebp - 0x24]
add ecx, 0xd4
call fcn.00439157
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xd4
call fcn.004391a6
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0xd4
call fcn.0040b740
movsx ecx, al
cmp ecx, 0x3a
je 0x40a0cd
push 0xffffffffffffffff
push 0
push 0x69
call fcn.0043c0f9
xor eax, eax
jmp 0x40a1c8
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xd8]
push eax
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xd4
call fcn.0040b740
movsx ecx, al
push ecx
push str._c:Program_Files_s
mov edx, dword [ebp - 0x24]
add edx, 0xdc
push edx
call fcn.0043483b
add esp, 0x10
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xdc]
push ecx
push str._swrapper.exe
mov edx, dword [ebp - 0x24]
add edx, 0xe0
push edx
call fcn.0043483b
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xdc]
push ecx
push str._s_Xms3m.dll
mov edx, dword [ebp - 0x24]
add edx, 0xe8
push edx
call fcn.0043483b
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xdc]
push ecx
push str._swrapper.conf
mov edx, dword [ebp - 0x24]
add edx, 0xe4
push edx
call fcn.0043483b
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xdc]
push ecx
push str._sjava.dat
mov edx, dword [ebp - 0x24]
add edx, 0xec
push edx
call fcn.0043483b
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xd4]
push ecx
push str._s_rundll32.exe
mov edx, dword [ebp - 0x24]
add edx, 0xf0
push edx
call fcn.0043483b
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0xdc
call fcn.00403450
push eax
push 0x45488c
call fcn.00423910
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret