Function at 0x40f4b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b4
call fcn.004372f0
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
cmp word [esi + 0x11c8], 0
push edi
lea edi, [esi + 0x11c8]
mov dword [ebp - 0x14b0], esi
mov dword [ebp - 0x14ac], eax
mov dword [ebp - 0x14a4], ecx
mov dword [ebp - 0x14b4], edx
jne 0x40f520
push 0x104
push edi
lea eax, [esi + 0xfc0]
push eax
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
test eax, eax
jne 0x40f514
xor ecx, ecx
mov word [edi], cx
cmp word [edi], 0
jne 0x40f520
lea edi, [esi + 0xfc0]
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push edi
push str._sutils.jar
lea edx, [ebp - 0xc68]
push 0x104
push edx
call ebx
mov eax, dword [ebp - 0x14a4]
push eax
lea ecx, [ebp - 0x248]
push 0x104
push ecx
call fcn.00428080
lea eax, [ebp - 0x248]
add esp, 0x1c
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f560
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x24a], 0x5c
lea eax, [ebp + eax*2 - 0x24a]
jne 0x40f586
xor edx, edx
mov word [eax], dx
lea edx, [ebp - 0xa60]
call fcn.0040fe00
lea eax, [ebp - 0x858]
push eax
push 0x208
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea ecx, [ebp - 0x1088]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
lea edx, [ebp - 0x14a8]
push edx
lea eax, [ebp - 0x1088]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x14a8]
mov eax, dword [ebp - 0x14a4]
push 0
sub ecx, 0xd53e8000
push 0x2710
sbb eax, 0x19db1de
push eax
push ecx
call fcn.0043e810
mov ecx, dword [ebp - 0x14b4]
push edx
push eax
push ecx
lea edx, [ebp - 0x858]
push edx
push str._szonaErr__s__d.log
mov eax, edx
push 0x208
push eax
call ebx
mov eax, dword [ebp - 0x14ac]
add esp, 0x1c
lea ecx, [ebp - 0x858]
push ecx
lea edx, [ebp - 0x248]
push edx
push eax
lea ecx, [ebp - 0xc68]
push ecx
lea edx, [ebp - 0xa60]
push edx
push str.__s_binjavaw.exe___classpath___s__org.sevenzip.decoder.SevenZipFolderDecoder___s____s____s_
lea eax, [ebp - 0x1078]
push 0x208
push eax
call ebx
lea edx, [ebp - 0x1078]
push edx
lea eax, [ebp - 0x149c]
xor ecx, ecx
push 0x208
push eax
mov dword [ebp - method.std::error_category.virtual_4], vtable.CommandWithOneArg.0
mov word [ebp - 0x149c], cx
call fcn.00428080
mov esi, dword [esi + 0x11884]
add esp, 0x2c
push 0x100
lea edi, [ebp - 0x448]
lea ecx, [ebp - 0x14a0]
mov dword [ebp - method.ExecuteProcessCommand.virtual_0], vtable.ExecuteProcessCommand.0
call fcn.00403b90
cmp word [ebp - 0x448], 0
je 0x40f7f3
mov ecx, edi
push ecx
call fcn.004281e1
add esp, 4
mov dword [ebp - 0x14a4], eax
test eax, eax
je 0x40f7f5
mov edx, dword [ebp - 0x14b4]
push eax
push edx
push str.extract__s__d
lea eax, [ebp - 0x40]
push 0x1e
push eax
call ebx
mov esi, dword [ebp - 0x14b0]
add esp, 0x14
lea ebx, [ebp - 0x40]
mov eax, esi
call fcn.00408e90
push 0x400
call fcn.0042770a
add esp, 4
mov edi, eax
mov ebx, 0x200
lea ecx, [ebp - 0x1078]
call fcn.004067a0
mov ebx, edi
mov eax, esi
call fcn.00408e90
push edi
call fcn.00427715
add esp, 4
cmp dword [ebp - 0x14a4], 1
jne 0x40f751
mov ebx, str.allJvm
mov eax, esi
call fcn.00408e90
push 0x1000
call fcn.0042770a
add esp, 4
mov ebx, eax
push ebx
mov ecx, esi
call fcn.0040ff60
mov eax, esi
call fcn.00408e90
push ebx
call fcn.00427715
add esp, 4
lea edi, [ebp - 0x14ac]
lea eax, [ebp - 0x858]
call fcn.00406070
test eax, eax
je 0x40f7dc
lea edi, [eax + eax]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042770a
mov esi, dword [ebp - 0x14ac]
mov ebx, eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f791
push edi
push ebx
sub eax, edx
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
test eax, eax
js 0x40f7bf
cmp eax, edi
jae 0x40f7b8
xor ecx, ecx
mov word [ebx + eax*2], cx
jmp 0x40f7bf
xor edx, edx
mov word [ebx + edi*2 - 2], dx
mov eax, dword [ebp - 0x14b0]
call fcn.00408e90
push esi
call fcn.00427715
add esp, 4
push ebx
call fcn.00427715
add esp, 4
mov eax, dword [ebp - 0x14a4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004276fb
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004276fb
mov esp, ebp
pop ebp
ret