Function at 0x4141b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a793
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x47b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x228], 0
mov eax, dword [0x47d1cc]
test al, 1
jne 0x41421d
or eax, 1
mov ecx, 0x47d1d0
mov dword [0x47d1cc], eax
call fcn.00403590
push 0x45faa0
call fcn.0043c712
add esp, 4
mov ecx, 0x47d1d0
call fcn.00402420
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x414471
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043dca0
add esp, 0xc
lea ecx, [ebp - 0x21c]
xor edi, edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x21c], edi
call fcn.0040d120
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0040de10
lea ecx, [ebp - 0x21c]
test al, al
jne 0x414294
mov byte [ebp - 4], al
call fcn.0040d1a0
jmp 0x4142ee
call fcn.0040d860
test al, al
jne 0x4142ad
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], al
call fcn.0040d1a0
jmp 0x4142ee
lea eax, [ebp - 0x218]
push eax
push 1
push dword [ebp - 0x220]
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
mov ecx, 1
cmove edi, ecx
lea ecx, [ebp - 0x21c]
call fcn.0040db60
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call fcn.0040d1a0
test edi, edi
jne 0x414301
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414340
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00402450
push str.hotspotessw
lea edx, [ebp - 0x240]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x25c]
call fcn.0040b1d0
add esp, 4
push eax
mov ecx, 0x47d1d0
mov byte [ebp - 4], 3
call fcn.00404810
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x4143d5
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4143cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4144ab
push edx
push ecx
call fcn.0043c039
add esp, 8
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x414439
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41442f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4144b0
push edx
push ecx
call fcn.0043c039
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov ecx, 0x47d1d0
mov byte [ebp - 4], al
call fcn.00403fb0
test al, al
jne 0x414471
mov ecx, 0x47d1d0
call fcn.00404240
push 0x47d1d0
mov ecx, esi
call fcn.004035d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 1
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.0043bff8
mov esp, ebp
pop ebp
ret
call fcn.00440186
call fcn.00440186
int3