Function at 0x4366f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca6b7
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x5036e8]
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 [0x5085ec]
mov edi, dword [ebp + 8]
test al, 1
jne 0x43675a
or eax, 1
mov dword [0x5085e4], 0
mov dword [0x5085ec], eax
xor eax, eax
push 0x4d28e0
mov dword [0x5085e8], 7
mov word [0x5085d4], ax
call fcn.004779ae
add esp, 4
cmp dword [0x5085e4], 0
jne 0x43696d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004990f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x436871
xor eax, eax
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4367c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.0040edb0
push 0x4d7e7c
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00411f70
mov esi, eax
add esp, 0xc
cmp esi, 0x5085d4
je 0x436842
mov ecx, 0x5085d4
call fcn.0040b030
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x5085d4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x5085e4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x298]
call fcn.0040b030
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b030
push 0x5085d4
call fcn.00431890
add esp, 4
jmp 0x43696d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x238], eax
call fcn.0046fbc0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx ecx, al
sub ecx, 1
jne 0x43696d
push 0x5e
mov dword [ebp - 0x270], ecx
mov byte [ebp - 0x280], cl
lea ecx, [ebp - 0x280]
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcuwp.cc
mov dword [ebp - 0x26c], 0xf
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 1
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
call fcn.0040ecb0
push 0xda
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x330]
call fcn.0040a7e0
mov esi, eax
push str.Failed_to_get_system_directory__err:
push esi
mov byte [ebp - 4], 3
call fcn.00409890
add esp, 8
mov ecx, esi
push dword [ebp - 0x238]
call fcn.0040b460
call fcn.0046fbc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x330]
call fcn.0040b820
lea ecx, [ebp - 0x268]
call fcn.0040afe0
lea ecx, [ebp - 0x280]
mov dword [ebp - 4], 0xffffffff
call fcn.0040afe0
push edi
lea ecx, [ebp - 0x230]
call fcn.004136b0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 4
push eax
call fcn.00431890
lea eax, [ebp - 0x230]
push 0x5085d4
push eax
call fcn.00431790
mov edx, dword [ebp - 0x21c]
add esp, 0xc
mov byte [ebp - 0x231], al
cmp edx, 8
jb 0x4369e8
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4369d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436a03
push edx
push ecx
call fcn.004776ff
mov al, byte [ebp - 0x231]
add esp, 8
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.004779c3
mov esp, ebp
pop ebp
ret
call fcn.0049c66a
int3