Function at 0x439c40
Capabilities:
Compress data via winapi
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cab89
mov eax, dword fs:[0]
push eax
sub esp, 0x308
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
cmp byte [0x508604], 0
jne 0x43a0bf
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00499120
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439cd0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.0040edb0
push 0xa
push str.NTDLL.dll
lea ecx, [ebp - 0x27c]
mov dword [ebp - 4], 0
call fcn.0040eb20
mov dword [ebp - 0x220], 0
xor ecx, ecx
mov dword [ebp - 0x21c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call fcn.0040b030
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x508608], eax
test eax, eax
jne 0x439e6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.0046fbf0
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx ecx, al
sub ecx, 1
jne 0x43a0b4
push 0x66
mov dword [ebp - 0x250], ecx
mov byte [ebp - 0x260], cl
lea ecx, [ebp - 0x260]
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcwin_sys_api.cc
mov dword [ebp - 0x24c], 0xf
call fcn.0040ecb0
push 3
push 0x4d4c18
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040ecb0
push 0x26
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x314]
call fcn.0040a7e0
mov esi, eax
push str.load_nt_failed__err:
push esi
mov byte [ebp - 4], 5
call fcn.0040b5c0
add esp, 8
mov ecx, esi
push edi
call fcn.0040b460
call fcn.0046fbf0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.0040b820
lea ecx, [ebp - 0x248]
call fcn.0040afe0
lea ecx, [ebp - 0x260]
call fcn.0040afe0
jmp 0x43a0b4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlGetCompressionWorkSpaceSize
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x439f94
call esi
mov dword [ebp - 0x264], eax
call fcn.0046fbf0
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx ecx, al
sub ecx, 1
jne 0x439f92
push 0x66
mov dword [ebp - 0x238], ecx
mov byte [ebp - 0x248], cl
lea ecx, [ebp - 0x248]
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcwin_sys_api.cc
mov dword [ebp - 0x234], 0xf
call fcn.0040ecb0
push 3
push 0x4d4c18
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.0040ecb0
push 0x17
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x314]
call fcn.0040a7e0
mov esi, eax
push str.get_function:
push esi
mov byte [ebp - 4], 8
call fcn.0040b5c0
push str.RtlGetCompressionWorkSpaceSize
push esi
call fcn.0040b5c0
push str._failed__err:
push esi
call fcn.0040b5c0
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x264]
call fcn.0040b460
call fcn.0046fbf0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.0040b820
lea ecx, [ebp - 0x260]
call fcn.0040afe0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.0040afe0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
push str.RtlDecompressBufferEx
push dword [0x508608]
mov dword [0x50860c], eax
call edi
test eax, eax
jne 0x43a0a8
call esi
mov edi, eax
call fcn.0046fbf0
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx ecx, al
sub ecx, 1
jne 0x43a0a6
push 0x66
mov dword [ebp - 0x238], ecx
mov byte [ebp - 0x248], cl
lea ecx, [ebp - 0x248]
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcwin_sys_api.cc
mov dword [ebp - 0x234], 0xf
call fcn.0040ecb0
push 3
push 0x4d4c18
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 9
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.0040ecb0
push 0x17
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x314]
call fcn.0040a7e0
mov esi, eax
push str.get_function:
push esi
mov byte [ebp - 4], 0xb
call fcn.0040b5c0
push str.RtlDecompressBufferEx
push esi
call fcn.0040b5c0
push str._failed__err:
push esi
call fcn.0040b5c0
add esp, 0x18
mov ecx, esi
push edi
call fcn.0040b460
call fcn.0046fbf0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x314]
call fcn.0040b820
lea ecx, [ebp - 0x260]
call fcn.0040afe0
lea ecx, [ebp - 0x248]
call fcn.0040afe0
xor eax, eax
mov dword [0x508610], eax
mov byte [0x508604], 1
lea ecx, [ebp - 0x230]
call fcn.0040b030
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.004779e3
mov esp, ebp
pop ebp
ret