joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497a60
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 [0x41a4c0]
call fcn.00404ffc
xor eax, eax
push ebp
push 0x497ba4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53f7cc], 0
jne 0x497ab3
mov ecx, dword [0x540e00]
mov dl, 1
mov eax, dword [0x407e74]
call fcn.0040d0cc
call fcn.00403fd0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403010
mov eax, ebx
call fcn.00404e6c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x497bb4
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.004064b4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e7c
test eax, eax
jle 0x497b4b
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 0x497b44
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404874
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040485c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408cc0
test eax, eax
jne 0x497b44
mov ebx, 0x15
jmp 0x497b50
mov ebx, 0x10
jmp 0x497b50
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 [0x53f7cc]
call fcn.0049795c
mov eax, dword [ebp - 8]
call fcn.0049795c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004064cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497bab
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404618
lea eax, [ebp - 0x10]
mov edx, dword [0x41a4c0]
call fcn.004050cc
ret
Function at 0x499894
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
test ebx, ebx
js 0x4998ac
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4998a5
mov ecx, esp
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebx + 0x114]
push eax
push 0x400
call sub.kernel32.dll_GetCurrentDirectoryA
mov edx, 0x499994
lea eax, [ebx + 0x114]
call fcn.0040969c
lea eax, [ebx + 0x114]
mov edx, dword [ebp + 8]
call fcn.0040969c
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [ebx + 0x114]
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov dword [ebx + 0x110], edi
cmp edi, 0xffffffff
jne 0x499913
xor eax, eax
jmp 0x499985
mov dword [ebx + 0x10c], esi
mov eax, dword [esi]
mov al, byte [eax + 0x238]
mov byte [ebx + 4], al
mov eax, dword [esi]
mov al, byte [eax + 0x23c]
mov byte [ebx + 5], al
mov eax, dword [esi]
mov al, byte [eax + 0x21c]
mov byte [ebx + 6], al
mov eax, dword [esi]
mov eax, dword [eax + 0x24c]
mov dword [ebx + 8], eax
xor edx, edx
mov dl, byte [ebx + 6]
dec edx
test edx, edx
jl 0x499960
inc edx
xor esi, esi
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [ebx + esi + 0xc], cl
inc esi
inc eax
dec edx
jne 0x499955
mov byte [ebx + 0x514], 0
xor eax, eax
mov dword [ebx + 0x518], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0x51c], eax
xor eax, eax
mov al, byte [ebx + 5]
mov dword [ebx + 0x520], eax
mov al, 1
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x499a8c
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
mov eax, dword [ebx + 0x110]
cmp eax, 0xffffffff
je 0x499af1
push eax
call sub.kernel32.dll_CloseHandle_1
mov dword [ebx + 0x110], 0xffffffff
cmp byte [ebx + 0x514], 0
jne 0x499af1
push 0
lea eax, [ebx + 0x114]
mov dword [esp + 0x808], eax
mov byte [esp + 0x80c], 6
lea ecx, [esp + 0x808]
mov edx, 0x499afc
lea eax, [esp + 4]
call fcn.00409cd0
push 1
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_WinExec
add esp, 0x80c
pop ebx
ret

Function at 0x4bd9ff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x54068a
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4bda57
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x5406ab
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4bda4d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4bda5b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4deee0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x40]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4def1b
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [esi + 0x40]
call fcn.0041d72c
mov al, byte [eax + 0x2a0]
xor al, 1
push eax
mov edx, ebx
mov eax, dword [esi + 0x40]
call fcn.0041d72c
pop edx
mov byte [eax + 0x2a0], dl
inc ebx
dec edi
jne 0x4deef3
pop edi
pop esi
pop ebx
ret

Function at 0x4e9150
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x4e9194
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.004097d4
add esp, 0x200
pop ebx
ret

Function at 0x4fea40
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4feac9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x544784
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4feab3
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c7ac
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4feae0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x54151c]
mov dl, 1
mov eax, dword [0x4fe2f4]
call fcn.0040d108
call fcn.00403fd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fead0
lea eax, [ebp - 0x1c]
call fcn.004045f4
ret

Function at 0x4ff17c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004ff0a0
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403a00
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4ff1e0
call fcn.004fe988
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4ff1d2
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403a00
pop esi
pop ebx
ret

Function at 0x4ff204
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404aa4
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403010
test ebx, ebx
je 0x4ff24f
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x4ff32c
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 0x4ff35d
mov ecx, dword [0x541354]
mov dl, 1
mov eax, dword [0x4fe2f4]
call fcn.0040d0cc
call fcn.00403fd0
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 0x4ff38a
mov ecx, dword [0x541284]
mov dl, 1
mov eax, dword [0x4fe2f4]
call fcn.0040d0cc
call fcn.00403fd0
xor eax, eax
push ebp
push 0x4ff406
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.00403a00
cmp byte [ebp + 8], 0
je 0x4ff3e2
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.004ff294
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.004ff17c
jmp 0x4ff3fc
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.004fec74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ff423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ff604
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.004fef3c
xor eax, eax
push ebp
push 0x4ff776
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 0x4ff760
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4ff64f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4ff659
call fcn.0040407c
jmp 0x4ff77d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ffcc
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 + 8]
mov ebx, eax
test ebx, ebx
jle 0x4ff755
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 0x4ff707
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4ff6f4
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a00
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.004ff5bc
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4ff788]
cmp dl, byte [eax + 0x28]
je 0x4ff75c
call fcn.0040cfa8
jmp 0x4ff75c
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ffec
jmp 0x4ff75c
cmp ecx, ebx
jge 0x4ff723
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.0041ffec
jmp 0x4ff659
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ffcc
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420000
cmp edx, dword [esp + 4]
jne 0x4ff744
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4ff659
push ebp
call fcn.004ff5bc
pop ecx
jmp 0x4ff75c
push ebp
call fcn.004ff5bc
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff77d
mov eax, dword [ebp - 4]
call fcn.004fef48
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ff78c
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 0x4ff8ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004fef3c
xor eax, eax
push ebp
push 0x4ff891
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 0x4ff7dc
call fcn.0040407c
jmp 0x4ff898
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 0x4ff87b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4ff87b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a00
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 0x4ff87b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c7ac
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, 0x4ff8c8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x54151c]
mov dl, 1
mov eax, dword [0x4fe2f4]
call fcn.0040d108
call fcn.00403fd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff898
mov eax, dword [ebp - 4]
call fcn.004fef48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff8b5
lea eax, [ebp - 0x28]
call fcn.004045f4
ret
Function at 0x4ff914
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 0x4ffa5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004fef3c
xor eax, eax
push ebp
push 0x4ffa41
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4ff979
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4ff979
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 0x4ffa2b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4ff98c
call fcn.0040407c
jmp 0x4ffa48
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 0x4ffa2b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4ffa2b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a00
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 0x4ffa2b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c7ac
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, 0x4ffa78
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x54151c]
mov dl, 1
mov eax, dword [0x4fe2f4]
call fcn.0040d108
call fcn.00403fd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffa48
mov eax, dword [ebp - 4]
call fcn.004fef48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffa65
lea eax, [ebp - 0x28]
call fcn.004045f4
ret
Function at 0x5ca6b8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 0xcc], ecx
call 0x5ca6b8
rcr byte [eax - 0x75], cl
test dword [edi + edi*8], esi
invalid

Function at 0x5e5978
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 0xcc], ecx
call 0x5e5978
rcr byte [eax - 0x75], cl
test dword [edi + edi*8], esi
invalid
Function at 0x5f0024
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x5f004d
xor eax, eax
jmp 0x5f0657
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx], 0x4550
je 0x5f006b
xor eax, eax
jmp 0x5f0657
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x78], 0
jne 0x5f007b
xor eax, eax
jmp 0x5f0657
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x78]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], SysReAllocStringLen
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
jmp 0x5f00c8
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x18]
jae 0x5f0100
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00651fdd
add esp, 8
test eax, eax
jne 0x5f00fe
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
jmp 0x5f0100
jmp 0x5f00bf
cmp dword [ebp - 0xc], 0x7fffffff
jne 0x5f0110
xor eax, eax
jmp 0x5f0657
push eax
call fcn.005f05dd
push 0xfddc85c7
invalid
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ff4c6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.005a4640
jmp 0x5ffd89
push 0x14
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.005a4e56
add esp, 0xc
pop eax
jmp 0x5ff4b6
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x498]
call dword [ecx + 0x68]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0xf8], 0x78
mov byte [ebp - 0xf7], 0x93
mov byte [ebp - 0xf6], 0xff
mov byte [ebp - 0xf5], 0x11
mov byte [ebp - 0xf4], 0xd0
mov byte [ebp - 0xf3], 0xff
mov byte [ebp - 0xf2], 0x29
mov byte [ebp - 0xf1], 0xea
mov byte [ebp - 0xf0], 0x82
mov byte [ebp - 0xef], 0x12
mov byte [ebp - 0xee], 0xe5
mov byte [ebp - 0xed], 0x2e
mov byte [ebp - 0xec], 0xce
mov byte [ebp - 0xeb], 0xff
mov byte [ebp - 0xea], 0xe2
mov byte [ebp - 0xe9], 0x88
mov byte [ebp - 0xe8], 0x61
mov byte [ebp - 0xe7], 0x93
mov word [ebp - 0xe4], 0
mov ecx, 9
xor eax, eax
lea edi, [ebp - 0xe2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x12
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0xf8]
push eax
call fcn.005a4e56
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0x498]
call dword [edx + 0x68]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0xbc], 0x78
mov byte [ebp - 0xbb], 0x93
mov byte [ebp - 0xba], 0xff
mov byte [ebp - 0xb9], 0x11
mov byte [ebp - 0xb8], 0xd0
mov byte [ebp - 0xb7], 0xff
mov byte [ebp - 0xb6], 0x29
mov byte [ebp - 0xb5], 0xea
mov byte [ebp - 0xb4], 0x82
mov byte [ebp - 0xb3], 0x12
mov byte [ebp - 0xb2], 0xe5
mov byte [ebp - 0xb1], 0x2e
mov byte [ebp - 0xb0], 0xce
mov byte [ebp - 0xaf], 0xff
mov byte [ebp - 0xae], 0xe2
mov byte [ebp - 0xad], 0x88
mov byte [ebp - 0xac], 0x61
mov byte [ebp - 0xab], 0x93
mov byte [ebp - 0xaa], 0xe0
mov byte [ebp - 0xa9], 0x11
mov byte [ebp - 0xa8], 0xc8
mov byte [ebp - 0xa7], 0xff
mov byte [ebp - 0xa6], 0x41
mov byte [ebp - 0xa5], 0xea
mov byte [ebp - 0xa4], 0xfd
mov byte [ebp - 0xa3], 0x12
mov byte [ebp - 0xa2], 0xb1
mov byte [ebp - 0xa1], 0x2e
mov byte [ebp - 0xa0], 0xe7
mov byte [ebp - 0x9f], 1
mov byte [ebp - 0x9e], 0xb3
mov byte [ebp - 0x9d], 0x88
mov word [ebp - 0x58], 0
mov ecx, 0x13
xor eax, eax
lea edi, [ebp - 0x56]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop eax
jmp 0x600036
push 0x5fff84
ret
Function at 0x621f58
Capabilities:
Create process on windows
Delete file
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x698ebd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b0
push ebx
push esi
push edi
mov dword [ebp - 0x4a8], ecx
call 0x621f58
rcr byte [eax - 0x5f], cl
pushfd
aas
outsb dx, byte [esi]
add byte [ecx - 0x4ab7b], cl
inc dword [ebx - 0x4ab43]
inc dword [eax]
je 0x621f84
cmp dword [ebp - 0x4ac], 1
je 0x621fab
cmp dword [ebp - 0x4ac], 2
je 0x621f98
jmp 0x622313
mov ecx, dword [ebp - 0x4a8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10], edx
jmp dword [ebp - 0x10]
mov eax, dword [0x6e3f94]
push eax
call fcn.005a52a7
add esp, 4
jmp 0x622313
lea ecx, [ebp - 0x14]
push ecx
call fcn.005a400a
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [0x6e0edc]
mov dword [ebp - 0x444], edx
mov byte [ebp - 4], 1
mov eax, dword [0x6e0edc]
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 2
mov ecx, dword [0x6e0edc]
mov dword [ebp - 0x424], ecx
mov byte [ebp - 4], 3
mov edx, dword [0x6e0edc]
mov dword [ebp - 0x420], edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x43c], 0x2e
mov byte [ebp - 0x43b], 0x77
mov byte [ebp - 0x43a], 0x31
mov byte [ebp - 0x439], 0x36
mov byte [ebp - 0x438], 0
mov byte [ebp - 0x437], 0
xor eax, eax
mov dword [ebp - 0x436], eax
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x41c]
push edx
mov eax, dword [0x6e3f94]
push eax
call fcn.005a4a4b
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x414]
push edx
call fcn.00642e90
add esp, 8
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
jne 0x622097
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x6220a6
mov ecx, dword [ebp - 0x418]
add ecx, 1
mov dword [ebp - 0x418], ecx
mov edx, dword [ebp - 0x418]
push edx
lea ecx, [ebp - 0x42c]
call fcn.0067cf98
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x6d492c
lea eax, [ebp - 0x444]
push eax
call fcn.00675703
add esp, 0x14
push 0x6d4934
lea ecx, [ebp - 0x444]
push ecx
push 0x6d4938
lea edx, [ebp - 0x4a0]
push edx
invalid
invalid
mov al, 5

Function at 0x62a5c8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 0xcc], ecx
call 0x62a5c8
rcr byte [eax - 0x75], cl
test dword [edi + edi*8], esi
invalid
Function at 0x6331dc
Capabilities:
Allocate or change rwx memory

Disassembly:
call fcn.005a4424
jmp 0x633216
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov dword [ecx*4 + 0x6e65a0], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx*4 + 0x6e6a50]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
pop eax
jmp 0x63292a
push 0x1c
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
lea ecx, [ebp - 0x3c]
push ecx
push 0x40
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop eax
jmp 0x633259
push 0x63323e
ret