joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bd10
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 0x46be32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046b378
xor eax, eax
push ebp
push 0x46be15
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 0x46bd60
call fcn.0040451c
jmp 0x46be1c
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 0x46bdff
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x46bdff
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403ed8
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 0x46bdff
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c954
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, 0x46be4c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f2870]
mov dl, 1
mov eax, dword [0x469e60]
call fcn.0040d294
call fcn.00404470
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be1c
mov eax, dword [ebp - 4]
call fcn.0046b388
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be39
lea eax, [ebp - 0x28]
call fcn.00404b1c
ret
Function at 0x46bea0
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 0x46bfea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046b378
xor eax, eax
push ebp
push 0x46bfcd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x46bf05
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x46bf05
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 0x46bfb7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x46bf18
call fcn.0040451c
jmp 0x46bfd4
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 0x46bfb7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x46bfb7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403ed8
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 0x46bfb7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c954
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, 0x46c004
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f2870]
mov dl, 1
mov eax, dword [0x469e60]
call fcn.0040d294
call fcn.00404470
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bfd4
mov eax, dword [ebp - 4]
call fcn.0046b388
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bff1
lea eax, [ebp - 0x28]
call fcn.00404b1c
ret
Function at 0x46d940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, 2
xor eax, eax
xor edi, edi
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov edx, dword [ebp - 0xc]
dec edx
test edx, edx
jl 0x46d9f1
inc edx
mov dword [ebp - 0x14], edx
xor edx, edx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx]
sub ecx, 0x3c
js 0x46d98f
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
sub cl, 0x3c
mov byte [ebp - 0xd], cl
jmp 0x46d993
xor edi, edi
jmp 0x46d9f1
cmp edi, dword [ebp + 8]
jge 0x46d9f1
lea ecx, [eax + 6]
cmp ecx, 8
jl 0x46d9d2
mov ecx, 6
sub ecx, esi
mov al, byte [ebp - 0xd]
and al, 0x3f
and eax, 0xff
shr eax, cl
or al, byte [ebp - 0xe]
xor al, 0x3e
mov ecx, dword [ebp - 8]
mov byte [ecx + edi], al
inc edi
xor eax, eax
cmp esi, 6
jge 0x46d9cb
add esi, 2
jmp 0x46d9d2
mov esi, 2
jmp 0x46d9eb
mov ecx, esi
mov bl, byte [ebp - 0xd]
shl bl, cl
and bl, byte [esi + 0x4ebf7e]
mov byte [ebp - 0xe], bl
mov ecx, 8
sub ecx, esi
add eax, ecx
inc edx
dec dword [ebp - 0x14]
jne 0x46d975
mov eax, dword [ebp - 8]
mov byte [eax + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4717b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00424e74
cmp ebx, dword [ebp - 8]
jge 0x471817
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00425270
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00425270
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042529c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4717dd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x471820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00424e74
cmp ebx, dword [ebp - 8]
jge 0x471883
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00425270
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00425270
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042529c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x471849
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47fac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47fac8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47fcba
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x47fcd0
mov eax, esi
call fcn.0047d850
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404b70
lea ecx, [ebp - 0x10]
mov edx, 0x47fce4
mov eax, esi
call fcn.0047d850
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404b70
lea ecx, [ebp - 0x14]
mov edx, 0x47fcfc
mov eax, esi
call fcn.0047d850
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404b70
lea ecx, [ebp - 0x18]
mov edx, 0x47fd18
mov eax, esi
call fcn.0047d850
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404b70
lea ecx, [ebp - 0x1c]
mov edx, 0x47fd34
mov eax, esi
call fcn.0047d850
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404b70
lea ecx, [ebp - 0x24]
mov edx, 0x47fd4c
mov eax, esi
call fcn.0047d850
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040922c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409620
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47fd64
mov eax, esi
call fcn.0047d850
mov eax, dword [ebp - 0x28]
call fcn.0047c968
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47fd74
mov eax, esi
call fcn.0047d850
mov eax, dword [ebp - 0x2c]
call fcn.0047c968
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x47fd8c
mov eax, esi
call fcn.0047d850
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409620
inc eax
je 0x47fc5d
lea ecx, [ebp - 0x34]
mov edx, 0x47fd8c
mov eax, esi
call fcn.0047d850
mov eax, dword [ebp - 0x34]
call fcn.004095e4
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040afa0
fstp qword [ebp - 0x3c]
wait
call fcn.0040b310
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47fc78
lea ecx, [ebp - 0x40]
mov edx, 0x47fd8c
mov eax, esi
call fcn.0047d850
mov eax, dword [ebp - 0x40]
call fcn.0047c968
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x47fd9c
mov eax, esi
call fcn.0047d850
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fcc1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404b40
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404b40
ret
Function at 0x48bf58
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48bfb2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0048bf48
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0047b5d4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0047b1d4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bfb9
lea eax, [ebp - 4]
call fcn.00404b1c
ret

Function at 0x48fb4c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407c7c
pop ebp
ret

Function at 0x48fc88
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fcc
xor eax, eax
push ebp
push 0x48fdd6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.0048fb4c
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404fdc
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x48fdb5
xor eax, eax
push ebp
push 0x48fdae
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48fd97
xor eax, eax
push ebp
push 0x48fd90
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48fd79
xor eax, eax
push ebp
push 0x48fd72
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.0048fb84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fd79
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fd97
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fdb5
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.0048fc0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fddd
lea eax, [ebp - 4]
call fcn.00404b1c
ret
Function at 0x49036c
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 [0x41692c]
call fcn.004055b0
xor eax, eax
push ebp
push 0x4904b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ec874], 0
jne 0x4903bf
mov ecx, dword [0x4f21f4]
mov dl, 1
mov eax, dword [0x4082d8]
call fcn.0040d258
call fcn.00404470
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403548
mov eax, ebx
call fcn.00405394
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4904c0
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.00406704
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004053a4
test eax, eax
jle 0x490457
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 0x490450
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404da4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404d8c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004091bc
test eax, eax
jne 0x490450
mov ebx, 0x15
jmp 0x49045c
mov ebx, 0x10
jmp 0x49045c
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 [0x4ec874]
call fcn.004902c4
mov eax, dword [ebp - 8]
call fcn.004902c4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040671c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4904b7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404b40
lea eax, [ebp - 0x10]
mov edx, dword [0x41692c]
call fcn.00405680
ret
Function at 0x49161c
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49183a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49180a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.00402f14
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00409d8c
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 4]
mov ecx, 0x491850
call fcn.00404e28
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.004032dc
lea eax, [ebp - 0x1d0]
call fcn.00403078
call fcn.00402cdc
mov edx, 0x491868
lea eax, [ebp - 0x1d0]
call fcn.004051cc
call fcn.00403750
call fcn.00402cdc
push 0x491878
lea edx, [ebp - 0x234]
xor eax, eax
call fcn.00402f14
push dword [ebp - 0x234]
push 0x491888
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.00404e9c
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x1d0]
call fcn.004051cc
call fcn.00403750
call fcn.00402cdc
push 0x491894
lea edx, [ebp - 0x23c]
xor eax, eax
call fcn.00402f14
push dword [ebp - 0x23c]
push 0x491888
push 0x4918a8
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.00404e9c
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1d0]
call fcn.004051cc
call fcn.00403750
call fcn.00402cdc
mov edx, 0x4918bc
lea eax, [ebp - 0x1d0]
call fcn.004051cc
call fcn.00403750
call fcn.00402cdc
lea eax, [ebp - 0x1d0]
call fcn.004033a4
call fcn.00402cdc
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.00403548
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404fdc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x491800
mov eax, dword [ebp - 0x1dc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x491814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491841
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00404b40
lea eax, [ebp - 4]
call fcn.00404b1c
ret
Function at 0x4918c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fcc
mov eax, dword [ebp - 8]
call fcn.00404fcc
xor eax, eax
push ebp
push 0x491992
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00407c70
mov word [ebp - 0x1c], bx
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x24], 0x18
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00409d8c
mov eax, dword [ebp - 0x60]
call fcn.00404fdc
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e28
mov eax, dword [ebp - 0x64]
call fcn.00404fdc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x491967
mov ebx, dword [ebp - 0x54]
jmp 0x49196a
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491999
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00404b40
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b40
ret

