joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61ada8
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x61ae80
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x3870
call fcn.00403464
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0040a78c
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 0x61ae98
call fcn.00405598
push 0
push 0xa0000000
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 0x1c]
call fcn.0040574c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x61ae62
push 0
lea eax, [ebp - 0x10]
push eax
push 0xc88
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x70050
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_DeviceIoControl
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x61ae51
mov byte [ebp - 9], 1
jmp 0x61ae59
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61ae87
lea eax, [ebp - 0x24]
call fcn.0040528c
lea eax, [ebp - 0x1c]
call fcn.0040528c
ret

Function at 0x61b000
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x61b089
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040528c
push 0x20
lea eax, [ebp - 0x13a]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x105
lea eax, [ebp - 0x119]
push eax
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x61b073
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.004054fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61b090
lea eax, [ebp - 4]
call fcn.0040528c
ret
Function at 0x61bfd0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x61bfd9
mov eax, dword [ebp - 4]
add esp, 0xfffffac4
xor ecx, ecx
mov dword [ebp - 0x453c], ecx
mov dword [ebp - 0x4540], ecx
mov dword [ebp - 0x4534], ecx
mov dword [ebp - 0x4538], ecx
mov dword [ebp - 0x4530], ecx
mov dword [ebp - 0x452c], ecx
mov dword [ebp - 0x4524], ecx
mov dword [ebp - 0x4528], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x61c217
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x4511], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc9c], eax
mov eax, dword [ebp - 8]
call fcn.005dbe4c
mov dword [ebp - 8], eax
lea edx, [ebp - 0x4528]
mov eax, dword [ebp - 8]
call fcn.0040a78c
mov ecx, dword [ebp - 0x4528]
lea eax, [ebp - 0x4524]
mov edx, 0x61c230
call fcn.00405598
mov eax, dword [ebp - 0x4524]
call fcn.004c938c
mov eax, dword [ebp - 8]
call fcn.0062935c
test al, al
je 0x61c09e
mov eax, dword [ebp - 8]
add eax, eax
cmp dword [eax*8 + 0x13b461c], 0x200
je 0x61c1f9
lea eax, [ebp - 0x452c]
call fcn.004c2834
mov eax, dword [ebp - 0x452c]
mov edx, 0x61c244
call fcn.00405698
jb 0x61c1f9
lea eax, [ebp - 0x4530]
call fcn.004c2834
mov eax, dword [ebp - 0x4530]
mov edx, 0x61c250
call fcn.00405698
jae 0x61c10e
lea edx, [ebp - 0xc98]
mov eax, dword [ebp - 8]
call fcn.0061aeac
mov byte [ebp - 0x4519], al
cmp byte [ebp - 0x4519], 0
je 0x61c1f9
push ebp
mov eax, 1
call fcn.0061b094
pop ecx
jmp 0x61c1f2
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [ebp - 0x4538]
mov eax, dword [ebp - 8]
call fcn.0040a78c
mov ecx, dword [ebp - 0x4538]
lea eax, [ebp - 0x4534]
mov edx, 0x61c25c
call fcn.00405598
mov eax, dword [ebp - 0x4534]
call fcn.0040574c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x4518], eax
cmp dword [ebp - 0x4518], 0xffffffff
je 0x61c1f2
push 0
lea eax, [ebp - 0x4520]
push eax
push 0x3870
lea eax, [ebp - 0x4510]
push eax
push 0
push 0
push 0x70050
mov eax, dword [ebp - 0x4518]
push eax
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x4519], al
mov eax, dword [ebp - 0x4520]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4540]
call fcn.0040a878
mov ecx, dword [ebp - 0x4540]
lea eax, [ebp - 0x453c]
mov edx, 0x61c278
call fcn.00405598
mov eax, dword [ebp - 0x453c]
call fcn.004c938c
mov eax, dword [ebp - 0x4518]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 0x4519], 0
je 0x61c1f2
push ebp
mov eax, 2
call fcn.0061b094
pop ecx
mov byte [ebp - 0x4511], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61c21e
lea eax, [ebp - 0x4540]
mov edx, 8
call fcn.004052b0
ret
Function at 0x62cf88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
push esi
push edi
push eax
push ebx
push ecx
push edx
lea edi, [0x88aa04]
mov esi, dword [ebp - 4]
mov ax, word [ebp - 8]
mov dx, word [ebp - 6]
mov ecx, dword [ebp - 0xc]
or ecx, ecx
je 0x62cfd5
xor ebx, ebx
mov bl, al
lodsb al, byte [esi]
xor bl, al
mov al, ah
mov ah, dl
mov dl, dh
xor dh, dh
shl bx, 1
shl bx, 1
add ebx, edi
xor ax, word [ebx]
xor dx, word [ebx + 2]
loop 0x62cfb5
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], dx
pop edx
pop ecx
pop ebx
pop eax
pop edi
pop esi
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x62d1b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x62d320
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040b1d4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a048
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0040554c
mov ecx, eax
mov edx, 2
mov eax, dword [ebp - 0x1c]
call fcn.004057ac
mov eax, dword [ebp - 0x1c]
mov edx, 0x62d334
call fcn.00405698
jne 0x62d236
lea eax, [ebp - 0x1c]
mov edx, 0x62d340
call fcn.00405324
mov eax, dword [ebp - 0x1c]
call fcn.0040574c
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040b0d4
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.00405324
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
mov eax, dword [0x894668]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x894668]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x62d2b0
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, 0x62d350
call fcn.00405598
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x41bac8]
call fcn.0040f388
call fcn.00404c28
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.00421da8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x894668]
push eax
call sub.kernel32.dll_SizeofResource
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00421828
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00408bdc
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62d327
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004052b0
lea eax, [ebp - 4]
call fcn.0040528c
ret
Function at 0x62f420
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040573c
xor eax, eax
push ebp
push 0x62f5b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
xor eax, eax
push ebp
push 0x62f587
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xb4], 0x94
lea eax, [ebp - 0xb4]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
jne 0x62f488
mov eax, dword [ebp - 4]
mov byte [eax + 8], 1
jmp 0x62f498
cmp dword [ebp - 0xa4], 2
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x62f57d
cmp dword [ebp - 0xb0], 5
jb 0x62f57d
cmp dword [ebp - 8], 0
jne 0x62f4bf
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x62f4ca
mov eax, dword [ebp - 8]
call fcn.0040574c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [0x892514]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x62f5cc
call fcn.004bfaf8
mov eax, dword [ebp - 0xb8]
mov edx, 0x62f5ec
call fcn.00405698
je 0x62f544
xor eax, eax
push ebp
push 0x62f53a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 9], 0
je 0x62f530
push 0xffffffffffffffff
push 0x64
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [0x893564]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62f544
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x8928dc]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x62f57d
mov eax, dword [ebp - 4]
mov byte [eax + 9], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 8]
call fcn.004052e0
mov byte [ebp - 0xa], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62f591
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62f5b9
lea eax, [ebp - 0xb8]
call fcn.0040528c
lea eax, [ebp - 8]
call fcn.0040528c
ret
Function at 0x645e34
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
xor edx, edx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x645f3e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
lea eax, [ebp - 8]
call fcn.0040528c
push 0x40
lea eax, [ebp - 0x54]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x54]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x645f1d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x645ede
push dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + eax*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1e8]
call fcn.00405484
push dword [ebp - 0x1e8]
push 0x645f54
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040560c
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp dword [edx + eax*4], 0
jne 0x645ea3
call sub.wsock32.dll_WSACleanup
mov eax, dword [ebp - 8]
call fcn.0040554c
test eax, eax
jle 0x645f12
mov eax, dword [ebp - 8]
call fcn.0040554c
mov edx, eax
lea eax, [ebp - 8]
mov ecx, 1
call fcn.004057ec
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004052e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x645f45
lea eax, [ebp - 0x1e8]
call fcn.0040528c
lea eax, [ebp - 8]
call fcn.0040528c
ret
Function at 0x648cbc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp byte [0x1435284], 0
jne 0x648d36
cmp byte [0x1435285], 0
je 0x648d36
mov byte [0x1435285], 0
mov eax, dword [0x143528c]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x648d3c
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x648d36
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
push 0x1435288
lea eax, [ebp - 0x10]
push eax
push 0
push 0x648d50
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret
Function at 0x64d758
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
call fcn.00649540
test al, al
jne 0x64d76c
call fcn.00649558
call fcn.0064952c
mov dword [0x88b3c0], eax
push 0x64d954
mov eax, dword [0x88b3c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x64d7c0
mov edx, 0x8000
mov eax, 0x64d968
call fcn.004114a8
mov dword [0x88b3bc], eax
mov eax, dword [0x88b3bc]
mov dword [0x88b3c0], eax
push 0x64d954
mov eax, dword [0x88b3c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x64d926
push 0x64d974
mov eax, dword [0x88b3c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x64d926
push 0x64d980
mov eax, dword [0x88b3c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x64d926
mov eax, dword [ebp - 4]
mov dword [0x88b380], eax
mov eax, dword [ebp - 8]
mov dword [0x88b384], eax
mov eax, dword [ebp - 0xc]
mov dword [0x88b388], eax
push 0x64d990
mov eax, dword [0x88b3c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b38c], eax
push 0x64d99c
mov eax, dword [0x88b3c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b390], eax
push 0x64d9a8
mov eax, dword [0x88b3c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b394], eax
push 0x64d9b8
mov eax, dword [0x88b3c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b398], eax
push 0x64d9c8
mov eax, dword [0x88b3c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b39c], eax
mov edx, 0x8000
mov eax, 0x64d9e0
call fcn.004114a8
mov dword [0x88b3c4], eax
cmp dword [0x88b3c4], 0
je 0x64d950
push 0x64d9f0
mov eax, dword [0x88b3c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b3a0], eax
push 0x64da08
mov eax, dword [0x88b3c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b3b0], eax
push 0x64da20
mov eax, dword [0x88b3c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b3a4], eax
push 0x64da3c
mov eax, dword [0x88b3c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b3a8], eax
push 0x64da5c
mov eax, dword [0x88b3c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b3ac], eax
push 0x64da78
mov eax, dword [0x88b3c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x88b3b4], eax
jmp 0x64d950
call fcn.0064cb44
mov eax, 0x64d0c8
mov dword [0x88b380], eax
mov eax, 0x64d498
mov dword [0x88b384], eax
mov eax, fcn.0064d06c
mov dword [0x88b388], eax
mov byte [0x88b3b8], 1
mov esp, ebp
pop ebp
ret
Function at 0x66d880
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x66d8dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
call fcn.0040574c
push eax
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66d8e4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x66d8ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x66d976
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.004058d8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040574c
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x66d958
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004058d8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00635ee4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004052e0
jmp 0x66d960
mov eax, dword [ebp - 4]
call fcn.0040528c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66d97d
lea eax, [ebp - 0xc]
call fcn.0040528c
ret

Function at 0x675f50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040528c
mov dword [ebp - 8], 0xf
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x675f87
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.0040537c
mov esp, ebp
pop ebp
ret

Function at 0x676f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x676fa8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0040a31c
mov eax, dword [ebp - 0x14]
mov ebx, dword [0x892488]
mov ebx, dword [ebx]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x676f88
mov edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp - 0xc]
call fcn.004058d8
jmp 0x676f92
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.004058d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x676faf
lea eax, [ebp - 0x14]
call fcn.0040528c
ret
Function at 0x67eab8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
test byte [eax + 1], 0x80
setne byte [ebp - 0xa]
mov eax, dword [ebp - 8]
mov ax, word [eax]
add eax, eax
xor edx, edx
mov dl, byte [ebp - 9]
shr edx, 7
or ax, dx
mov edx, dword [ebp - 8]
mov word [edx], ax
cmp byte [ebp - 0xa], 0
je 0x67eb00
mov eax, dword [ebp - 8]
xor word [eax], 0x1021
mov al, byte [ebp - 9]
add eax, eax
and al, 0xff
mov byte [ebp - 9], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 9
jne 0x67eace
mov esp, ebp
pop ebp
ret

Function at 0x68efb4
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x68f092
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
push 0
mov eax, dword [0x892738]
mov eax, dword [eax]
call eax
call fcn.00408c20
cmp eax, 1
sbb eax, eax
inc eax
mov byte [0x88d97c], al
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.ole32.dll_CoInitializeSecurity
lea eax, [ebp - 0xc]
call fcn.004070f4
push eax
push 0x68f0a0
push 1
push 0
push 0x88d980
call sub.ole32.dll_CoCreateInstance
call fcn.00408c30
test eax, eax
je 0x68f037
call fcn.0068eabc
jmp 0x68f074
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x68f0b0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.00408c30
test eax, eax
je 0x68f065
call fcn.0068eabc
jmp 0x68f074
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.0040710c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68f099
lea eax, [ebp - 0x10]
call fcn.004070f4
lea eax, [ebp - 0xc]
call fcn.004070f4
ret
Function at 0x695f0c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov ecx, edx
test ecx, ecx
js 0x695f20
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x695f19
mov eax, esp
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
test eax, eax
jl 0x695f95
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
call fcn.0042f2b0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 0xff
cdq
idiv dword [ebp - 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
and eax, 0xff00
shr eax, 8
cdq
idiv dword [ebp - 8]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
and eax, 0xff0000
shr eax, 0x10
cdq
idiv dword [ebp - 8]
add dword [ebp - 0x18], eax
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x695f49
mov cl, byte [ebp - 0x18]
mov dl, byte [ebp - 0x14]
mov al, byte [ebp - 0x10]
call fcn.00408c4c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret