joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f1724
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4f1755
mov ecx, dword [0x55667c]
mov dl, 1
mov eax, dword [0x4efab8]
call fcn.0040e15c
call fcn.00404688
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4f1782
mov ecx, dword [0x556558]
mov dl, 1
mov eax, dword [0x4efab8]
call fcn.0040e15c
call fcn.00404688
xor eax, eax
push ebp
push 0x4f17fe
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004040f0
cmp byte [ebp + 8], 0
je 0x4f17da
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004f1584
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.004f11e0
jmp 0x4f17f4
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004f0cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f181b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f19fc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004f0f88
xor eax, eax
push ebp
push 0x4f1b6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4f1b57
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4f1a47
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f1a51
call fcn.00404734
jmp 0x4f1b74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420690
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x4f1b4c
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4f1aff
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4f1aec
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004040f0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004f19b4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4f1b80]
cmp dl, byte [eax + 0x28]
je 0x4f1b53
call fcn.0040e074
jmp 0x4f1b53
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004206b0
jmp 0x4f1b53
cmp ecx, ebx
jge 0x4f1b1b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004206b0
jmp 0x4f1a51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420690
cmp edx, dword [esp + 4]
jne 0x4f1b3b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4f1a51
push ebp
call fcn.004f19b4
pop ecx
jmp 0x4f1b53
push ebp
call fcn.004f19b4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1b74
mov eax, dword [ebp - 4]
call fcn.004f0f94
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f1b84
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f1ca6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f0f88
xor eax, eax
push ebp
push 0x4f1c89
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f1bd4
call fcn.00404734
jmp 0x4f1c90
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4f1c73
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4f1c73
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004040f0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4f1c73
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d858
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4f1cc0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5568c4]
mov dl, 1
mov eax, dword [0x4efab8]
call fcn.0040e198
call fcn.00404688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1c90
mov eax, dword [ebp - 4]
call fcn.004f0f94
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1cad
lea eax, [ebp - 0x28]
call fcn.00404d34
ret
Function at 0x4f1d0c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f1e56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f0f88
xor eax, eax
push ebp
push 0x4f1e39
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4f1d71
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4f1d71
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x4f1e23
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4f1d84
call fcn.00404734
jmp 0x4f1e40
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4f1e23
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4f1e23
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004040f0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4f1e23
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d858
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4f1e70
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5568c4]
mov dl, 1
mov eax, dword [0x4efab8]
call fcn.0040e198
call fcn.00404688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1e40
mov eax, dword [ebp - 4]
call fcn.004f0f94
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1e5d
lea eax, [ebp - 0x28]
call fcn.00404d34
ret

Function at 0x4f3774
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, edx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x556728]
mov eax, dword [eax]
call fcn.0047adb0
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x4f37b5
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4f377f
pop esi
pop ebx
ret
pop edx
pop eax
jge 0x4f377f
pop esi
pop ebx
ret
Function at 0x4f3e08
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41accc]
call fcn.00405810
xor eax, eax
push ebp
push 0x4f3f4c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x553010], 0
jne 0x4f3e5b
mov ecx, dword [0x555f0c]
mov dl, 1
mov eax, dword [0x408778]
call fcn.0040e15c
call fcn.00404688
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403650
mov eax, ebx
call fcn.004055ac
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4f3f5c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406bb4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004055bc
test eax, eax
jle 0x4f3ef3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4f3eec
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404fbc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404fa4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409794
test eax, eax
jne 0x4f3eec
mov ebx, 0x15
jmp 0x4f3ef8
mov ebx, 0x10
jmp 0x4f3ef8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x553010]
call fcn.004f3d04
mov eax, dword [ebp - 8]
call fcn.004f3d04
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3f53
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404d58
lea eax, [ebp - 0x10]
mov edx, dword [0x41accc]
call fcn.004058e0
ret

