Function at 0x419d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543731
mov eax, dword fs:[0]
push eax
sub esp, 0xb7c
mov eax, dword [0x5a933c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5b09dc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xb80], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xb84], esi
mov edi, dword [eax + ecx*4]
mov eax, dword [0x5b043c]
mov dword [ebp - 0xb84], edi
cmp eax, dword [edi + 4]
jg 0x41a2fa
mov eax, dword [0x5b0440]
cmp eax, dword [edi + 4]
jg 0x41a330
cmp dword [0x5a9028], 0
jne 0x419f66
push 0x7ff
lea eax, [ebp - 0xb1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0xb3c], 0
lea ecx, [ebp - 0xb1c]
mov dword [ebp - 0xb38], 0
movups xmmword [ebp - 0xb4c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419dd0
sub ecx, edx
lea eax, [ebp - 0xb1c]
push ecx
push eax
lea ecx, [ebp - 0xb4c]
call fcn.00401440
lea eax, [ebp - 0xb4c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xb34]
push eax
call fcn.00423470
mov edi, eax
add esp, 8
cmp edi, 0x5a9018
je 0x419e45
mov ecx, 0x5a9018
call fcn.0040ed00
movups xmm0, xmmword [edi]
movups xmmword [0x5a9018], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [0x5a9028], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0xb20]
cmp ecx, 0x10
jb 0x419e7f
mov edx, dword [ebp - 0xb34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419e75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a366
push ecx
push edx
call fcn.004e243a
add esp, 8
mov ecx, dword [ebp - 0xb38]
mov dword [ebp - 0xb24], 0
mov dword [ebp - 0xb20], 0xf
mov byte [ebp - 0xb34], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x419edb
mov edx, dword [ebp - 0xb4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419ed1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a366
push ecx
push edx
call fcn.004e243a
add esp, 8
lea eax, [ebp - 0xb34]
push eax
call fcn.00426810
mov edi, eax
add esp, 4
cmp edi, 0x5a9030
je 0x419f26
mov ecx, 0x5a9030
call fcn.0040ed00
movups xmm0, xmmword [edi]
movups xmmword [0x5a9030], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [0x5a9040], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0xb20]
cmp ecx, 0x10
jb 0x419f60
mov edx, dword [ebp - 0xb34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419f56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a36b
push ecx
push edx
call fcn.004e243a
add esp, 8
mov edi, dword [ebp - 0xb84]
mov ecx, dword [ebp - 0xb80]
push 0x5a9018
call fcn.0041fd00
test al, al
je 0x41a046
mov ecx, dword [ebp - 0xb80]
lea eax, [ebp - 0xb4c]
push 0x3fffffff
push dword [0x5a9028]
push eax
call fcn.00433ac0
lea eax, [ebp - 0xb4c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xb34]
push 0x5a9030
push eax
call fcn.0042e080
mov ecx, dword [ebp - 0xb38]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
add esp, 0xc
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0xb34]
mov byte [ebp - 0xb34], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xb24]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0xb24], 0
mov dword [ebp - 0xb20], 0xf
cmp ecx, 0x10
jb 0x41a2dd
mov edx, dword [ebp - 0xb4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a037
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a370
push ecx
push edx
call fcn.004e243a
add esp, 8
jmp 0x41a2dd
mov eax, dword [0x5b0444]
cmp eax, dword [edi + 4]
jg 0x41a375
mov eax, dword [0x5b0448]
cmp eax, dword [edi + 4]
jg 0x41a3ab
cmp dword [0x5a9058], 0
jne 0x41a22d
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004e53e0
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.004e53e0
add esp, 0x18
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0x31c]
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
mov dword [ebp - 0xb24], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0xb20], 0
movups xmmword [ebp - 0xb34], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a0f0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0xb34]
call fcn.00401440
mov ecx, 0x5a9048
call fcn.0040ed00
movups xmm0, xmmword [ebp - 0xb34]
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0xb3c], 0
mov dword [ebp - 0xb38], 0
lea edx, [ecx + 2]
movups xmmword [0x5a9048], xmm0
movq xmm0, qword [ebp - 0xb24]
movq qword [0x5a9058], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0xb4c], xmm0
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a160
sub ecx, edx
lea eax, [ebp - 0x31c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xb4c]
call fcn.004031c0
lea eax, [ebp - 0xb4c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0xb34]
push eax
call fcn.00434600
mov edi, eax
add esp, 8
cmp edi, 0x5a9060
je 0x41a1db
mov ecx, 0x5a9060
call fcn.0040ed00
movups xmm0, xmmword [edi]
movups xmmword [0x5a9060], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [0x5a9070], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0xb34]
call fcn.00401b90
mov ecx, dword [ebp - 0xb38]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x41a22d
mov edx, dword [ebp - 0xb4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a223
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a3e1
push ecx
push edx
call fcn.004e243a
add esp, 8
mov edi, dword [ebp - 0xb80]
mov ecx, edi
push 0x5a9048
call fcn.0041fd00
test al, al
je 0x41a2d5
push 0x3fffffff
push dword [0x5a9058]
lea eax, [ebp - 0xb7c]
mov ecx, edi
push eax
call fcn.00433ac0
lea eax, [ebp - 0xb7c]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0xb64]
push 0x5a9060
push eax
call fcn.0042e080
xorps xmm0, xmm0
lea ecx, [ebp - 0xb7c]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
add esp, 0xc
movups xmm0, xmmword [ebp - 0xb64]
mov dword [esi + 0x14], 0
mov byte [ebp - 0xb64], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xb54]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0xb54], 0
mov dword [ebp - 0xb50], 0xf
call fcn.00401b90
jmp 0x41a2dd
push edi
mov ecx, esi
call fcn.004014f0
mov eax, esi
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.004e2448
mov esp, ebp
pop ebp
ret
push 0x5b043c
call fcn.004e2f24
add esp, 4
cmp dword [0x5b043c], 0xffffffff
jne 0x419d75
push 0x563db0
call fcn.004e2942
push 0x5b043c
call fcn.004e2eda
add esp, 8
jmp 0x419d75
push 0x5b0440
call fcn.004e2f24
add esp, 4
cmp dword [0x5b0440], 0xffffffff
jne 0x419d86
push 0x563e10
call fcn.004e2942
push 0x5b0440
call fcn.004e2eda
add esp, 8
jmp 0x419d86
call fcn.004f1758
call fcn.004f1758
call fcn.004f1758
push 0x5b0444
call fcn.004e2f24
add esp, 4
cmp dword [0x5b0444], 0xffffffff
jne 0x41a057
push 0x563e70
call fcn.004e2942
push 0x5b0444
call fcn.004e2eda
add esp, 8
jmp 0x41a057
push 0x5b0448
call fcn.004e2f24
add esp, 4
cmp dword [0x5b0448], 0xffffffff
jne 0x41a068
push 0x563ed0
call fcn.004e2942
push 0x5b0448
call fcn.004e2eda
add esp, 8
jmp 0x41a068
call fcn.004f1758
int3