joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405f30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], esp
push 0x4082c0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x1a
call fcn.00404bf0
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x28]
push 0x4082c0
push ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0xc
call fcn.00404bf0
mov esi, dword [0x40c130]
lea edx, [ebp - 0x3c]
mov bl, 0x61
push edx
push 0x40a5ac
mov byte [ebp - 0x3c], 0x49
mov byte [ebp - 0x3b], 0x73
mov byte [ebp - 0x3a], 0x42
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x38], 0x64
mov byte [ebp - 0x37], 0x52
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], bl
mov byte [ebp - 0x34], 0x64
mov byte [ebp - 0x33], 0x50
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x72
mov byte [ebp - 0x30], 0
call esi
push eax
call dword [0x40b3fc]
mov dword [ebp - 0x20], eax
mov al, 0x4c
mov byte [ebp - 0x4c], al
mov byte [ebp - 0x48], al
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x4b], 0x6f
push eax
push 0x40a5ac
mov byte [ebp - 0x4a], bl
mov byte [ebp - 0x49], 0x64
mov byte [ebp - 0x47], 0x69
mov byte [ebp - 0x46], 0x62
mov byte [ebp - 0x45], 0x72
mov byte [ebp - 0x44], bl
mov byte [ebp - 0x43], 0x72
mov byte [ebp - 0x42], 0x79
mov byte [ebp - 0x41], 0x41
mov byte [ebp - 0x40], 0
call esi
push eax
call dword [0x40b3fc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 1
mov eax, dword [edi]
mov ebx, dword [edi + 4]
add eax, 0x80
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax + 4]
test ecx, ecx
jbe 0x401f2f
mov esi, dword [eax]
push 0x14
add esi, ebx
push esi
mov dword [ebp - 0x1c], esi
call dword [ebp - 0x20]
test eax, eax
jne 0x401f2f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x401f2f
add eax, ebx
push eax
call dword [ebp - 0x2c]
mov ebx, eax
test ebx, ebx
je 0x401f28
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
lea edx, [ecx*4 + 4]
push edx
push eax
call dword [0x40c174]
add esp, 8
mov dword [edi + 8], eax
test eax, eax
je 0x401f28
mov ecx, dword [edi + 0xc]
mov dword [eax + ecx*4], ebx
mov edx, dword [edi + 0xc]
inc edx
mov dword [edi + 0xc], edx
mov eax, dword [esi]
test eax, eax
je 0x401ec6
mov edx, dword [ebp - 0x14]
mov esi, dword [esi + 0x10]
lea edi, [eax + edx]
mov eax, edx
add esi, eax
jmp 0x401ed1
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x14]
lea edi, [eax + ecx]
mov esi, edi
mov eax, dword [edi]
test eax, eax
je 0x401f07
test eax, 0x80000000
je 0x401ee5
and eax, 0xffff
jmp 0x401eec
mov edx, dword [ebp - 0x14]
lea eax, [eax + edx + 2]
push eax
push ebx
call dword [0x40b3fc]
test eax, eax
mov dword [esi], eax
je 0x401f28
mov eax, dword [edi + 4]
add edi, 4
add esi, 4
test eax, eax
jne 0x401ed7
mov eax, dword [ebp - 0x1c]
push 0x14
add eax, 0x14
push eax
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x20]
test eax, eax
jne 0x401f2f
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
jmp 0x401e66
mov dword [ebp - 0x18], 0
mov eax, 0x401f35
ret
Function at 0x4043b0
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 0x404416
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.0040387c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404400
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40441d
lea eax, [ebp - 0x10]
call fcn.0040371c
ret

Function at 0x404a18
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x4190dc], 0
jne 0x404aea
mov byte [0x4190dc], 1
xor eax, eax
mov dword [0x4190d4], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x1c], 3
ja 0x404a60
cmp dword [esp + 0x1c], 3
jne 0x404ac0
cmp dword [esp + 0x20], 0x33
jbe 0x404ac0
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x404af4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x404aea
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x404b24
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x404aea
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [esp + 8], 0x31
jne 0x404aea
cmp byte [esp + 9], 0
jne 0x404aea
jmp 0x404ad5
push 0
push 0x404b24
push 0x404b2c
call sub.kernel32.dll_GetProfileIntA
test eax, eax
je 0x404aea
mov eax, dword [0x4190d0]
call fcn.00403a94
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4190d4], eax
add esp, 0xac
ret

Function at 0x4055d8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a84
xor eax, eax
push ebp
push 0x40569f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040371c
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x405689
mov eax, ebx
mov edx, 0x73
call fcn.00403bc4
push 0
lea eax, [ebp - 8]
push eax
push 0x73
mov eax, ebx
call fcn.00403aec
push eax
push esi
call sub.kernel32.dll_ReadFile_1
push esi
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebx]
mov eax, 0x4056b4
call fcn.00403b7c
test eax, eax
jne 0x40566a
mov eax, ebx
call fcn.0040371c
jmp 0x405689
push ebx
mov edx, dword [ebx]
mov eax, 0x4056c0
call fcn.00403b7c
mov ecx, eax
dec ecx
sub ecx, 0x50
mov eax, dword [ebx]
mov edx, 0x51
call fcn.00403af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4056a6
lea eax, [ebp - 4]
call fcn.0040371c
ret
Function at 0x4056c4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a84
xor eax, eax
push ebp
push 0x40576c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
call sub.kernel32.dll_OpenFile
mov esi, eax
cmp esi, 0xffffffff
je 0x405751
lea eax, [ebp - 8]
mov edx, 0x186a0
call fcn.00403bc4
push 0
lea eax, [ebp - 0xc]
push eax
push 0x186a0
lea eax, [ebp - 8]
call fcn.00403aec
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x405751
push esi
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 8]
mov eax, 0x405784
call fcn.00403b7c
test eax, eax
jle 0x405751
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405773
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret

Function at 0x40579c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x40581e
push dword fs:[eax]
mov dword fs:[eax], esp
xor bl, 1
neg bl
sbb eax, eax
push eax
mov eax, dword [ebp - 8]
call fcn.00403a94
push eax
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test byte [ebp + 0x10], bl
je 0x405803
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
call fcn.00405cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405825
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret
Function at 0x406104
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406191
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x40616f
test ebx, ebx
je 0x40616f
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
push dword [eax]
invalid
mov al, 0xea

Function at 0x406508
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406568
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x15]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x15]
mov ecx, 0x11
call fcn.0040387c
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.00405398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40656f
lea eax, [ebp - 0x1c]
call fcn.0040371c
ret

Function at 0x406574
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4065f3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.0040387c
lea eax, [ebp - 0x10c]
mov edx, 0x406608
call fcn.0040389c
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.004053d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4065fa
lea eax, [ebp - 0x10c]
call fcn.0040371c
ret

Function at 0x406710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x4067b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x41a6c0
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x41a6c4], eax
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00403a94
push eax
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [0x41a6c4], eax
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4067ba
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret
Function at 0x4067c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406888
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x41a6c0
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x41a6c4], eax
mov eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.00403bc4
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebx]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403a94
push eax
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [0x41a6c4], eax
cmp dword [0x41a6c4], 0
jne 0x40685b
mov eax, dword [ebx]
call fcn.00403a94
mov edx, eax
mov eax, ebx
call fcn.0040384c
jmp 0x406862
mov eax, ebx
call fcn.0040371c
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40688f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret

Function at 0x406898
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
mov eax, dword [ebp + 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x40696c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x41a6c0
push 0
push 2
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
mov dword [0x41a6c4], eax
cmp dword [ebp + 8], 0
jne 0x406905
lea eax, [ebp + 8]
mov edx, 0x406984
call fcn.004037b4
mov eax, dword [ebp + 8]
call fcn.00403894
push eax
lea eax, [ebp + 8]
call fcn.00403aec
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00403a94
push eax
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [0x41a6c4], eax
cmp dword [0x41a6c4], 0
sete bl
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406973
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
lea eax, [ebp + 8]
call fcn.0040371c
ret
Function at 0x406988
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406a2d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x41a6c0
push 0
push 2
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
mov dword [0x41a6c4], eax
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.00403a94
push eax
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [0x41a6c4], eax
cmp dword [0x41a6c4], 0
sete bl
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a34
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret

Function at 0x406a40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406ac2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, 0x406ad8
call fcn.00405830
test al, al
jne 0x406aac
mov eax, dword [ebp - 4]
call fcn.00403a94
mov ebx, eax
push ebx
push esi
call sub.advapi32.dll_RegDeleteKeyA
push 0
push 0x41a6c0
push 0
push 6
push 2
push 0
push 0
push ebx
push esi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
sete al
mov ebx, eax
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406ac9
lea eax, [ebp - 4]
call fcn.0040371c
ret

Function at 0x406b6c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406bfb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x406bac
lea eax, [ebp - 8]
mov edx, 0x406c14
call fcn.004037b4
mov eax, dword [ebp - 8]
call fcn.00403894
push eax
lea eax, [ebp - 8]
call fcn.00403aec
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov dword [0x41a6c4], eax
cmp dword [0x41a6c4], 0
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c02
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret
Function at 0x406c18
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406c7b
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov dword [0x41a6c4], eax
cmp dword [0x41a6c4], 0
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c82
lea eax, [ebp - 4]
call fcn.0040371c
ret

Function at 0x406c8c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406d22
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x41a6c0
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x41a6c4], eax
mov eax, dword [ebp - 8]
call fcn.00403a94
push eax
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov dword [0x41a6c4], eax
cmp dword [0x41a6c4], 0
sete bl
mov eax, dword [0x41a6c0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d29
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret
Function at 0x407288
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x407513
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41ab14
mov edx, 0x407528
call fcn.00403770
lea eax, [ebp - 4]
mov ecx, 0x4075d8
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x4075ec
mov edx, 0x4075fc
mov eax, 0x80000002
call fcn.00406898
mov ecx, 0x4075d8
lea eax, [ebp - 8]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x4075ec
mov edx, 0x407634
mov eax, 0x80000001
call fcn.00406898
mov ecx, 0x4075d8
lea eax, [ebp - 0xc]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 0x4075ec
mov edx, 0x40767c
mov eax, 0x80000002
call fcn.00406898
mov eax, 0x41ab14
mov edx, 0x4076bc
call fcn.00403770
lea eax, [ebp - 0x10]
mov ecx, 0x40778c
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x4075fc
mov ecx, 0x4077a0
mov eax, 0x80000001
call fcn.00406898
lea eax, [ebp - 0x14]
mov ecx, 0x4077b0
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x14]
push eax
mov edx, 0x407634
mov ecx, 0x4077c4
mov eax, 0x80000002
call fcn.00406898
cmp byte [0x41ab58], 0
jne 0x4074f8
mov eax, 0x41ab14
mov edx, 0x4077d4
call fcn.00403770
push 0
mov ecx, 0x407898
mov edx, 0x4078b0
mov eax, 0x80000002
call fcn.00406898
push 0x4078e4
mov edx, 0x4078b0
mov ecx, 0x4078f4
mov eax, 0x80000002
call fcn.00406898
push 0x40790c
mov edx, 0x4078b0
mov ecx, 0x407944
mov eax, 0x80000002
call fcn.00406898
push 0x407958
mov edx, 0x4078b0
mov ecx, 0x407974
mov eax, 0x80000002
call fcn.00406898
push 0x407988
mov edx, 0x4078b0
mov ecx, 0x40799c
mov eax, 0x80000002
call fcn.00406898
mov eax, 0x41ab14
mov edx, 0x4079ac
call fcn.00403770
push 0x4079d8
mov edx, 0x4078b0
mov ecx, 0x4079ec
mov eax, 0x80000002
call fcn.00406898
mov ecx, 0x4075d8
lea eax, [ebp - 0x18]
mov edx, dword [0x41aadc]
call fcn.004038e0
mov eax, dword [ebp - 0x18]
push eax
mov edx, 0x4078b0
mov ecx, 0x407a00
mov eax, 0x80000002
call fcn.00406898
push 1
mov edx, 0x4078b0
mov ecx, 0x407a14
mov eax, 0x80000002
call fcn.00406988
push 3
mov edx, 0x4078b0
mov ecx, 0x407a2c
mov eax, 0x80000002
call fcn.00406988
mov eax, 0x41ab14
mov edx, 0x407a48
call fcn.00403770
push 2
mov edx, 0x4078b0
mov ecx, 0x407a68
mov eax, 0x80000002
call fcn.00406988
push 0x120
mov edx, 0x4078b0
mov ecx, 0x407a78
mov eax, 0x80000002
call fcn.00406988
mov eax, 0x41ab14
mov edx, 0x407a88
call fcn.00403770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40751a
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403740
ret
Function at 0x407f88
Capabilities:
Check os version
Get common file path
Get disk information
Get disk size
Get geographical location
Get hostname
Get keyboard layout
Get session user name
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc2
push 0
push 0
dec ecx
jne 0x407f90
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x409239
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x409250
call fcn.00403770
mov dword [ebp - 0xe4], 0x94
mov eax, 0x41ab14
mov edx, 0x40925c
call fcn.00403770
lea eax, [ebp - 0xe4]
push eax
call sub.kernel32.dll_GetVersionExA
mov esi, dword [ebp - 0xd4]
cmp esi, 2
jne 0x407ff6
lea eax, [ebp - 0xc]
mov edx, 0x4092f0
call fcn.004037b4
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x59c]
call fcn.00405370
mov ecx, dword [ebp - 0x59c]
lea eax, [ebp - 0xc]
mov edx, 0x40930c
call fcn.004038e0
Function at 0x40d01c
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x40d024
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x40d26a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41ab14
mov edx, 0x40d280
call fcn.00403770
lea eax, [ebp - 4]
push eax
push ebx
push 0x13
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x40d24f
mov dword [ebp - 0xc], 0x7e0
mov eax, dword [ebp - 0xc]
call fcn.004024d0
mov esi, eax
mov eax, esi
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00402bd8
mov dword [ebp - 8], 0x3f
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
je 0x40d0aa
cmp eax, 0xea
jne 0x40d229
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x40d082
inc eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov edi, ebx
shl edi, 2
test byte [esi + edi*8 + 0xc], 2
je 0x40d0cc
lea eax, [esi + edi*8]
call fcn.0040d01c
cmp dword [esi + edi*8 + 8], 3
jne 0x40d21a
lea eax, [ebp - 0x14]
mov edx, dword [esi + edi*8 + 0x14]
call fcn.0040384c
mov edx, dword [ebp - 0x14]
mov eax, 0x41aafc
mov ecx, 0x40d2b8
call fcn.004038e0
inc dword [0x41ab40]
mov eax, dword [0x41ab40]
cmp eax, dword [0x41ab44]
jl 0x40d21a
mov eax, dword [0x41ab40]
push eax
mov ecx, 0x40d2c4
mov edx, 0x40d2d4
mov eax, 0x80000002
call fcn.00406988
mov eax, 0x41ab14
mov edx, 0x40d31c
call fcn.00403770
mov eax, dword [0x41aafc]
push eax
mov edx, 0x40d2d4
mov ecx, 0x40d3d8
mov eax, 0x80000002
call fcn.00406898
xor eax, eax
mov dword [0x41ab3c], eax
mov word [0x4191f0], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x41aad8]
call fcn.00403894
mov ecx, eax
mov edx, 3
mov eax, dword [0x41aafc]
call fcn.00403af4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00405398
mov eax, dword [ebp - 0x18]
mov edx, dword [0x41aad8]
call fcn.004039e0
jne 0x40d1b6
lea eax, [ebp - 0x20]
mov ecx, dword [0x41aafc]
mov edx, 0x40d3e8
call fcn.004038e0
mov eax, dword [ebp - 0x20]
call fcn.004170e8
jmp 0x40d1db
mov eax, dword [0x41aafc]
call fcn.0040c554
lea eax, [ebp - 0x24]
mov ecx, dword [0x41aafc]
mov edx, 0x40d3fc
call fcn.004038e0
mov eax, dword [ebp - 0x24]
call fcn.004170e8
mov eax, 0x41ab14
mov edx, 0x40d40c
call fcn.00403770
xor eax, eax
mov dword [0x41ab38], eax
mov eax, dword [0x41ab38]
push eax
mov edx, 0x40d2d4
mov ecx, 0x40d460
mov eax, 0x80000002
call fcn.00406988
mov eax, 0x41ab14
mov edx, 0x40d470
call fcn.00403770
inc ebx
dec dword [ebp - 0x10]
jne 0x40d0b8
jmp 0x40d082
mov eax, esi
call fcn.004024f0
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
je 0x40d24f
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0040623c
mov eax, dword [ebp - 0x28]
call fcn.004170e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d271
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00403740
ret