Function at 0x501b40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, dword [esi + 4]
call fcn.0040614c
mov ebx, eax
mov eax, dword [edi + 4]
call fcn.0040614c
cmp ebx, eax
jne 0x501b7f
mov eax, dword [esi + 4]
call fcn.0040614c
mov edx, eax
dec edx
test edx, edx
jl 0x501b7f
inc edx
xor eax, eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + eax*4]
mov ebx, dword [esi + 4]
xor dword [ebx + eax*4], ecx
inc eax
dec edx
jne 0x501b6f
pop edi
pop esi
pop ebx
ret
Function at 0x506d54
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x506e1e
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4941a0]
call fcn.00406328
add esp, 4
mov eax, edi
and al, 0xff
mov edx, dword [ebp - 4]
mov byte [edx], al
mov eax, edi
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 4]
mov byte [edx + 1], al
mov eax, edi
shr eax, 0x10
and al, 0xff
mov edx, dword [ebp - 4]
mov byte [edx + 2], al
mov eax, edi
shr eax, 0x18
and al, 0xff
mov edx, dword [ebp - 4]
mov byte [edx + 3], al
mov eax, esi
call fcn.0040614c
mov edi, eax
push edi
mov eax, ebx
mov ecx, 1
mov edx, dword [0x4941a0]
call fcn.00406328
add esp, 4
mov edx, edi
dec edx
test edx, edx
jl 0x506e02
inc edx
xor eax, eax
mov ecx, eax
and ecx, 0x80000003
jns 0x506df0
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edi, dword [ebp - 4]
mov cl, byte [edi + ecx]
xor cl, byte [esi + eax]
mov edi, dword [ebx]
mov byte [edi + eax], cl
inc eax
dec edx
jne 0x506de1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506e25
lea eax, [ebp - 4]
mov edx, dword [0x4941a0]
call fcn.00406454
ret
Function at 0x522288
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5223f9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5223d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404f1c
lea eax, [ebp - 0x118]
mov edx, 0x522410
call fcn.00404ffc
mov eax, dword [ebp - 0x118]
call fcn.004051f4
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x522346
lea eax, [ebp - 0x111]
call fcn.0040a714
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404e24
jmp 0x52234d
mov eax, esi
call fcn.00404d34
cmp bl, 0x61
jae 0x52236e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040ef8c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404d88
jmp 0x522388
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040ef00
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404d88
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x52241c
call fcn.0040b1d0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5223db
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x52856c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.004051e4
xor eax, eax
push ebp
push 0x528673
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x17c], 0x46464952
mov dword [ebp - 0x178], 0x24
mov dword [ebp - 0x174], 0x45564157
mov dword [ebp - 0x170], 0x20746d66
mov dword [ebp - 0x16c], 0x10
mov word [ebp - 0x168], 1
mov word [ebp - 0x166], bx
mov dword [ebp - 0x164], edi
movzx edx, bx
imul edx, edi
movzx eax, si
shr eax, 3
imul edx, eax
mov dword [ebp - 0x160], edx
imul bx
mov word [ebp - 0x15c], ax
mov word [ebp - 0x15a], si
mov dword [ebp - 0x158], 0x61746164
xor eax, eax
mov dword [ebp - 0x150], eax
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14c]
call fcn.004033f0
mov edx, 0x30
lea eax, [ebp - 0x14c]
call fcn.00403794
call fcn.00402d28
lea edx, [ebp - 0x17c]
lea eax, [ebp - 0x14c]
call fcn.00403874
call fcn.00402d28
lea eax, [ebp - 0x14c]
call fcn.004034ac
call fcn.00402d28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52867a
lea eax, [ebp + 8]
call fcn.00404d34
ret
Function at 0x528684
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051e4
mov eax, dword [ebp - 8]
call fcn.004051e4
xor eax, eax
push ebp
push 0x528882
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x556728]
mov eax, dword [eax]
call fcn.0047b62c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040a4f4
push dword [ebp - 0x28]
push dword [ebp - 8]
push 0x52889c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004050b4
mov eax, dword [ebp - 0x24]
push eax
mov ecx, 0x1f40
mov dx, 0x10
mov ax, 1
call fcn.0052856c
push 0x1e
call sub.kernel32.dll_Sleep_1
push 1
lea edx, [ebp - 0x38]
mov eax, dword [0x556728]
mov eax, dword [eax]
call fcn.0047b62c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040a4f4
push dword [ebp - 0x34]
push dword [ebp - 8]
push 0x52889c
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004050b4
mov ecx, dword [ebp - 0x30]
mov dl, 1
mov eax, dword [0x41bfdc]
call fcn.00420b44
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push esi
call sub.msc.dll_QTTSSessionBegin
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00404ff4
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404ff4
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.msc.dll_QTTSTextPut
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.msc.dll_QTTSAudioGet
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x10], 0
jne 0x5287f7
cmp dword [ebp - 0x20], 0
je 0x5287e5
mov cx, 2
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 2
je 0x5287f7
push 0x96
call sub.kernel32.dll_Sleep_1
jmp 0x52879e
cmp dword [ebp - 0x14], 0
add dword [ebp - 0x1c], 0x30
xor ecx, ecx
mov edx, 4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
sub dword [ebp - 0x1c], 0x30
xor ecx, ecx
mov edx, 0x28
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, ebx
call fcn.00403ee8
push 0x5288a4
mov eax, dword [ebp - 0xc]
push eax
call sub.msc.dll_QTTSSessionEnd
mov dword [ebp - 0x10], eax
mov ebx, 0x64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528889
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.00404d58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d58
ret
Function at 0x52c080
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Self delete

