Function at 0x44f980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ac6a
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x582904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x154], edi
push 0x587ab8
mov dword [ebp - 0x144], 0
push dword [0x5822b0]
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x140], edi
call fcn.00444380
push 0x5c
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x144], 1
call fcn.0050eef0
add esp, 0x18
test eax, eax
je 0x44fd22
cmp dword [edi + 0x14], 0x10
mov esi, edi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x130], eax
jb 0x44fa2d
mov esi, dword [edi]
or edi, 0xffffffff
cmp eax, 0x10
jae 0x44fa52
movups xmm0, xmmword [esi]
mov dword [ebp - 0x11c], eax
mov eax, 0xf
mov dword [ebp - 0x138], eax
movups xmmword [ebp - 0x12c], xmm0
jmp 0x44fad1
or eax, 0xf
mov ecx, 0x7fffffff
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x138], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x44fa94
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, edi
push eax
call fcn.0050b502
add esp, 4
test eax, eax
je 0x44fd44
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x44faa7
test ecx, ecx
je 0x44faa5
push ecx
call fcn.0050b502
add esp, 4
mov ecx, eax
jmp 0x44faa7
xor ecx, ecx
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x12c], ecx
push eax
push esi
push ecx
call fcn.0050df20
mov eax, dword [ebp - 0x130]
add esp, 0xc
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x138]
mov ecx, eax
mov dword [ebp - 0x118], eax
mov esi, dword [str.ZOGHercules11CE]
mov dword [ebp - 4], 1
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x44faf0
mov eax, dword [ebp - 0x130]
sub esi, edx
cmp ecx, 0x10
mov dword [ebp - 0x14c], esi
lea edx, [ebp - 0x12c]
cmovae edx, dword [ebp - 0x12c]
mov dword [ebp - 0x150], edx
cmp esi, eax
ja 0x44fbfe
test esi, esi
jne 0x44fb2e
xor edx, edx
jmp 0x44fc01
sub eax, esi
lea ecx, [eax + 1]
mov eax, dword [str.ZOGHercules11CE]
add ecx, edx
mov dword [ebp - 0x148], ecx
sub ecx, edx
push ecx
movsx eax, byte [eax]
push eax
push edx
mov dword [ebp - 0x13c], eax
call fcn.0050edc0
add esp, 0xc
mov dword [ebp - 0x134], eax
test eax, eax
je 0x44fbf8
mov edx, dword [str.ZOGHercules11CE]
mov ecx, eax
sub esi, 4
jb 0x44fb82
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x44fb87
add ecx, 4
add edx, 4
sub esi, 4
jae 0x44fb71
cmp esi, 0xfffffffc
je 0x44fbbb
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x44fbb4
cmp esi, 0xfffffffd
je 0x44fbbb
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x44fbb4
cmp esi, 0xfffffffe
je 0x44fbbb
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x44fbb4
cmp esi, 0xffffffff
je 0x44fbbb
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x44fbbb
sbb eax, eax
or eax, 1
jmp 0x44fbbd
xor eax, eax
mov edx, dword [ebp - 0x134]
test eax, eax
je 0x44fc6e
mov eax, dword [ebp - 0x148]
inc edx
sub eax, edx
push eax
push dword [ebp - 0x13c]
push edx
call fcn.0050edc0
mov esi, dword [ebp - 0x14c]
add esp, 0xc
mov dword [ebp - 0x134], eax
test eax, eax
jne 0x44fb64
mov eax, dword [ebp - 0x130]
or edx, 0xffffffff
cmp eax, edx
lea ecx, [ebp - 0x12c]
cmovb edx, eax
cmp dword [ebp - 0x138], 0x10
cmovae ecx, dword [ebp - 0x12c]
sub eax, edx
mov dword [ebp - 0x11c], eax
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.0050e4a0
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x12c]
add esp, 0xc
cmp dword [ebp - 0x118], 0x10
cmovae ecx, dword [ebp - 0x12c]
test edx, edx
je 0x44fc7c
lea eax, [edx - 1]
cmp eax, 0xffffffff
cmovb edi, eax
add edi, ecx
cmp byte [edi], 0x5c
je 0x44fc6a
nop
cmp edi, ecx
je 0x44fc7c
dec edi
cmp byte [edi], 0x5c
jne 0x44fc60
sub edi, ecx
jmp 0x44fc7f
sub edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x130]
jmp 0x44fc01
or edi, 0xffffffff
mov esi, edx
sub esi, edi
cmp edx, edi
jb 0x44fd3f
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x12c]
cmovae ecx, dword [ebp - 0x12c]
sub edx, esi
add ecx, edi
mov dword [ebp - 0x11c], edx
sub edx, edi
inc edx
push edx
lea eax, [ecx + esi]
push eax
push ecx
call fcn.0050e4a0
add esp, 0xc
lea ecx, [ebp - 0x114]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push ecx
push eax
push 0
push 0
push 0x801a
push 0
call sub.SHELL32.dll_SHGetFolderPathAndSubDirA
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x44fd1c
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44fd12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd44
push edx
push ecx
call fcn.0050b532
add esp, 8
mov edi, dword [ebp - 0x140]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050b540
mov esp, ebp
pop ebp
ret
call fcn.00405610
call fcn.00511c7b
int3