Function at 0x41ce40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6f10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x65d0c8]
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.00404250
mov ecx, eax
test ecx, ecx
je 0x41d0bb
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 0x62bf1c
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
test ebx, ebx
jns 0x41cff6
lea ecx, [ebp - 0x30]
call fcn.0043fe90
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41ced6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x665180
call fcn.004177a0
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_n_mb4uns_srcmb4unsmb4uns.cpp
mov ecx, eax
call fcn.00416940
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416940
push 0x13b
mov ecx, eax
call fcn.004150f0
mov edx, str.:_failed_to_get_Program_Data_path__error
mov ecx, eax
call fcn.00416940
push ebx
mov ecx, eax
call fcn.00414f40
push eax
call fcn.00416cb0
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x41cf65
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cf5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d0c5
push edx
push ecx
call fcn.00573e4d
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 0x41cf9d
cmp ecx, dword [esi]
jne 0x41cf9d
mov ebx, esi
lock inc dword [edx]
jmp 0x41cfcd
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x41d0ca
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.00403c80
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 0x41d09d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x41d09d
mov edx, dword [ebp - 0x18]
test edx, edx
jne 0x41d001
xor ecx, ecx
jmp 0x41d015
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d006
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00424700
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 0x41d04f
cmp edx, dword [esi]
jne 0x41d04f
mov ebx, esi
lock inc dword [eax]
jmp 0x41d07a
mov eax, dword [edx]
mov ecx, edx
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x41d0cf
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.00403c80
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 0x41d09d
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.005738eb
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403f80
call fcn.0057f64e
call fcn.00403dd0
call fcn.00403dd0
int3