joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5894
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4a58ba
push 0
mov eax, dword [ebx + 0x94]
call fcn.0044ca04
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4a5974
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a5ae5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4a5aca
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409608
mov dl, 1
mov eax, dword [0x47bd28]
call fcn.0047bd80
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x417340]
call fcn.004033b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.0047bdfc
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4a5ac7
mov dl, 1
mov eax, dword [0x47d290]
call fcn.0047d2f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x4a5afc
call fcn.0047c564
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004044e0
xor eax, eax
push ebp
push 0x4a5ac0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0047d5f8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a5b04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5ac7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004033e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004033e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004033e0
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5aec
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004041f8
ret

Function at 0x4a6bdc
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xfffffff4
cmp byte [0x51dd2c], 0
jne 0x4a6c4f
cmp byte [0x51dd2d], 0
je 0x4a6c4f
mov byte [0x51dd2d], 0
mov eax, dword [0x51dd34]
push eax
call sub.advapi32.dll_RegCloseKey_1
push esp
push 0xf003f
push 0
push 0x4a6c54
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a6c4f
mov dword [esp + 4], 4
lea eax, [esp + 4]
push eax
push 0x51dd30
lea eax, [esp + 0x10]
push eax
push 0
push 0x4a6c68
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0xc
ret
Function at 0x4a76ac
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 [0x415f50]
call fcn.00404ca4
xor eax, eax
push ebp
push 0x4a77f0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50aabc], 0
jne 0x4a76ff
mov ecx, dword [0x51c590]
mov dl, 1
mov eax, dword [0x407924]
call fcn.0040c6a0
call fcn.00403b6c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402da8
mov eax, ebx
call fcn.00404a5c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a7800
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.00405d70
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a6c
test eax, eax
jle 0x4a7797
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 0x4a7790
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040445c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404444
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004087d0
test eax, eax
jne 0x4a7790
mov ebx, 0x15
jmp 0x4a779c
mov ebx, 0x10
jmp 0x4a779c
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 [0x50aabc]
call fcn.004a7604
mov eax, dword [ebp - 8]
call fcn.004a7604
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a77f7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041f8
lea eax, [ebp - 0x10]
mov edx, dword [0x415f50]
call fcn.00404d74
ret
Function at 0x4b7244
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 0x4b724c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b743e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4b7454
mov eax, esi
call fcn.004b4fd4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404228
lea ecx, [ebp - 0x10]
mov edx, 0x4b7468
mov eax, esi
call fcn.004b4fd4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404228
lea ecx, [ebp - 0x14]
mov edx, 0x4b7480
mov eax, esi
call fcn.004b4fd4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404228
lea ecx, [ebp - 0x18]
mov edx, 0x4b749c
mov eax, esi
call fcn.004b4fd4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404228
lea ecx, [ebp - 0x1c]
mov edx, 0x4b74b8
mov eax, esi
call fcn.004b4fd4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404228
lea ecx, [ebp - 0x24]
mov edx, 0x4b74d0
mov eax, esi
call fcn.004b4fd4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408840
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408c20
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4b74e8
mov eax, esi
call fcn.004b4fd4
mov eax, dword [ebp - 0x28]
call fcn.004b40ec
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4b74f8
mov eax, esi
call fcn.004b4fd4
mov eax, dword [ebp - 0x2c]
call fcn.004b40ec
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4b7510
mov eax, esi
call fcn.004b4fd4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408c20
inc eax
je 0x4b73e1
lea ecx, [ebp - 0x34]
mov edx, 0x4b7510
mov eax, esi
call fcn.004b4fd4
mov eax, dword [ebp - 0x34]
call fcn.00408be4
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.0040a404
fstp qword [ebp - 0x3c]
wait
call fcn.0040a794
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4b73fc
lea ecx, [ebp - 0x40]
mov edx, 0x4b7510
mov eax, esi
call fcn.004b4fd4
mov eax, dword [ebp - 0x40]
call fcn.004b40ec
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4b7520
mov eax, esi
call fcn.004b4fd4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7445
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004041f8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004041f8
ret
Function at 0x4c36dc
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 0x4c3736
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004c36cc
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004b2d58
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004b2958
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 0x4c373d
lea eax, [ebp - 4]
call fcn.004041d4
ret
Function at 0x4e89dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x4e8a06
cmp dword [ebx + 0x64], 0
jne 0x4e8a06
cmp dword [ebx + 0x6c], 0
jne 0x4e8a06
mov edi, esi
jmp 0x4e8a8d
cmp edi, 0xffffffff
jne 0x4e8a0e
dec edi
jmp 0x4e8a8d
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4e8a8d
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004e7dd8
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4e8a5b
mov cx, word [esp]
sub cx, si
jmp 0x4e8a5d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4e8a44
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4e8a83
mov cx, word [esp]
sub cx, si
jmp 0x4e8a85
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4e8a6c
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4e8aea
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004e8778
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4e8ad5
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4e8aea
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4e89e6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4eed40
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x51e3c0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4eed62
shr eax, 1
xor eax, 0xedb88320
jmp 0x4eed64
shr eax, 1
dec edx
jne 0x4eed50
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4eed49
mov byte [0x51e7c0], 1
pop esi
pop ebx
ret

Function at 0x4eed80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x51e7c0], 0
jne 0x4eed97
call fcn.004eed40
mov eax, edi
dec eax
test eax, eax
jl 0x4eedc0
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x51e3c0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4eeda1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4f135c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4f138d
dec al
je 0x4f13c9
dec al
je 0x4f140d
dec al
je 0x4f1478
jmp 0x4f1502
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4f1502
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f139d
jmp 0x4f1502
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f1502
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f13d9
jmp 0x4f1502
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f1502
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4f143b
xor ebp, ebp
jmp 0x4f144c
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4f1455
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f141d
jmp 0x4f1502
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f1502
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4f14d0
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004eedc8
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f148c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fcf60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404684
xor eax, eax
push ebp
push 0x4fd022
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004090a4
test al, al
je 0x4fd004
mov eax, dword [0x51c6e8]
mov eax, dword [eax]
call fcn.0044ca04
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x28]
mov ecx, 0x4fd038
mov edx, dword [ebp - 4]
call fcn.004044e0
mov eax, dword [ebp - 0x28]
call fcn.00404694
mov dword [ebp - 0x1a], eax
xor eax, eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x10
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
jne 0x4fd004
cmp dword [ebp - 0x10], 1
sbb eax, eax
inc eax
test al, al
jne 0x4fd004
mov eax, dword [ebp - 4]
call fcn.004090a4
test al, al
jne 0x4fd004
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd029
lea eax, [ebp - 0x28]
call fcn.004041d4
lea eax, [ebp - 4]
call fcn.004041d4
ret

Function at 0x5014b4
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x501632
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x1400
mov eax, dword [ebp - 4]
call fcn.00402774
mov ebx, eax
lea edx, [ebp - 4]
push edx
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x5014f9
push eax
call sub.kernel32.dll_SetLastError
call fcn.0040dd04
cmp dword [ebp - 8], 0
jne 0x501515
lea ecx, [ebp - 8]
mov edx, dword [ebx + 0x190]
lea eax, [ebx + 0x194]
call fcn.004fca50
jmp 0x501541
push dword [ebp - 8]
push 0x501648
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x190]
lea eax, [ebx + 0x194]
call fcn.004fca50
push dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404554
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5014f9
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c3de0]
call fcn.004c42c8
mov ebx, eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4173bc]
call fcn.0041c298
mov dword [ebp - 0x10], eax
mov eax, ebx
call fcn.004c5e44
add eax, 0x24
mov edx, 0x501654
call fcn.00404228
xor eax, eax
push ebp
push 0x501603
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x501680
push dword [ebp - 8]
push 0x501690
push 0x50169c
call fcn.0040a794
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x1c]
mov eax, 0x5016b0
call fcn.0040b410
push dword [ebp - 0x1c]
push 0x501690
push 0x5016c4
lea eax, [ebp - 0x18]
mov edx, 7
call fcn.00404554
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.0041c3ac
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x5016d8
mov eax, ebx
call fcn.004c4528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50160a
mov eax, dword [ebp - 0x10]
call fcn.004033e0
ret
Function at 0x47bd90
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 0xc], 0
push reloc.WS2_32.DLL_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x47bddf
mov eax, 0x5381ff
push eax
push 1
mov ebx, 0x494ec0
call fcn.00494909
add esp, 0x10
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x47bea4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fmul qword [ebp - 0x20]
fstp qword [ebp - 0x28]
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401004
push ebx
push ecx
mov eax, dword [ebp - 0x10]
dec eax
jns 0x47be3d
push 4
call fcn.004948fd
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x47be50
push 1
call fcn.004948fd
add esp, 4
add ebx, eax
mov dword [ebp - 0x2c], ebx
fld qword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00401024
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fmul qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401024
mov dword [ebp - 4], eax
pop eax
pop ebx
pop ecx
jmp 0x47bdfb
add esp, 0xc
push 0x80000301
push 0
push closesocket
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x494da0
call fcn.00494909
add esp, 0x1c
jmp 0x47bed4
mov esp, ebp
pop ebp
ret 4
Function at 0x4a4de0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x52c3ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0051c298
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4a4e62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005195ed
mov eax, dword [eax]
push 0x56b27c
push eax
call fcn.0050ab84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0051c523
test bl, bl
je 0x4a4e62
push 0x56b27c
lea ecx, [esp + 0xc]
call fcn.0051c8ff
push 0x56ef44
lea ecx, [esp + 0xc]
call fcn.0051c8ff
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4a4e9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0051c523
jmp 0x4a4f69
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.DLL_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4a4f22
lea edx, [esp + 0x7c]
push 0x56ef40
push edx
call fcn.0050ab84
add esp, 8
test eax, eax
je 0x4a4f22
lea eax, [esp + 0x7c]
push 0x56ef3c
push eax
call fcn.0050ab84
add esp, 8
test eax, eax
je 0x4a4f22
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4a4eb2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0051c523
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4a61c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4a6222
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4a6230
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x52c50b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x576da4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4a6368
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4a6296
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051c523
xor eax, eax
jmp 0x4a63df
push 0x56ef84
lea ecx, [esp + 0xc]
call fcn.0051c6ac
push esi
lea ecx, [esp + 0xc]
call fcn.0051c93b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x56ef7c
push 0
call dword [sym.imp.SHELL32.DLL_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4a63bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x56ef74
push closesocket
call fcn.004a61c0
test eax, eax
jne 0x4a63bd
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esp + 0x14]
push 0x56ef60
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004a61c0
test eax, eax
jne 0x4a63bd
lea eax, [esp + 0x14]
push 0x56ef58
push eax
call fcn.0050bd30
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a639c
lea ecx, [esp + 0x14]
push 0x56ef54
push ecx
call fcn.0050bcb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a639c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4a639f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0051c65c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4a62ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0051c523
xor eax, eax
jmp 0x4a63df
mov byte [esi], 0
push 0x56ef50
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.DLL_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0051c523
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4