joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100051d0
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffd0
push esp
push 0xf00ff
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x10005244
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x10005236
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
add esp, 0x30
ret

Function at 0x100052fc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
push ebx
xor ecx, ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.10003a70
xor eax, eax
push ebp
push 0x100053f5
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.10002748
mov eax, 0x64
call fcn.10002bf8
lea edx, [ebp - 0xc]
call fcn.10004244
lea eax, [ebp - 8]
mov ecx, 0x1000540c
mov edx, dword [ebp - 4]
call fcn.100038cc
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.10003a80
push eax
lea edx, [ebp - 0x1dc]
xor eax, eax
call fcn.100026e8
mov eax, dword [ebp - 0x1dc]
call fcn.10003a80
push eax
call sub.kernel32.dll_CopyFileA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.10002a38
lea eax, [ebp - 0x1d8]
call fcn.100027d4
call fcn.1000258c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1d8]
call fcn.10003b7c
call fcn.10002e68
call fcn.1000258c
lea eax, [ebp - 0x1d8]
call fcn.10002af4
call fcn.1000258c
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.100037bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100053fc
lea eax, [ebp - 0x1dc]
call fcn.10003768
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.1000378c
ret

Function at 0x100054b4
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
nop
nop
nop
mov dword [esp], 0x20
nop
push esp
call sub.kernel32.dll_GlobalMemoryStatus
cmp dword [esp + 8], 0x11e1a300
jae 0x100054d9
push 0
call sub.kernel32.dll_ExitProcess_1
add esp, 0x20
ret
Function at 0x100054e0
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
xor eax, eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x10005698
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.10002748
mov eax, 0x64
call fcn.10002bf8
lea edx, [ebp - 0x1d4]
call fcn.10004244
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 4]
mov ecx, 0x100056ac
call fcn.100038cc
lea eax, [ebp - 0x1d8]
mov ecx, dword [ebp - 4]
mov edx, 0x100056bc
call fcn.100038cc
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d0]
call fcn.10002a38
lea eax, [ebp - 0x1d0]
call fcn.100027c8
call fcn.1000258c
mov edx, 0x100056c8
lea eax, [ebp - 0x1d0]
call fcn.10003b7c
call fcn.10002e68
call fcn.1000258c
mov edx, 0x100056e8
lea eax, [ebp - 0x1d0]
call fcn.10003b7c
call fcn.10002e68
call fcn.1000258c
push 0x10005728
lea edx, [ebp - 0x1e0]
xor eax, eax
call fcn.100026e8
push dword [ebp - 0x1e0]
push 0x10005744
lea eax, [ebp - 0x1dc]
mov edx, 3
call fcn.10003940
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d0]
call fcn.10003b7c
call fcn.10002e68
call fcn.1000258c
push 0x10005750
push dword [ebp - 4]
push 0x10005744
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.10003940
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.10003b7c
call fcn.10002e68
call fcn.1000258c
lea eax, [ebp - 0x1d0]
call fcn.10002af4
call fcn.1000258c
push 0
lea eax, [ebp - 0x1e8]
mov ecx, dword [ebp - 4]
mov edx, 0x10005770
call fcn.100038cc
mov eax, dword [ebp - 0x1e8]
call fcn.10003a80
push eax
call sub.kernel32.dll_WinExec
push 0
call sub.kernel32.dll_ExitProcess_1
Function at 0x40105b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x250
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call ebx
push edx
mov dword [ebp - 0x228], eax
call esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x21c], 6
push ecx
push ecx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push esi
push esi
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x220], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push edx
push edx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x210]
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.DLL_SHGetFolderPathW]
sub esp, 0x14
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 5]
push esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x4012c8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
call fcn.0040105b
test eax, eax
jne 0x401362
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x402b7c
sub eax, 0x40211a
mov dword [esp], 0x40211a
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401362
lea ebx, [ebp - 0x88]
mov dword [esp], 0
jmp loc.004607c2
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x13142a04
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x13142a41
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x13142a61
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.131446c0
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x13142c40
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.1314446c
test esi, esi
jne 0x13142c77
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.1314455c
jmp 0x13142c98
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.13142adc
mov dword [esp], eax
test esi, esi
je 0x13142c98
cmp dword [ebx], 0
je 0x13142c98
dec esi
jmp 0x13142c7f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x131432a4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x1315a008], 0x8088405
inc edx
mov dword [ebx + 0x1315a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x13143964
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x1315a018]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x131439fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x131439dc
xor eax, eax
push ebp
push 0x131439d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x13143a18
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131439dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x1315a018]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x1315a018], ax
mov esp, ebp
pop ebp
ret

