joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10cc
call fcn.00459f60
mov eax, dword [0x4ac084]
xor eax, esp
mov dword [esp + 0x10c8], eax
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 4]
push str.Button_License_ZoomDiagnosticsPC
push 1
push 0x69
push str.CZoomDiagnosticsPCDialog::OnButtonLicense
push str.DialogsZoomDiagnosticsPCDialog.cpp
call fcn.00457220
push eax
call fcn.004573d0
push 0x10b8
lea eax, [esi + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0045be40
add esp, 0x18
lea eax, [esp + 0x80]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x10cc]
pop esi
xor ecx, esp
call fcn.00458d41
mov esp, ebp
pop ebp
ret 8
Function at 0x4046c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cef8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov di, dx
mov dword [ebp - 0x1c], ecx
call fcn.00403450
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40470a
push 0x80004005
call fcn.004039a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov eax, dword [0x4b048c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceExW]
movzx edi, di
lea eax, [eax + eax*8]
movzx eax, word [eax*4 + 0x4ac960]
push eax
push edi
push 0x490a1c
push dword [0x4b0494]
call ebx
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x404764
movzx eax, word [0x4ac960]
push eax
push edi
push 0x490a1c
push dword [0x4b0494]
call ebx
mov dword [ebp - 0x10], eax
push eax
push dword [0x4b0494]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x404830
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x404829
push dword [ebp - 0x10]
push dword [0x4b0494]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4047b2
mov al, byte [ebx]
cmp al, 0xff
je 0x4047ae
cmp al, 0xfe
jne 0x4047b2
dec edi
add ebx, 2
lea edx, [edi + 1]
test edx, edx
jns 0x4047c3
push 0x80070057
call fcn.004039a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4047e3
push edx
lea ecx, [ebp - 0x14]
call fcn.00407540
mov esi, dword [ebp - 0x14]
lea edx, [edi + 1]
push edi
push ebx
push edx
push esi
call fcn.0046177c
add esp, 0x10
cmp edi, 0xffffffff
jne 0x404802
push dword [esi - 8]
push esi
call fcn.0045ebfd
add esp, 8
mov edi, eax
test edi, edi
js 0x4047b9
cmp edi, dword [esi - 8]
jg 0x4047b9
push dword [ebp - 0x18]
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x1c]
mov edx, esi
call fcn.004045b0
mov edi, eax
jmp 0x404832
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404851
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d0f6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0045923a
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0045613a
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x407f40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10cc
call fcn.00459f60
mov eax, dword [0x4ac084]
xor eax, esp
mov dword [esp + 0x10c8], eax
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 4]
push str.Button_License_ZeoSpaceBackup
push 1
push 0x5b
push str.CZeoSpaceBckpDialog::OnButtonLicense
push str.DialogsZeoSpaceBckpDialog.cpp
call fcn.00457220
push eax
call fcn.004573d0
push 0x10b8
lea eax, [esi + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0045be40
add esp, 0x18
lea eax, [esp + 0x80]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x10cc]
pop esi
xor ecx, esp
call fcn.00458d41
mov esp, ebp
pop ebp
ret 8
Function at 0x4083d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4083e5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4083f0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4085e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4ac084]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x414]
mov edi, ecx
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x408622
call fcn.00409a70
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458d41
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x100
jbe 0x40863f
mov eax, 0x80020013
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458d41
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x490e94
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x40860c
push esi
xor eax, eax
lea esi, [edi + 8]
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push 0xffffffffffffffff
push eax
push 0x101
push esi
call fcn.00461859
push eax
call fcn.004035e0
add esp, 0x10
mov dword [ebp - 0x420], 0xc
lea eax, [ebp - 0x420]
mov dword [ebp - 0x41c], 0
mov ecx, edi
mov dword [ebp - 0x418], 1
mov dword [edi + 0x20c], 0x40000000
push eax
push 0x2100
push 2
push 0
push 0x40000000
push esi
call fcn.00408540
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop edi
call fcn.00458d41
mov esp, ebp
pop ebp
ret 8
Function at 0x408b10
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d458
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0x13
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x408b6d
mov eax, 0x8000ffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x408b99
test eax, eax
jle 0x408c7a
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x408bb5
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
shr edx, 1
jns 0x408bda
push 0x80070057
call fcn.004039a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x408bf7
push edx
lea ecx, [ebp - 0x14]
call fcn.00403880
mov esi, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0x13
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edi, eax
mov eax, dword [ebp - 0x10]
shr eax, 1
cmp eax, 0xffffffff
jne 0x408c21
push dword [esi - 8]
push esi
call fcn.0045ed24
add esp, 8
test eax, eax
js 0x408bd0
cmp eax, dword [esi - 8]
jg 0x408bd0
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x408c40
call fcn.00409a70
mov edi, eax
jmp 0x408c59
mov edx, 0x491028
lea ecx, [ebp - 0x14]
call fcn.004094d0
xor ecx, ecx
mov edi, 0x80004005
test al, al
cmovne edi, ecx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x408c78
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
mov esp, ebp
pop ebp
ret
Function at 0x408c90
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov ecx, eax
call fcn.00409910
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call ebx
test eax, eax
je 0x408d47
nop word [eax + eax]
mov eax, dword [ebp - 4]
test eax, eax
je 0x408d74
inc eax
push eax
call fcn.00459284
mov esi, eax
add esp, 4
test esi, esi
je 0x408d68
mov ecx, dword [ebp - 4]
inc ecx
push ecx
push 0
push esi
call fcn.0045b910
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x408d53
cmp dword [ebp - 8], 0
je 0x408d33
mov eax, esi
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408d20
mov ecx, dword [ebp - 0xc]
sub eax, edx
push eax
push esi
call fcn.00409840
push esi
call fcn.00458d52
add esp, 4
lea eax, [ebp - 4]
push eax
push edi
call ebx
test eax, eax
jne 0x408cd0
call fcn.00409a70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00458d52
add esp, 4
call fcn.00409a70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408d80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d496
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4ac084]
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 esi, edx
mov dword [ebp - 0x268], ecx
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x408dd2
xor eax, eax
jmp 0x408f3a
push esi
lea ecx, [ebp - 0x264]
call fcn.00403ac0
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0
call fcn.004093f0
lea ecx, [ebp - 0x264]
call fcn.00409460
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
or ebx, 0xffffffff
nop dword [eax]
nop dword [eax + eax]
mov ecx, 0x491030
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408e46
test dx, dx
je 0x408e42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408e46
add eax, 4
add ecx, 4
test dx, dx
jne 0x408e20
xor eax, eax
jmp 0x408e4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x408eec
mov eax, 0x491034
lea ecx, [ebp - 0x234]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x408e86
test dx, dx
je 0x408e82
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x408e86
add ecx, 4
add eax, 4
test dx, dx
jne 0x408e60
xor eax, eax
jmp 0x408e8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x408eec
test byte [ebp - 0x260], 0x10
jne 0x408eec
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x26c]
call fcn.00409520
push ecx
mov ecx, dword [ebp - 0x268]
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 1
push dword [eax]
call fcn.004452e0
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x26c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408eec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push edi
call esi
test eax, eax
jne 0x408e10
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x12
push edi
sete bl
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x408f38
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.00458d41
mov esp, ebp
pop ebp
ret
Function at 0x408f60
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
sub esp, 0xc
push dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408710
add esp, 0x14
push 0
push 0
push 0
push 0
push 0x49106c
mov dword [ebp - 4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x408fd2
call fcn.00409a70
mov esi, eax
jmp 0x409084
push 0
push 0x50
push str.autocrash.pckeeper.com
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x408ff7
call fcn.00409a70
mov esi, eax
jmp 0x40907d
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
push str.POST
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 3
test esi, esi
jne 0x409022
call fcn.00409a70
jmp 0x40905f
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.004087f0
mov dword [ebp - 0x10], eax
test eax, eax
js 0x409062
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x409047
call fcn.00409a70
jmp 0x40905f
mov ecx, esi
call fcn.00408b10
mov dword [ebp - 0x10], eax
test eax, eax
js 0x409062
mov edx, dword [ebp - 0x18]
mov ecx, esi
call fcn.00408c90
mov dword [ebp - 0x10], eax
test esi, esi
je 0x409071
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
jmp 0x409077
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
mov esi, dword [ebp - 0x10]
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4090a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
call fcn.00403450
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40b897
push 0x80004005
call fcn.004039a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00446db0
test eax, eax
je 0x40b8c0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x40b8d3
lea edx, [ebp - 0x10]
mov ecx, edi
call fcn.00446db0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x40b94f
mov edx, dword [ebp + 8]
test edx, edx
jne 0x40b8de
xor ecx, ecx
jmp 0x40b8f2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b8e3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00409770
push 0x38
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 0x3c
push 0
push eax
call fcn.0045b910
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
test eax, eax
mov esi, dword [ebp - 0x10]
cmovne ecx, eax
mov dword [ebp - 0x48], 0x2000100
push dword [ebp + 0x10]
mov dword [ebp - 0x40], str.open
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x38], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40b96e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b980
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ac084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b9c0
sub eax, edx
mov ecx, 0x4b0538
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004039c0
push 0xd
push str.ScreenShots.
mov ecx, 0x4b0538
call fcn.00409770
push 4
push str.main
mov ecx, 0x4b0538
call fcn.00409770
push 0
push dword [0x4b0538]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
mov dword [0x4b020c], esi
xor ecx, ebp
pop esi
call fcn.00458d41
mov esp, ebp
pop ebp
ret
Function at 0x40ba30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0x28], 0x14
push eax
push 0
push 0x483768
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 1
push eax
mov edi, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0
call dword [sym.imp.OLEAUT32.dll_OleCreateFontIndirect]
test eax, eax
js 0x40bb38
lea eax, [ebp - 4]
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
js 0x40bb34
push esi
lea edx, [ebp - 0x10]
push edx
push 1
push dword [ebp - 4]
push eax
call dword [ecx + 0x3c]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test esi, esi
mov edi, eax
pop esi
js 0x40bb26
test edi, edi
je 0x40bb26
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0xc]
test eax, eax
mov eax, dword [ebp - 0x14]
setne bl
cmp eax, dword [ebp - 0x10]
sete al
and bl, al
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40bb40
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push ebx
mov dword [ebp - 4], eax
call esi
push 0xa
push ebx
call esi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 4]
call ebx
push 0xcc0020
push dword [ebp - 0xc]
mov esi, eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 0xc]
push edi
mov edi, dword [ebp - 4]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push edi
call ebx
push dword [ebp - 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, eax
call esi
push dword [ebp - 4]
call esi
push ecx
mov ecx, dword [ebp + 0x10]
mov edx, edi
call fcn.0040ba30
add esp, 4
test al, al
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bd20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d858
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4b0570
mov dword [ebp - 0x14], 0x4b0570
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
mov dword [ebp - 4], 0
cmp dword [0x4b05a4], 0
jne 0x40bdbc
push 0
push 0
push 0
push 0x40c100
push 0
push 0
mov dword [0x4b05a0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [0x4b0590]
lea ecx, [ebp - 0x20]
mov dword [0x4b05a4], eax
push eax
push str.StatReporter_thread_started__hThread__0x_x__stats_count_in_the_list:__i
push 1
push 3
push 0x22
push str.CStatReporter::Start
push str.StatReporter.cpp
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x18
push 0x4b0570
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40bde0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4b05a4], 0
je 0x40beb9
push 0x4b0570
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4b0570
mov dword [0x4b05a0], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [0x4b05a8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x2710
push dword [0x4b05a4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0xc]
test eax, eax
je 0x40be70
push 0x2710
push eax
push str.StatReporter_thread_will_be_terminated__dw__0x_x__timeout:__u
push 3
push 3
push 0x34
push str.CStatReporter::Stop
push str.StatReporter.cpp
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x18
push 1
push dword [0x4b05a4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x40be9f
push dword [0x4b0590]
push dword [0x4b05a4]
push str.StatReporter_thread_stopped__hThread__0x_x__stats_left:__i
push 1
push 3
push 0x38
push str.CStatReporter::Stop
push str.StatReporter.cpp
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x18
mov eax, dword [0x4b05a4]
test eax, eax
je 0x40beb9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b05a4], 0
mov esp, ebp
pop ebp
ret

Function at 0x40dc20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x103
push 0
push 0
push 0
push str.SoftwareEssentwarePckeeper
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x40dcab
push 0
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0
push 0x4900f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x40dc7f
cmp dword [ebp - 8], 1
je 0x40dca2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0x4900f4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4