Function at 0x60e0d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76d595
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x86dc84]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x60e12d
push 0xff
push 0x7adc80
call fcn.0052630c
test eax, eax
je 0x60e12d
int3
cmp dword [ebp - 0x238], 0
jne 0x60e13b
call fcn.005241e2
xor edx, edx
jne 0x60e101
mov eax, dword [ebp - 0x264]
cmp dword [eax + 8], 0
jne 0x60e15f
push 0x100
push 0x7adcb8
call fcn.0052630c
test eax, eax
je 0x60e15f
int3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x264]
add ecx, 0x1c
call fcn.00522d1f
movzx ecx, al
test ecx, ecx
je 0x60e19e
cmp dword [ebp - 0x18], 0
je 0x60e19e
push 0
mov edx, dword [ebp - 0x264]
add edx, 0x1c
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00529688
mov edx, dword [ebp - 0x264]
mov ecx, dword [edx + 8]
call fcn.00522d1f
movzx eax, al
test eax, eax
je 0x60e1f7
mov ecx, dword [ebp - 0x264]
add ecx, 0x1c
call fcn.00522d1f
movzx ecx, al
test ecx, ecx
jne 0x60e1e4
mov ecx, dword [ebp - 0x264]
add ecx, 0x1c
call fcn.00521578
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xc]
call edx
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
call eax
jmp 0x60e5cb
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
jne 0x60e205
jmp 0x60e5cb
mov dword [ebp - 0x1c], 0
jmp 0x60e217
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 4]
jge 0x60e23e
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
call fcn.0052a867
jmp 0x60e20e
lea edx, [ebp - 0x22c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x60e262
cmp dword [ebp - 0x10], 0x104
jb 0x60e267
jmp 0x60e5cb
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jge 0x60e297
push 0x11c
push 0x7adcf0
call fcn.0052630c
test eax, eax
je 0x60e297
int3
mov edx, dword [ebp - 0x234]
mov word [ebp + edx*2 - 0x22c], 0x5c
mov eax, dword [ebp - 0x234]
add eax, 1
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov word [ebp + ecx*2 - 0x22c], 0
lea ecx, [ebp - 0x230]
call fcn.00526fe1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00526fe1
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
jmp 0x60e2f6
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 4]
jge 0x60e583
push 1
mov edx, dword [ebp - 0x234]
push edx
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x264]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x264]
mov eax, dword [edx + 8]
call eax
test eax, eax
jne 0x60e33f
jmp 0x60e583
lea ecx, [ebp - 0x230]
call fcn.00521578
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x230]
call fcn.0052405c
shl eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0052b5af
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x254]
movzx edx, word [ecx]
test edx, edx
je 0x60e40e
mov eax, dword [ebp - 0x254]
movzx ecx, word [eax]
cmp ecx, 0x26
jne 0x60e3a5
mov edx, dword [ebp - 0x258]
mov word [edx], 0x26
mov eax, dword [ebp - 0x258]
add eax, 2
mov dword [ebp - 0x258], eax
xor ecx, ecx
je 0x60e3d9
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x254]
mov cx, word [eax]
mov word [edx], cx
mov edx, dword [ebp - 0x258]
add edx, 2
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x254]
add eax, 2
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x258]
mov edx, dword [ebp - 0x254]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [ebp - 0x258]
add ecx, 2
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x254]
add edx, 2
mov dword [ebp - 0x254], edx
jmp 0x60e36c
mov eax, dword [ebp - 0x258]
mov word [eax], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00524633
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edx + 1]
xor edx, edx
mov ecx, 0x10
div ecx
mov dword [ebp - 0x23c], edx
cmp dword [ebp - 0x23c], 0xa
jle 0x60e46a
mov edx, dword [ebp - 0x23c]
push edx
push 0x7add28
push 0xa
lea eax, [ebp - 0x250]
push eax
call fcn.005299c1
add esp, 0x10
jmp 0x60e4a8
cmp dword [ebp - 0x23c], 0xa
jne 0x60e48b
push str.10
push 0xa
lea ecx, [ebp - 0x250]
push ecx
call fcn.00526cb7
add esp, 0xc
jmp 0x60e4a8
mov edx, dword [ebp - 0x23c]
push edx
push str._d
push 0xa
lea eax, [ebp - 0x250]
push eax
call fcn.005299c1
add esp, 0x10
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x268], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00529377
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x274], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x274]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00521749
add esp, 0xc
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x27c]
call fcn.00521578
push eax
mov edx, dword [ebp - 0x268]
push edx
push 0x400
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
call fcn.005269b5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.005257e5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.005257e5
jmp 0x60e2ed
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
sub eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
call fcn.0052b5d2
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005257e5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.005257e5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005287fb
mov esp, ebp
pop ebp
ret 4