Function at 0x131442c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x1315b044], 0
je 0x13144329
cmp word [0x1315b218], 0xd7b2
jne 0x131442f1
cmp dword [0x1315b220], 0
jbe 0x131442f1
mov eax, 0x1315b214
call dword [0x1315b230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x1315a084
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x13144350
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x1315a024], 0
jne 0x13144345
push 0
push 0x1315a07c
push 0x1315a084
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x131453d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x1314543a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.131446c0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.131433f0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x13145424
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13145441
lea eax, [ebp - 0x10]
call fcn.1314446c
ret

Function at 0x13147740
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x13147779
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.1314455c
jmp 0x13147782
mov eax, ebx
mov edx, esi
call fcn.131444c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1314778c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x131477ad
mov al, byte [esp]
jmp 0x131477af
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x13147e44
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x13147cac
mov eax, dword [0x1315ac3c]
cmp byte [eax], 0
je 0x13147ec0
mov eax, dword [0x1315ab90]
call fcn.13143044
call fcn.131429c8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.13146c00
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x13147f08
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x13147ef6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x1315ab70]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x1315b660]
call fcn.13144da4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x13148964
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x131489c8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.131446c0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.13146990
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131489cf
lea eax, [ebp - 0xc]
call fcn.1314446c
ret

Function at 0x131494d0
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, eax
lea ebp, [esp + 4]
xor eax, eax
mov dword [esp], eax
mov ebx, 0x4000
push 4
push 0x3000
push ebx
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp], eax
cmp dword [ebp], 0
je 0x13149550
push 0
push ebx
mov eax, dword [ebp]
push eax
push edi
call sub.ntdll.dll_ZwQuerySystemInformation
mov esi, eax
cmp esi, 0xc0000004
jne 0x1314952c
push 0x8000
push 0
mov eax, dword [ebp]
push eax
call sub.kernel32.dll_VirtualFree_1
mov eax, ebx
add eax, eax
mov ebx, eax
cmp esi, 0xc0000004
je 0x131494e7
test esi, esi
jne 0x13149540
mov eax, dword [ebp]
mov dword [esp], eax
jmp 0x13149550
push 0x8000
push 0
mov eax, dword [ebp]
push eax
call sub.kernel32.dll_VirtualFree_1
mov eax, dword [esp]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x13149640
Capabilities:
Acquire debug privileges

Disassembly:
mov edx, 0x13149650
or eax, 0xffffffff
call fcn.131495ac
ret

Function at 0x13149664
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov edi, eax
xor esi, esi
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x131496c1
mov dword [esp], 0x128
push esp
push ebx
call sub.kernel32.dll_Process32First
test eax, eax
je 0x131496b9
push edi
lea eax, [esp + 0x28]
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x131496ae
mov esi, dword [esp + 8]
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x131496c1
push esp
push ebx
call sub.kernel32.dll_Process32Next
test eax, eax
jne 0x13149693
xor esi, esi
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, esi
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x13149828
Capabilities:
Get common file path
Get disk information

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 0x131498f5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.13144a1c
push 0x104
lea eax, [ebp - 4]
call fcn.13144944
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
je 0x131498cd
lea eax, [ebp - 8]
mov edx, 0x28
call fcn.13144a1c
lea eax, [ebp - 0x18]
mov edx, 0x28
call fcn.13144a1c
push 0x28
lea eax, [ebp - 0x18]
call fcn.13144944
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x28
lea eax, [ebp - 8]
call fcn.13144944
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.1314494c
mov eax, dword [ebp - 0x1c]
call fcn.131448ec
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x131498cd
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131498fc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.13144490
lea eax, [ebp - 8]
mov edx, 2
call fcn.13144490
ret
Function at 0x13149928
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x1c], edx
mov esi, eax
lea edi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x13149a98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.1314446c
lea eax, [ebp - 0xc]
push eax
push 0x13149aa8
push 0x80000001
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x13149a75
mov dword [ebp - 0x18], 0x14
xor ebx, ebx
mov eax, 0x14
call fcn.13149904
mov dword [edi], eax
jmp 0x13149a44
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [edi]
call fcn.13144648
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x13149ad4
call fcn.13144738
mov eax, dword [ebp - 0x30]
call fcn.131448ec
push eax
push 0x80000001
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x13149a3c
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x13149af8
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x13149a33
mov eax, dword [edi]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.13149828
push eax
call fcn.1314b7b7
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x2c]
call fcn.13144648
push dword [esi]
lea eax, [ebp - 0x38]
mov edx, dword [edi]
call fcn.13144648
push dword [ebp - 0x38]
push 0x13149b10
push dword [ebp - 0x1c]
push 0x13149b1c
mov eax, esi
mov edx, 5
call fcn.131447ac
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov dword [ebp - 0x18], 0x14
inc ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
je 0x1314998e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [edi]
call fcn.13149918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13149a9f
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.13144490
lea eax, [ebp - 0x1c]
call fcn.1314446c
ret

Function at 0x13149b5c
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
ret
Function at 0x1314b970
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.131448dc
xor eax, eax
push ebp
push 0x1314ba45
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.1314b93c
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
add al, 0x9f
sub al, 0x1a
jb 0x1314b9c4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.1314b93c
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 1]
add al, 0x9f
sub al, 0x1a
jae 0x1314ba0b
mov eax, dword [ebp - 4]
call fcn.131448ec
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, 4
call fcn.13143284
cmp dword [ebp - 0xc], 0
je 0x1314ba1c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [ebp - 0x10], cl
mov cl, byte [edx + 1]
mov byte [ebp - 0xf], cl
mov cl, byte [edx + 2]
mov byte [ebp - 0xe], cl
mov al, byte [edx + 3]
mov byte [ebp - 0xd], al
jmp 0x1314ba1c
mov eax, dword [ebp - 4]
call fcn.131448ec
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314ba4c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.13144490
lea eax, [ebp - 4]
call fcn.1314446c
ret

Function at 0x1314bb10
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push 0xff
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x1314bb37
mov edx, ebx
mov eax, esp
call fcn.13146cc0
jmp 0x1314bb3e
mov eax, ebx
call fcn.1314446c
add esp, 0x100
pop ebx
ret

Function at 0x1314bb48
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.131448dc
xor eax, eax
push ebp
push 0x1314bbde
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x1314bbf4
push 0x1314bc00
lea eax, [ebp - 8]
mov edx, 3
call fcn.131447ac
mov eax, dword [ebp - 8]
call fcn.131446ec
push eax
mov eax, dword [ebp - 8]
call fcn.131448ec
mov edx, eax
lea eax, [ebp - 0x108]
pop ecx
call fcn.13145a6c
push 0
mov eax, dword [ebp - 8]
call fcn.131446ec
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314bbe5
lea eax, [ebp - 8]
mov edx, 2
call fcn.13144490
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x1314bc5d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push pe_nt_image_headers32
lea edx, [ebp - 0x104]
push edx
push eax
call sub.wsock32.dll_recv
lea eax, [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.131446c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314bc64
lea eax, [ebp - 4]
call fcn.1314446c
ret