Function at 0x4919a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fcc
xor eax, eax
push ebp
push 0x491a48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00407c70
mov word [ebp - 0x18], bx
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x20], 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00409d8c
mov eax, dword [ebp - 0x5c]
call fcn.00404fdc
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404fdc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x491a27
mov ebx, dword [ebp - 0x50]
jmp 0x491a2a
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491a4f
lea eax, [ebp - 0x5c]
call fcn.00404b1c
lea eax, [ebp - 4]
call fcn.00404b1c
ret
Function at 0x491f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x491f59
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404fcc
xor eax, eax
push ebp
push 0x492152
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00491d50
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00491d50
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404bb4
mov eax, dword [ebp - 0x10]
call fcn.00404ddc
sar eax, 1
jns 0x491fb3
adc eax, 0
test eax, eax
jle 0x49210f
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x491fd3
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404bb4
lea eax, [ebp - 0x18]
call fcn.00404b1c
mov eax, dword [ebp - 0x14]
call fcn.00404ddc
mov edi, eax
sar edi, 1
jns 0x491fec
adc edi, 0
test edi, edi
jle 0x492105
mov ebx, 1
mov edx, 0x492160
lea eax, [ebp - 0x28]
call fcn.0040342c
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.004033fc
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.0040342c
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.004033fc
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.00404d80
mov eax, dword [ebp - 0x24]
call fcn.004095e4
mov byte [ebp - 0x19], al
mov edx, 0x492160
lea eax, [ebp - 0x28]
call fcn.0040342c
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.004033fc
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.0040342c
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.004033fc
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.00404d80
mov eax, dword [ebp - 0x34]
call fcn.004095e4
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
mov dl, byte [ebp - 0x1a]
call fcn.00404d04
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00491d50
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.00404de4
inc ebx
dec edi
jne 0x491ff9
inc esi
dec dword [ebp - 0x20]
jne 0x491fc3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00404b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492159
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404b40
lea eax, [ebp - 0x24]
call fcn.00404b1c
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404b40
lea eax, [ebp - 4]
call fcn.00404b1c
ret
Function at 0x4923a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fcc
xor eax, eax
push ebp
push 0x49242f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404ddc
mov esi, eax
test esi, esi
jle 0x492414
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00404ddc
mov edx, eax
imul edx, ebx
imul edx, ebx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
xor edx, eax
lea eax, [ebp - 8]
call fcn.00404d04
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00404de4
inc ebx
dec esi
jne 0x4923e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492436
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b40
ret

Function at 0x4924c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49258a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404d04
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, 0x4925a0
call fcn.00404e28
mov eax, dword [ebp - 0x14]
call fcn.00404fdc
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x49255f
cmp eax, 1
je 0x49255f
cmp eax, 3
jne 0x49255f
mov eax, dword [ebp - 0x14]
call fcn.00492440
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jne 0x492546
cmp eax, dword [ebp - 0x10]
jbe 0x49255f
jmp 0x492548
jle 0x49255f
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404bb4
inc ebx
cmp ebx, 0x5b
jne 0x4924f0
mov eax, esi
mov edx, dword [ebp - 0x18]
call fcn.00404b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492591
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b40
ret