Function at 0x42ef80
Capabilities:
Compress data via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6001c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
push 0x5abdd0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42f00f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push 0x21
push 0x5abde4
lea ecx, [ebp - 0x24]
call fcn.00402040
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.00402790
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004335f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004023e0
push str.RtlCompressBuffer
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
push str.RtlGetCompressionWorkSpaceSize
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
push str.RtlDecompressBuffer
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x18
push edx
push 2
call dword [ebp - 0x2c]
test eax, eax
je 0x42f0bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push 0x2d
push 0x5abe50
lea ecx, [ebp - 0x38]
call fcn.00402040
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
call fcn.00402790
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004335f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004023e0
push 4
push 0x3000
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
jne 0x42f12e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push 0x35
push 0x5abe74
lea ecx, [ebp - 0x44]
call fcn.00402040
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
call fcn.00402790
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004335f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004023e0
push 4
push 0x3000
push 0x5c00000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0
jne 0x42f19d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push 0x3c
push 0x5abe98
lea ecx, [ebp - 0x50]
call fcn.00402040
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
call fcn.00402790
push eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.004335f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004023e0
push 4
push 0x3000
push 0x6000000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 0
jne 0x42f20c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push 0x44
push 0x5abebc
lea ecx, [ebp - 0x5c]
call fcn.00402040
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x58]
call fcn.00402790
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004335f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004023e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret