joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002bc30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x10a92162
call fcn.1004081d
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002bc7d
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1002bc71
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1002bcb8
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1002bcab
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x1002bcf3
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1002bce6
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1002bd2e
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1002bd21
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002bd69
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1002bd5c
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x1002bda4
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1002bd97
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
push 0x34
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1004080f
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002bdc0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007dbf0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1d4
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, 0x10a92166
call fcn.1004081d
mov dword [ebp - 4], 0
mov eax, dword [0x10a8e6b8]
add eax, 1
mov dword [0x10a8e6b8], eax
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002be1d
call fcn.1002bbd0
push 0x10a8e6bc
push 0x10a8e6c4
push 0x100d3700
mov ecx, 0x10a8f70c
call fcn.10002f30
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1002be62
mov eax, dword [ebp - 0x18]
push eax
push str.getaddrinfo_failed_with_error:__d_n
call fcn.1003c420
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x1002c040
mov eax, dword [0x10a8e6bc]
mov dword [0x10a8e6c0], eax
jmp 0x1002be7c
cmp dword [0x10a8e6c0], 0
je 0x1002bf46
mov eax, dword [0x10a8e6c0]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [0x10a8e6c0]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [0x10a8e6c0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x100d3710], eax
cmp dword [0x100d3710], 0xffffffff
jne 0x1002bed9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket_failed_with_error:__ld_n
call fcn.1003c420
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x1002c040
mov eax, dword [0x10a8e6c0]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [0x10a8e6c0]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [0x100d3710]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x1002bf21
push 2
mov eax, dword [0x100d3710]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov dword [0x100d3710], 0xffffffff
jmp 0x1002c040
mov dword [0x10a8e6b8], 0
mov byte [0x100d372c], 1
push str.Connected._n
call fcn.1003c420
add esp, 4
jmp 0x1002bf46
mov eax, dword [0x10a8e6bc]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [0x100d3710], 0xffffffff
jne 0x1002bf73
push str.Unable_to_connect_to_server__n
call fcn.1003c420
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x1002c040
jmp 0x1002c01a
mov dword [ebp - 4], 0xffffffff
jmp 0x1002c02c
jmp 0x1002c037
jmp 0x1002c040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret
Function at 0x1002c1d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x10a92164
call fcn.1004081d
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1002ec30
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
add ecx, 5
push ecx
call fcn.10041575
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
add edx, 5
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.10057b00
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0xe9
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 4]
push eax
call fcn.1002cce0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + edx + 1], eax
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x14], 0xe9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002cce0
add esp, 8
mov edx, 1
shl edx, 0
mov dword [ebp + edx - 0x14], eax
push 5
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10057b00
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret
Function at 0x1002c4a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x10a92164
call fcn.1004081d
movzx eax, byte [0x10a8e57b]
test eax, eax
jne 0x1002c5ff
push 0x1008238c
movzx eax, byte [ebp - 0x2a9]
push eax
push str.TQGuard.dat
lea ecx, [ebp - 0x2a8]
call fcn.10023770
mov ecx, eax
call fcn.10037540
push eax
call fcn.10061706
add esp, 8
mov dword [ebp - 0x20c], eax
push 0x1008239c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.10061706
add esp, 8
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x20c]
push eax
push 0x200
push 1
lea ecx, [ebp - 0x204]
push ecx
call fcn.10061a16
add esp, 0x10
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x1002c5b4
mov dword [ebp - 0x214], 0
jmp 0x1002c562
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x208]
jae 0x1002c590
mov eax, dword [ebp - 0x214]
movsx ecx, byte [ebp + eax - 0x204]
xor ecx, 0x61
mov edx, dword [ebp - 0x214]
mov byte [ebp + edx - 0x204], cl
jmp 0x1002c553
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x208]
push ecx
push 1
lea edx, [ebp - 0x204]
push edx
call fcn.1006208f
add esp, 0x10
jmp 0x1002c51b
mov eax, dword [ebp - 0x20c]
push eax
call fcn.10060dec
add esp, 4
mov eax, dword [ebp - 0x210]
push eax
call fcn.10060dec
add esp, 4
mov byte [ebp - 0x218], 0xeb
mov byte [ebp - 0x217], 0
push 2
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [0x10a8e594]
push ecx
call fcn.1002f080
add esp, 0xc
mov byte [0x10a8e57b], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret
Function at 0x1002c610
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x10a92161
call fcn.1004081d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x100d3714]
je 0x1002c653
movzx eax, byte [0x100d3705]
test eax, eax
jne 0x1002c818
movzx eax, byte [0x100d372e]
test eax, eax
jne 0x1002c818
mov byte [0x100d372e], 1
movzx eax, byte [0x100d372d]
test eax, eax
jne 0x1002c679
jmp 0x1002c818
push 0x4dd718
push 0
push 0x105b0e50
call fcn.10058600
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x4dd718
mov ecx, dword [0x1009a008]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push eax
push 0x4dd718
push 0x105b0e50
mov ecx, dword [0x1009a008]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 0x10], 0x4dd718
jne 0x1002c787
push 0x4dd718
push 0x105b0e50
call fcn.10032d10
add esp, 8
call fcn.1002b6c0
movzx eax, al
test eax, eax
je 0x1002c782
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x100d3714]
je 0x1002c715
movzx eax, byte [0x100d3705]
test eax, eax
jne 0x1002c782
mov byte [0x100d372e], 0
cmp dword [0x100d370c], 0
je 0x1002c74c
mov eax, dword [0x100d3730]
push eax
push str.Hash:_Index_01__d__Change_Memory_
lea ecx, [ebp - 0x34]
push ecx
call fcn.1003c470
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
push 1
push 1
call fcn.10030a40
add esp, 0xc
push 1
call fcn.1002f100
add esp, 4
mov dword [ebp - 0xa4], 0x3e8
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10025170
push eax
call fcn.10027870
add esp, 4
push 0
call fcn.1005f886
jmp 0x1002c811
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [0x100d3714]
je 0x1002c7a6
movzx eax, byte [0x100d3705]
test eax, eax
jne 0x1002c811
mov byte [0x100d372e], 0
cmp dword [0x100d370c], 0
je 0x1002c7db
mov eax, dword [ebp - 0x10]
push eax
push str.Hash:_Index_02__d__Change_Memory_
lea ecx, [ebp - 0x58]
push ecx
call fcn.1003c470
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push 1
push 1
call fcn.10030a40
add esp, 0xc
push 1
call fcn.1002f100
add esp, 4
mov dword [ebp - 0xb0], 0x3e8
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xac]
call fcn.10025170
push eax
call fcn.10027870
add esp, 4
push 0
call fcn.1005f886
mov byte [0x100d372e], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret
Function at 0x1002c980
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0x10a92164
call fcn.1004081d
push 0
push 0
push 0
push 0x1002b600
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x14]
or eax, 0x40000
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.1002c930
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002cbd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007dc30
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov ecx, 0x10a92165
call fcn.1004081d
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x41c], 0x400
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.10002f30
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
lea ecx, [ebp + 0x24]
call fcn.10002f30
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x1002cc8d
push str.NONE
push 0x10082010
lea eax, [ebp - 0x418]
push eax
call fcn.1003c470
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x418]
mov dword [ebp - 0x4e4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.10002360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10002360
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret
Function at 0x1002ec30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x10a92164
call fcn.1004081d
lea eax, [ebp - 8]
push eax
push 0x40
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x1009a0a0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x1009a0a8
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 5
mov eax, 1
imul ecx, eax, 0
add ecx, 0x1009a0a0
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10058b05
add esp, 0xc
test eax, eax
jne 0x1002ecad
mov eax, 0xb
jmp 0x1002ecd8
push 5
mov eax, 1
imul ecx, eax, 0
add ecx, 0x1009a0a8
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10058b05
add esp, 0xc
test eax, eax
jne 0x1002ecd5
mov eax, 5
jmp 0x1002ecd8
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret

Function at 0x1002ecf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0x10a92161
call fcn.1004081d
push 0
push 0
push 0
push 0x1002cd10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002ef80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x10a92164
call fcn.1004081d
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [ebp + 0x10], 1
jle 0x1002efcc
mov eax, dword [ebp + 8]
movss xmm0, dword [ebp + 0xc]
movss dword [eax], xmm0
jmp 0x1002efd6
cvttss2si eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret
Function at 0x1002f000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x10a92164
call fcn.1004081d
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [ebp + 0x10], 1
jle 0x1002f048
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
jmp 0x1002f050
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xc]
mov byte [eax], cl
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret

Function at 0x1002f080
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x10a92164
call fcn.1004081d
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret
Function at 0x10030c80
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ecx, 0x10a92166
call fcn.1004081d
cmp dword [0x100d3710], 0
je 0x10030cf3
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10030cb4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002c830
add esp, 8
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x100d3710]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10030ce5
push 0
push 0
push 0
push 0x100307d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp + 8]
push eax
call fcn.1005f059
add esp, 4
jmp 0x10030d08
push 0
push 0
push 0
push 0x100307d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10030f60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007df88
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1009a774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov ecx, 0x10a92165
call fcn.1004081d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp + 0xc]
push eax
call fcn.10002190
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002f530
add esp, 0x1c
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
lea ecx, [ebp + 0xc]
call fcn.10002f30
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp + 0x3c]
call fcn.10002f30
push eax
call fcn.1005c080
add esp, 4
add eax, 1
push eax
lea ecx, [ebp + 0x3c]
call fcn.10002f30
push eax
push 1
push 0
lea ecx, [ebp + 0x24]
call fcn.10002f30
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.10002360
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.10002360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.10002360
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004084f
mov esp, ebp
pop ebp
ret
Function at 0x100328e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x10a92162
call fcn.1004081d
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
push 0
push 0
push 0x10031100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
push 0
push 0
push 0x10031300
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
push 0
push 0
push 0x10031ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
push 0
push 0
push 0x10031d00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
push 0
push 0
push 0x10031e90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
push 0
push 0
push 0x10032010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret