Function at 0x41e010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a71e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
call fcn.004046a0
mov ecx, eax
test ecx, ecx
je 0x41e28b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0x62bf0c
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
test ebx, ebx
jns 0x41e1c6
lea ecx, [ebp - 0x30]
call fcn.0044a2a0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41e0a6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.d:jenkinsworkspace_n_mb4uns_srcmb4unsmb4uns.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb14
mov ecx, eax
call fcn.00416f60
push 0x15e
mov ecx, eax
call fcn.00415590
mov edx, str.:_failed_to_get_Program_Data_path__error
mov ecx, eax
call fcn.00416f60
push ebx
mov ecx, eax
call fcn.004153e0
push eax
call fcn.004172d0
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x41e135
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e12b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e295
push edx
push ecx
call fcn.00573caf
add esp, 8
mov ecx, dword [esi - 0x10]
add esi, 0xfffffff0
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov dword [ebp - 0x1c], 7
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea edx, [esi + 0xc]
mov eax, dword [edx]
shr eax, 0x1f
test al, al
jne 0x41e16d
cmp ecx, dword [esi]
jne 0x41e16d
mov ebx, esi
lock inc dword [edx]
jmp 0x41e19d
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x41e29a
mov eax, dword [esi + 4]
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], eax
lea eax, [esi + 0x10]
mov edx, dword [esi + 4]
inc edx
push edx
push eax
call fcn.004040d0
add esp, 8
lea edx, [esi + 0xc]
lea eax, [ebx + 0x10]
mov dword [edi], eax
mov dword [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41e26d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x41e26d
mov edx, dword [ebp - 0x18]
test edx, edx
jne 0x41e1d1
xor ecx, ecx
jmp 0x41e1e5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e1d6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00425650
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, eax
lea eax, [esi + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x41e21f
cmp edx, dword [esi]
jne 0x41e21f
mov ebx, esi
lock inc dword [eax]
jmp 0x41e24a
mov eax, dword [edx]
mov ecx, edx
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x41e29f
mov eax, dword [esi + 4]
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], eax
lea eax, [esi + 0x10]
mov edx, dword [esi + 4]
inc edx
push edx
push eax
call fcn.004040d0
add esp, 8
lea eax, [ebx + 0x10]
mov dword [edi], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41e26d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057374d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004043d0
call fcn.0057f4be
call fcn.00404220
call fcn.00404220
int3