Disassembly:
add esp, 0xffffffb8
mov eax, 0x104
call fcn.004094f8
mov dword [esp], eax
mov eax, 0x104
call fcn.004094f8
mov dword [esp + 4], eax
mov eax, 0x104
call fcn.004094f8
mov dword [esp + 8], eax
push 0x104
mov eax, dword [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
test eax, eax
je 0x52c1a7
push 0x104
mov eax, dword [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_GetShortPathNameA
test eax, eax
je 0x52c1a7
push 0x104
mov eax, dword [esp + 8]
push eax
push 0x52c1b0
call sub.kernel32.dll_GetEnvironmentVariableA
test eax, eax
je 0x52c1a7
push 0x52c1b8
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_lstrcpyA
mov eax, dword [esp]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_lstrcatA
mov dword [esp + 0xc], 0x3c
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, 0x52c1c0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0x40
lea eax, [esp + 0xc]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x52c1a3
push 0x80
mov eax, dword [esp + 0x48]
push eax
call sub.kernel32.dll_SetPriorityClass
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0
mov eax, dword [esp + 4]
push eax
push 1
push 4
call sub.shell32.dll_SHChangeNotify
mov al, 1
jmp 0x52c1a9
xor eax, eax
jmp 0x52c1a9
xor eax, eax
add esp, 0x48
ret

Function at 0x52c1c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov byte [esp + 4], cl
mov dword [esp], edx
mov dl, 0xff
mov cl, 0xff
mov eax, dword [esp]
mov dword [esp + 8], eax
mov byte [esp + 5], 0
cmp byte [esp + 4], 0
jbe 0x52c21f
xor eax, eax
mov al, byte [esp + 5]
mov ebx, dword [esp + 8]
mov al, byte [ebx + eax]
xor al, dl
inc byte [esp + 5]
mov esi, eax
and esi, 0xff
mov dl, byte [esi + 0x555c04]
xor dl, cl
mov cl, byte [esi + 0x555d04]
dec byte [esp + 4]
cmp byte [esp + 4], 0
ja 0x52c1eb
xor eax, eax
mov al, dl
shl eax, 8
xor edx, edx
mov dl, cl
or ax, dx
add esp, 0xc
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x52f8f6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_GetCurrentProcessId
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
jne 0x52f8db
push 2
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 8]
call fcn.00409d14
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x52f90c
call fcn.00405040
mov eax, dword [ebp - 4]
call fcn.004051f4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f8fd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d58
ret
Function at 0x5330b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, edx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x556728]
mov eax, dword [eax]
call fcn.0047adb0
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x5330f9
cmp eax, dword [esp]
pop edx
pop eax
jae 0x5330c3
pop esi
pop ebx
ret
pop edx
pop eax
jge 0x5330c3
pop esi
pop ebx
ret

Function at 0x542404
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x556728]
mov eax, dword [eax]
call fcn.0047adb0
sub ebx, esi
cmp edi, ebx
ja 0x542410
pop edi
pop esi
pop ebx
ret

Function at 0x548cbc
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004051e4
xor eax, eax
push ebp
push 0x548d72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404d34
lea eax, [ebp - 0x19c]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor eax, eax
push ebp
push 0x548d52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004051f4
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x548d48
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
xor ebx, ebx
jmp 0x548d3e
push dword [esi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, edi
call fcn.00404f2c
inc ebx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + ebx*4]
test esi, esi
jne 0x548d2d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x548d5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x548d79
lea eax, [ebp - 4]
call fcn.00404d34
ret