Function at 0x10080c93
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x340
mov edi, dword [ebp + 0xc]
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0x338], eax
lea esi, [esp + 0x2b4]
push 0x84
push 0xff
push esi
call fcn.101db130
add esp, 0xc
mov dword [esi - 0xc], esi
mov dword [esi - 8], esi
lea eax, [esp + 0x334]
mov dword [esi - 4], eax
lea esi, [esp + 0x2a8]
mov ecx, edi
push esi
call fcn.10082f12
lea eax, [esp + 0x90]
mov word [eax + 8], 0x106
mov dword [eax], esi
push eax
call fcn.10080734
add esp, 4
xor ebx, ebx
test al, al
jne 0x10080d1e
xor eax, eax
push eax
push eax
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov ebx, eax
test eax, eax
je 0x10080e19
mov eax, dword [esp + 0x2a8]
mov ecx, dword [esp + 0x2ac]
lea edx, [ebx + ecx]
sub edx, eax
sub ecx, eax
cmp edx, 0xf8
jb 0x10080e03
cmp ecx, 4
jb 0x10080d50
cmp dword [eax], 0x5c3f5c5c
je 0x10080e03
lea esi, [esp + 0x9c]
push 0x20c
push 0xff
push esi
call fcn.101db130
add esp, 0xc
mov dword [esi - 0xc], esi
mov dword [esi - 8], esi
lea eax, [esp + 0x2a4]
mov dword [esi - 4], eax
lea ecx, [esp + 0x90]
push 0x10215315
push 0x10215311
call fcn.1007ddc6
test ebx, ebx
je 0x10080e56
lea esi, [esp + 0x3c]
xor eax, eax
dec eax
mov dword [esi + 0x50], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x40], xmm0
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi], xmm0
lea ecx, [esp + 0x8c]
mov dword [ecx - 0x5c], esi
mov dword [ecx - 0x58], esi
mov dword [ecx - 0x54], ecx
mov edi, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [esp + 0x30]
push eax
push edi
call fcn.10080fbd
add esp, 8
cmp dword [edi], 0
je 0x10080e31
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x10080ebf
push eax
call fcn.101fb77a
add esp, 4
jmp 0x10080ebf
push dword [ebp + 0x10]
push ecx
push eax
mov edi, dword [ebp + 8]
push edi
call fcn.100810ad
add esp, 0x10
jmp 0x10080eda
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov edi, dword [ebp + 8]
push edi
call fcn.1007f423
add esp, 8
jmp 0x10080eda
lea ecx, [esp + 0x90]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.1007ddc6
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x10080e56
push eax
call fcn.101fb77a
add esp, 4
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x30]
movdqa xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0xffffffff
mov eax, dword [esp + 0x2a8]
mov ecx, dword [esp + 0x2ac]
sub ecx, eax
push ecx
push eax
push ebx
call fcn.1007fd74
add esp, 0xc
mov edi, dword [esp + 0x2a8]
mov esi, dword [esp + 0x2ac]
sub esi, edi
cmp dword [ebx], edi
jne 0x10080f0d
cmp dword [esp + 0x40], esi
jne 0x10080f0d
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
sub ecx, eax
push dword [ebp + 0x10]
push ecx
push eax
mov edi, dword [ebp + 8]
push edi
call fcn.100810ad
add esp, 0x10
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x9c]
cmp eax, ecx
je 0x10080eda
push eax
call fcn.101fb77a
add esp, 4
lea ecx, [esp + 0x2b4]
mov eax, dword [esp + 0x2a8]
cmp eax, ecx
je 0x10080ef5
push eax
call fcn.101fb77a
add esp, 4
mov ecx, dword [esp + 0x338]
xor ecx, ebp
call fcn.101d7611
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov bx, 0x101
mov eax, dword [esp + 0x3c]
cmp eax, 2
je 0x10080f2a
cmp eax, 1
jne 0x10080f38
mov eax, dword [esp + 0x38]
cmp byte [eax], 0x2e
jne 0x10080f38
jmp 0x10080f79
mov eax, dword [esp + 0x38]
movzx eax, word [eax]
cmp eax, 0x2e2e
je 0x10080f93
mov word [esp + 0x2c], bx
mov word [esp + 0x20], bx
mov word [esp + 0x14], bx
mov word [esp + 8], 0x105
lea eax, [esp + 0x38]
mov dword [esp], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.100802ba
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.1007fe58
cmp dword [esp + 0x30], edi
jne 0x10080f11
cmp dword [esp + 0x40], esi
jne 0x10080f11
jmp 0x10080e9e
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
sub edx, ecx
call fcn.10080615
cmp eax, 0xffffffff
je 0x10080f79
add eax, dword [esp + 0x90]
mov dword [esp + 0x94], eax
jmp 0x10080f79