Function at 0x458324
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
lea eax, [ebp - 0x204]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea edx, [ebp - 0x204]
push edx
call fcn.0045e9e8
cmp dword [ebp + 8], 0
pop ecx
jne 0x45836c
lea ecx, [ebp - 0x204]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045e850
add esp, 8
jmp 0x458586
mov eax, dword [ebp + 8]
xor ebx, ebx
xor edi, edi
movsx edx, byte [eax]
cmp edx, 0x5c
jne 0x4583a4
mov ecx, dword [ebp + 0xc]
mov al, byte [ebp - 0x204]
inc ebx
mov esi, 2
mov byte [ecx], al
mov edx, dword [ebp + 0xc]
mov cl, byte [ebp - 0x203]
mov byte [edx + 1], cl
mov eax, dword [ebp + 0xc]
mov byte [eax + 2], 0
jmp 0x45843c
mov eax, dword [ebp + 8]
movsx edx, byte [eax + 1]
cmp edx, 0x3a
jne 0x458400
mov ecx, dword [ebp + 8]
movsx eax, byte [ecx]
cmp eax, 0x61
jl 0x4583ca
cmp eax, 0x7a
jg 0x4583ca
mov edx, dword [ebp + 8]
mov cl, byte [edx]
add cl, 0xe0
jmp 0x4583cf
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov edx, dword [ebp + 0xc]
mov ebx, 2
mov esi, 2
mov byte [edx], cl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax + 1]
mov byte [ecx + 1], dl
mov eax, dword [ebp + 0xc]
mov byte [eax + 2], 0
mov eax, dword [ebp + 8]
movsx edx, byte [eax + ebx]
cmp edx, 0x5c
jne 0x45843c
inc ebx
jmp 0x45843c
lea ecx, [ebp - 0x204]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045e850
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
call sub.KERNEL32.DLL_lstrlenA
mov esi, eax
mov eax, dword [ebp + 0xc]
movsx eax, byte [eax + esi - 1]
cmp eax, 0x5c
je 0x458433
mov edx, dword [ebp + 0xc]
cmp eax, 0x2f
jne 0x45843c
mov ecx, dword [ebp + 0xc]
mov byte [ecx + esi - 1], 0
dec esi
mov eax, dword [ebp + 8]
lea edx, [eax + ebx]
mov ebx, edx
mov cl, byte [ebx]
sub cl, 1
jb 0x45845a
sub cl, 0x2e
je 0x458482
sub cl, 0x2d
je 0x458482
jmp 0x458519
test edi, edi
je 0x458586
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x100]
mov byte [eax + esi], 0x5c
push edx
inc esi
add esi, dword [ebp + 0xc]
push esi
call fcn.0045e850
add esp, 8
jmp 0x458586
test edi, edi
jne 0x45848e
or eax, 0xffffffff
jmp 0x458588
push 0x5f04d8
lea edx, [ebp - 0x100]
push edx
call fcn.0045e9a0
add esp, 8
test eax, eax
je 0x458511
push 0x5f04da
lea ecx, [ebp - 0x100]
push ecx
call fcn.0045e9a0
add esp, 8
test eax, eax
jne 0x4584f2
dec esi
mov eax, dword [ebp + 0xc]
add eax, esi
jmp 0x4584c8
dec esi
dec eax
movsx edx, byte [eax]
cmp edx, 0x5c
je 0x4584da
cmp edx, 0x2f
je 0x4584da
cmp edx, 0x3a
jne 0x4584c6
mov ecx, dword [ebp + 0xc]
movsx eax, byte [ecx + esi]
cmp eax, 0x3a
je 0x4584ef
mov edx, dword [ebp + 0xc]
mov byte [edx + esi], 0
jmp 0x458511
inc esi
jmp 0x458511
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x100]
mov byte [ecx + esi], 0x5c
push eax
mov edx, dword [ebp + 0xc]
inc esi
add edx, esi
push edx
call fcn.0045e850
add esp, 8
add esi, edi
xor edi, edi
inc ebx
jmp 0x458444
mov al, byte [ebx]
cmp al, 0x81
jb 0x458523
cmp al, 0x9f
jbe 0x458533
mov dl, byte [ebx]
cmp dl, 0xe0
jb 0x45852f
cmp dl, 0xfc
jbe 0x458533
xor ecx, ecx
jmp 0x458538
mov ecx, 1
test ecx, ecx
jne 0x458568
movsx eax, byte [ebx]
cmp eax, 0x61
jl 0x458550
cmp eax, 0x7a
jg 0x458550
mov dl, byte [ebx]
add dl, 0xe0
jmp 0x458552
mov dl, byte [ebx]
mov byte [ebp + edi - 0x100], dl
mov byte [ebp + edi - 0xff], 0
inc edi
inc ebx
jmp 0x458444
mov ax, word [ebx]
mov word [ebp + edi - 0x100], ax
mov byte [ebp + edi - 0xfe], 0
add edi, 2
add ebx, 2
jmp 0x458444
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret