joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e590
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov ebx, edx
mov esi, eax
mov dword [0x496c84], esi
mov eax, dword [0x496c84]
xor edx, edx
mov dword [eax + 8], edx
push 0x496c90
call sub.KERNEL32.DLL_GetFileType
mov eax, dword [0x496c84]
mov edx, dword [0x496c90]
mov dword [eax + 0x10], edx
mov edx, dword [0x496c94]
mov dword [eax + 0x14], edx
call sub.KERNEL32.DLL_TlsSetValue
mov dword [0x496c98], eax
mov eax, dword [0x496c84]
call fcn.0044d770
mov dword [0x496c8c], eax
mov dword [0x496c9c], edi
mov eax, esi
mov edx, dword [0x44aeb0]
call fcn.004047dc
test al, al
je 0x44e68d
mov edx, esi
lea eax, [edx + 0x4c]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
sub edi, ecx
test edi, edi
jle 0x44e631
mov edi, dword [edx + 0x10]
sub edi, ecx
mov dword [esp], edi
fild dword [esp]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov dword [esp + 4], ecx
fild dword [esp + 4]
fdivp st(1)
fstp qword [edx + 0x28]
wait
jmp 0x44e639
xor ecx, ecx
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
sub ecx, edx
test ecx, ecx
jle 0x44e668
mov ecx, esi
mov edi, dword [ecx + 0x14]
sub edi, edx
mov dword [esp], edi
fild dword [esp]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
mov dword [esp + 4], edx
fild dword [esp + 4]
fdivp st(1)
fstp qword [ecx + 0x30]
wait
jmp 0x44e670
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
test bl, bl
je 0x44e684
mov byte [0x496ca0], 2
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
jmp 0x44e6a1
mov byte [0x496ca0], 0
jmp 0x44e6a1
test bl, bl
je 0x44e69a
mov byte [0x496ca0], 1
jmp 0x44e6a1
mov byte [0x496ca0], 0
mov eax, dword [0x496c84]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [0x496ca4], eax
cmp dword [0x496ca4], 0
je 0x44e6d6
mov eax, dword [0x496c94]
push eax
call sub.KERNEL32.DLL_UnhandledExceptionFilter
mov edx, eax
mov ecx, dword [0x496c90]
mov eax, dword [0x496ca4]
call fcn.0045a01c
mov dl, 1
mov eax, dword [0x44d548]
call fcn.00404620
mov dword [0x496cac], eax
cmp byte [0x496ca0], 0
je 0x44e6fa
mov eax, 0x496c90
call fcn.0044e2a8
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x450afc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0x1cc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, edi
call fcn.00419864
mov esi, eax
test esi, esi
jle 0x450b79
dec esi
mov edx, esi
mov eax, edi
call fcn.00419808
mov ebx, eax
cmp byte [ebx + 0x57], 0
je 0x450b75
test byte [ebx + 0x50], 0x40
je 0x450b75
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00450050
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffec
push eax
lea eax, [ebp - 0x11]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
mov eax, dword [ebp + 8]
add eax, 0xffffffec
push eax
lea eax, [ebp - 0x11]
push eax
call fcn.00408084
test eax, eax
jne 0x450b7d
test esi, esi
jg 0x450b2b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4547d0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff40
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xc0], edx
mov esi, eax
xor eax, eax
push ebp
push 0x454991
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x8c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x9c]
cmp dword [ebp - 0x70], 0
jne 0x45487c
test byte [ebp - 0x85], 0x40
je 0x45487c
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x45483c
test byte [ebx + 0x1c], 2
je 0x45483c
mov eax, ebx
mov edx, dword [0x44c6fc]
call fcn.004047dc
test al, al
je 0x45483c
mov eax, ebx
call fcn.00458494
mov dword [ebp - 0x70], eax
jmp 0x45487c
mov eax, dword [esi + 8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 0xb8], 0xb
lea eax, [ebp - 0xbc]
push eax
push 0
lea edx, [ebp - 0xc0]
mov eax, dword [0x4916b8]
call fcn.00407524
mov ecx, dword [ebp - 0xc0]
mov dl, 1
mov eax, dword [0x417320]
call fcn.0040daa8
call fcn.00404ec4
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x1a8], eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.004080c4
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4548b0
mov edx, 0x44d04c
cmp edx, dword [ebp - 0xb0]
je 0x4548e1
test al, al
je 0x4548c1
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [ebp - 0x64], 0x44d04c
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x68]
push eax
call sub.KERNEL32.DLL_GlobalAddAtomA
test ax, ax
jne 0x4548e1
call fcn.0040f1dc
mov dword [0x48f650], esi
lea edx, [ebp - 0x8c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xa0]
cmp dword [esi + 0x1b4], 0
jne 0x454905
call fcn.0040f1dc
push 0xfffffffffffffff0
mov eax, dword [esi + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
test eax, 0x40000000
je 0x45493b
push 0xfffffffffffffff4
mov eax, dword [esi + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
test eax, eax
jne 0x45493b
mov eax, dword [esi + 0x1b4]
push eax
push 0xfffffffffffffff4
push eax
call sub.KERNEL32.DLL_SetEndOfFile
mov eax, dword [esi + 0x64]
call fcn.0040aa78
xor eax, eax
mov dword [esi + 0x64], eax
mov eax, esi
call fcn.004587ac
push 1
mov eax, dword [esi + 0x68]
call fcn.004245e8
mov ecx, eax
mov edx, 0x30
mov eax, esi
call fcn.004519e8
cmp byte [esi + 0x5c], 0
je 0x454978
mov eax, esi
mov si, 0xffee
call fcn.0040484c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454998
lea eax, [ebp - 0xc0]
call fcn.00405530
ret
Function at 0x455200
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx + 4]
sub edx, dword [ebx + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
sub eax, dword [ebx + 0x40]
call fcn.00418390
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax - 0xc], edx
mov edx, dword [ebp - 8]
mov dword [eax - 8], edx
mov eax, dword [ebp + 8]
push dword [eax - 8]
push dword [eax - 0xc]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x4552ba
test byte [ebx + 0x1c], 0x10
je 0x45526d
cmp byte [ebx + 0x57], 0
jne 0x455269
test byte [ebx + 0x51], 4
jne 0x45526d
mov al, 1
jmp 0x4552bc
cmp byte [ebx + 0x57], 0
je 0x4552b6
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x455287
mov eax, dword [ebp + 8]
cmp byte [eax - 0xd], 0
je 0x4552b6
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0xc]
mov word [ebp - 4], ax
mov eax, dword [ebp + 8]
movzx eax, word [eax - 8]
mov word [ebp - 2], ax
mov eax, dword [ebp - 4]
push eax
xor ecx, ecx
mov edx, 0xb00a
mov eax, ebx
call fcn.004519e8
test eax, eax
setne al
jmp 0x4552bc
xor eax, eax
jmp 0x4552bc
xor eax, eax
test al, al
je 0x4552c6
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455390
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.KERNEL32.DLL_CreateProcessA
call fcn.00407710
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00450270
test ebx, ebx
jne 0x4553e3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004552cc
mov ebx, eax
test ebx, ebx
je 0x4554ce
cmp esi, ebx
je 0x45540c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x455421
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x455459
add eax, 0xffffff5f
sub eax, 2
jb 0x455471
dec eax
sub eax, 2
jb 0x455485
dec eax
sub eax, 2
jb 0x45547b
jmp 0x45548f
add eax, 0xfffffdff
sub eax, 2
jb 0x455471
dec eax
sub eax, 2
jb 0x455485
dec eax
sub eax, 2
jb 0x45547b
jmp 0x45548f
mov byte [esp + 0x120], 0
jmp 0x455497
mov byte [esp + 0x120], 2
jmp 0x455497
mov byte [esp + 0x120], 1
jmp 0x455497
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.KERNEL32.DLL_Beep
lea eax, [esp + 0x14]
call fcn.0043bb2c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004519e8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4554d0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x458040
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
mov ebx, dword [edi + 0x1b4]
test ebx, ebx
je 0x458064
push ebx
call sub.KERNEL32.DLL_GetFileAttributesA
test eax, eax
jne 0x458068
xor eax, eax
jmp 0x45806a
mov al, 1
mov byte [esp + 8], al
cmp byte [esp + 8], 0
je 0x45808f
push 0
push 0
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [edi + 0x1b4]
push eax
call sub.KERNEL32.DLL_HeapAlloc
mov eax, edi
call fcn.00454584
mov esi, eax
dec esi
test esi, esi
jl 0x458109
inc esi
xor ebp, ebp
mov edx, ebp
mov eax, edi
call fcn.00454548
mov ebx, eax
mov eax, ebx
mov edx, dword [0x44c6fc]
call fcn.004047dc
test al, al
je 0x4580c5
cmp dword [ebx + 0x1b4], 0
jne 0x4580d4
mov eax, dword [esp]
add dword [ebx + 0x40], eax
mov eax, dword [esp + 4]
add dword [ebx + 0x44], eax
jmp 0x458105
cmp byte [esp + 8], 0
jne 0x458105
push 0x14
mov eax, ebx
mov edx, dword [eax + 0x4c]
push edx
mov edx, dword [eax + 0x48]
push edx
mov edx, dword [eax + 0x44]
add edx, dword [esp + 0x10]
push edx
mov edx, dword [eax + 0x40]
add edx, dword [esp + 0x10]
push edx
push 0
mov eax, dword [eax + 0x1b4]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
inc ebp
dec esi
jne 0x4580a0
mov eax, edi
call fcn.004540c8
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x458130
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x458202
mov edx, dword [eax + 0x1cc]
test edx, edx
je 0x458150
sub esi, dword [edx + 8]
mov eax, dword [eax + 0x1d0]
mov edx, ebx
call fcn.00419864
mov edi, eax
test edi, edi
jl 0x45819b
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x1d0]
mov eax, dword [edx + 8]
test esi, esi
jge 0x458175
xor esi, esi
cmp eax, esi
jg 0x45817c
mov esi, eax
dec esi
cmp edi, esi
je 0x45819b
mov eax, edx
mov edx, edi
call fcn.004196fc
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x1d0]
mov ecx, ebx
mov edx, esi
call fcn.00419884
cmp dword [ebx + 0x1b4], 0
je 0x458202
test esi, esi
jne 0x4581af
mov eax, 1
jmp 0x4581eb
mov eax, dword [ebx + 0x30]
mov ebp, dword [eax + 0x1d0]
mov eax, dword [ebp + 8]
dec eax
cmp esi, eax
jne 0x4581c4
xor eax, eax
jmp 0x4581eb
cmp edi, esi
jge 0x4581d9
lea edx, [esi + 1]
mov eax, ebp
call fcn.00419808
call fcn.00458494
jmp 0x4581eb
cmp edi, esi
jle 0x458202
mov eax, ebp
mov edx, esi
call fcn.00419808
call fcn.00458494
push 3
push 0
push 0
push 0
push 0
push eax
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4587ac
Capabilities:
Get disk size

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov ebx, eax
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
test eax, eax
je 0x4587e9
mov dword [esp + 0x10], 0x2c
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindResourceA
lea esi, [esp + 0x2c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x4587f6
push esp
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_FormatMessageA
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
test eax, 0x40000000
je 0x458831
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x1b4]
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov esi, eax
test esi, esi
je 0x458831
push esp
push esi
call sub.KERNEL32.DLL_GlobalUnlock
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [esp]
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 8]
sub eax, dword [esp]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 4]
mov dword [ebx + 0x4c], eax
mov eax, ebx
call fcn.0044fc3c
add esp, 0x3c
pop edi
pop esi
pop ebx
ret
Function at 0x45b28c
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov edi, edx
mov ebp, eax
mov eax, dword [ebp + 0x14]
call fcn.00454584
mov esi, eax
dec esi
cmp esi, 0
jl 0x45b30c
mov eax, dword [ebp + 0x14]
mov edx, esi
call fcn.00454548
mov ebx, eax
cmp byte [ebx + 0x57], 0
je 0x45b306
mov eax, ebx
mov edx, dword [0x44c6fc]
call fcn.004047dc
test al, al
je 0x45b2d3
cmp byte [ebx + 0x1da], 0
je 0x45b306
mov edx, dword [edi + 4]
sub edx, dword [ebx + 0x44]
mov eax, dword [edi]
sub eax, dword [ebx + 0x40]
mov ecx, esp
call fcn.00418390
push dword [esp + 4]
push dword [esp + 4]
lea edx, [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [esp + 0x10]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
jne 0x45b30e
dec esi
cmp esi, 0xffffffff
jne 0x45b2a7
xor ebx, ebx
mov eax, ebx
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x460554
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.00405530
test ebx, ebx
je 0x4605f2
movzx eax, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x460591
mov eax, ebx
call fcn.004059c0
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x4605fe
mov eax, esi
mov edx, ebx
call fcn.00405584
jmp 0x4605fe
mov eax, ebx
call fcn.004059c0
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4605fe
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
movzx eax, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
movzx eax, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
movzx eax, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
movzx eax, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x460610
call fcn.0040af08
jmp 0x4605fe
mov eax, esi
mov edx, 0x460624
call fcn.00405584
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x460668
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00405530
push 0x100
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
jne 0x4606a5
mov eax, esi
mov edx, esp
mov ecx, 0x100
call fcn.004057a0
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x465d18
Capabilities:
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059b0
mov eax, dword [ebp - 8]
call fcn.004059b0
xor eax, eax
push ebp
push 0x465dd3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.004059c0
push eax
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x465db8
xor eax, eax
push ebp
push 0x465db1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.004059c0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
call sub.advapi32.dll_RegEnumKeyExA
push ebx
call sub.advapi32.dll_RegDeleteValueA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465db8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465dda
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x465de0
Capabilities:
Delete registry value
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059b0
mov eax, dword [ebp - 8]
call fcn.004059b0
xor eax, eax
push ebp
push 0x465ea0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.004059c0
push eax
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x465e85
xor eax, eax
push ebp
push 0x465e7e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.004059c0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.advapi32.dll_RegSetValueExA
push ebx
call sub.advapi32.dll_RegDeleteValueA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465e85
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465ea7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x466498
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059b0
mov eax, dword [ebp - 8]
call fcn.004059b0
mov eax, dword [ebp - 0xc]
call fcn.004059b0
xor eax, eax
push ebp
push 0x466606
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0x10
push 0
call sub.shell32.dll_ShellExecuteExA
test eax, eax
jne 0x4665c2
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.shell32.dll_ShellExecuteA
lea edx, [ebp - 0x124]
mov eax, dword [0x49152c]
call fcn.0042bcf0
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x14]
mov ecx, 0x466614
call fcn.00407024
mov eax, dword [ebp - 0xc]
call fcn.004059c0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
mov eax, dword [ebp - 4]
call fcn.004059c0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push 5
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.004057a0
push dword [ebp - 0x128]
push 0x46662c
push dword [ebp - 8]
push 0x466638
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004058c4
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
call fcn.00406440
push eax
lea eax, [ebp - 0x12c]
mov edx, dword [ebp - 0x14]
mov ecx, 0x466640
call fcn.00407024
mov eax, dword [ebp - 0x12c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46660d
lea eax, [ebp - 0x12c]
call fcn.00406fe0
lea eax, [ebp - 0x128]
call fcn.00405530
lea eax, [ebp - 0x124]
call fcn.00406fe0
lea eax, [ebp - 0x14]
call fcn.00406fe0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret
Function at 0x466658
Capabilities:
Get system information on windows

Disassembly:
push ebx
add esp, 0xfffffe68
xor ebx, ebx
push 0
push 0x2c
lea eax, [esp + 0x160]
push eax
push 0
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46679f
push 0
push 0x20
lea eax, [esp + 0x140]
push eax
push 3
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46679f
push 0
push 0x138
lea eax, [esp + 8]
push eax
push 2
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46679f
cmp dword [0x48faec], 0
jne 0x4666c2
cmp dword [0x48fae8], 0
je 0x466772
mov eax, dword [esp]
mov edx, dword [esp + 4]
sub eax, dword [0x48fae8]
sbb edx, dword [0x48faec]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], edx
fild qword [esp + 0x184]
mov eax, dword [esp + 0x140]
mov edx, dword [esp + 0x144]
sub eax, dword [0x48faf0]
sbb edx, dword [0x48faf4]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], edx
fild qword [esp + 0x18c]
fdivp st(1)
fmul dword [0x4667ac]
movzx eax, byte [esp + 0x180]
mov dword [esp + 0x194], eax
fild dword [esp + 0x194]
fdivp st(1)
fsubr dword [0x4667ac]
fadd dword [0x4667b0]
call fcn.0040345c
mov dword [0x48faf8], eax
mov eax, dword [0x48faf8]
xor edx, edx
cmp edx, dword [0x48faec]
jne 0x46676a
cmp eax, dword [0x48fae8]
je 0x466772
mov ebx, dword [0x48faf8]
mov eax, dword [esp]
mov dword [0x48fae8], eax
mov eax, dword [esp + 4]
mov dword [0x48faec], eax
mov eax, dword [esp + 0x140]
mov dword [0x48faf0], eax
mov eax, dword [esp + 0x144]
mov dword [0x48faf4], eax
mov eax, ebx
add esp, 0x198
pop ebx
ret

Function at 0x4671ec
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, 0x48fafc
xor edx, edx
mov dword [esi], edx
push 5
push eax
call sub.KERNEL32.DLL_CreateThread
mov ebx, eax
test ebx, ebx
je 0x467215
push 2
push ebx
call sub.KERNEL32.DLL_CreateThread
mov ebx, eax
inc dword [esi]
test ebx, ebx
jne 0x467205
mov eax, dword [esi]
xor edx, edx
mov dword [esi], edx
pop esi
pop ebx
ret
Function at 0x46918c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x469256
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x469264
call fcn.0040809c
push 5
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
je 0x469235
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004080d4
test eax, eax
jle 0x469227
lea edx, [ebp - 4]
lea eax, [ebp - 0x84]
call fcn.0040aa18
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.0040974c
mov eax, dword [ebp - 0x88]
mov edx, 0x46927c
call fcn.00405958
jne 0x469227
cmp bl, 1
jne 0x46921f
push 1
push esi
call sub.KERNEL32.DLL_SetThreadLocale
jmp 0x469227
push 0
push esi
call sub.KERNEL32.DLL_SetThreadLocale
push 2
push esi
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
jne 0x4691cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46925d
lea eax, [ebp - 0x88]
call fcn.00405530
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x46f390
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x46f3a5
or edx, 0x200
test eax, 0x20000000
je 0x46f3d8
test eax, 0x40000000
je 0x46f3c4
test eax, 0x80000000
je 0x46f3bf
or edx, 0x40
jmp 0x46f3ff
or edx, 0x20
jmp 0x46f3ff
test eax, 0x80000000
je 0x46f3d3
or edx, 0x80
jmp 0x46f3ff
or edx, 0x10
jmp 0x46f3ff
test eax, 0x40000000
je 0x46f3f0
test eax, 0x80000000
je 0x46f3eb
or edx, 4
jmp 0x46f3ff
or edx, 2
jmp 0x46f3ff
test eax, 0x80000000
je 0x46f3fc
or edx, 8
jmp 0x46f3ff
or edx, 1
mov eax, edx
pop ebp
ret 4