joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000989e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
jmp 0x100098ec
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x1e
jge 0x1000994e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp dword [eax*4 + 0x100190a4], ecx
jne 0x1000994c
mov eax, dword [ebp - 0xc]
cmp dword [0x100190a0], eax
je 0x10009926
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x1001911c]
push eax
call fcn.1000d99c
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x100190a0], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.1000d53f
add esp, 8
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x1000994a
mov eax, dword [ebp - 8]
add dword [eax + 8], 0xa
jmp 0x1000994e
jmp 0x100098e9
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x1000997c
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.1000d4f3
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14
Function at 0x1000d5d3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 8], 0xffffffff
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], eax
push 0
push 0
push 0x1e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], 0
jmp 0x1000d612
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jge 0x1000d6e8
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
mov al, byte [ebp - 0x20]
cmp eax, 0x54
jne 0x1000d6e3
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x44
je 0x1000d662
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x64
je 0x1000d662
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x53
jne 0x1000d6e3
mov al, byte [ebp - 0x17]
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
push eax
call fcn.1000d99c
add esp, 4
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x64
jne 0x1000d6b5
mov dword [0x100192d2], 1
mov dword [ebp - 0x10], 0
jmp 0x1000d698
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 7
jge 0x1000d6b3
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax + ebp - 0x1e]
xor cl, byte [ebp - 0x17]
mov eax, dword [ebp - 0x10]
mov byte [eax + ebp - 0x1e], cl
jmp 0x1000d695
jmp 0x1000d6bf
mov dword [0x100192d2], 0
mov eax, dword [ebp - 0x1e]
xor eax, 0x19611225
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1a]
xor eax, 0x198931
and eax, 0xffffff
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx]
mov dword [ebp - 8], eax
jmp 0x1000d6e8
jmp 0x1000d60f
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 8]
jmp 0x1000d6ff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000d829
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 4], 0xffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 0xa
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], 0
jmp 0x1000d85b
inc dword [ebp - 8]
cmp dword [ebp - 8], 9
jge 0x1000d876
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + ebp - 0x18]
xor cl, byte [ebp - 0xf]
mov eax, dword [ebp - 8]
mov byte [eax + ebp - 0x18], cl
jmp 0x1000d858
cmp dword [ebp - 0x18], 0x646c6f47
jne 0x1000d8c0
cmp dword [ebp - 0x14], 0x6f736e65
jne 0x1000d8c0
xor eax, eax
mov al, byte [ebp - 0x10]
cmp eax, 0x66
jne 0x1000d8c0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
push eax
call fcn.1000d99c
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x1000d8b7
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 4], 0xa
jmp 0x1000d8d0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 4]
jmp 0x1000d8d5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000db9b
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
cmp dword [0x100195e2], 0
je 0x1000dc45
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x10019b40], eax
mov dword [0x10019b44], 0
mov dword [0x10019b48], 0
push 0x10019b40
push 0x1000e3f7
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x10019b48], 1
jne 0x1000dc18
push 0x43000
mov eax, 0x10019010
add eax, 0x5d6
push eax
mov eax, 0x10019010
add eax, 0x5ec
push eax
mov eax, dword [0x10019b44]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1000dc3b
push 0x43000
mov eax, 0x10019010
add eax, 0x5d6
push eax
mov eax, 0x10019010
add eax, 0x5ec
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1000dcad
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.1000d2f4
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.1000d37c
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.1000dedc
add esp, 8
cmp eax, 0xffffffff
je 0x1000dd12
mov dword [ebp - 0x14], 1
jmp 0x1000dd19
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 2
jne 0x1000dd49
cmp dword [ebp - 8], 0
je 0x1000dd49
cmp dword [ebp - 0x14], 0
je 0x1000dd49
push 0x10019690
mov eax, dword [ebp - 4]
push eax
call fcn.1000dd5a
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x1000df2a
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], eax
push 2
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x1000dfff
cmp dword [ebp - 8], 0
jne 0x1000dfff
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
push eax
call fcn.1000d99c
add esp, 4
mov dword [ebp - 0x41c], 0x646c6f47
mov dword [ebp - 0x418], 0x6f736e65
mov byte [ebp - 0x414], 0x66
mov dword [ebp - 0x1c], 0
jmp 0x1000dfb7
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 9
jge 0x1000dfd9
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax + ebp - 0x41c]
mov ecx, dword [ebp + 0xc]
xor al, byte [ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + ebp - 0x41c], al
jmp 0x1000dfb4
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ebp - 0x413], al
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xa
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1000e011
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10011980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 8]
push 0xfffffffffffffff0
add ecx, 0x646c6f47
pop esi
xor word [eax + 0xc], cx
xor word [eax + 0xe], cx
xor dword [eax + 0x110], ecx
xor byte [eax + 0x114], cl
mov dword [ebp + 8], ecx
lea ecx, [eax + 0x10]
sub esi, eax
mov edi, 0x100
lea eax, [ecx + esi]
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 8]
xor byte [ecx], al
inc ecx
dec edi
jne 0x100119b6
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100119ce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov eax, dword [eax + 8]
mov dword [ebp + 0x10], 0x100
add eax, 0x646c6f47
xor edi, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 7]
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp - 4]
xor al, byte [esi + edi]
inc edi
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x10]
jne 0x100119f8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10011a15
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10011a3d
xor eax, eax
leave
ret
mov eax, dword [ebp - 0x84]
xor ecx, ecx
sub eax, ecx
je 0x10011a71
dec eax
je 0x10011a51
dec eax
je 0x10011a63
jmp 0x10011a39
cmp dword [ebp - 0x8c], ecx
jne 0x10011a5d
push 4
jmp 0x10011a73
jbe 0x10011a63
push 5
jmp 0x10011a73
cmp dword [ebp - 0x90], 5
sbb eax, eax
add eax, 7
leave
ret
push 3
pop eax
leave
ret

Function at 0x10011a76
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x48
mov eax, dword [edi]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [esi + 3], al
mov eax, dword [edi + 8]
mov byte [esi + 2], cl
mov eax, dword [eax]
mov dword [esi + 4], eax
call fcn.10011b13
mov dword [esi + 8], eax
lea ecx, [eax + 0x646c6f47]
mov eax, dword [edi]
mov dword [ebp + 8], ecx
mov dx, word [eax + 2]
xor dx, cx
mov word [esi + 0xc], dx
mov edx, dword [eax + 0x12]
mov edx, dword [edx]
xor edx, ecx
mov dword [esi + 0x110], edx
mov dx, word [eax + 8]
xor dx, cx
mov word [esi + 0xe], dx
mov dl, byte [eax + 0x16]
xor dl, cl
mov byte [esi + 0x114], dl
mov dx, word [eax + 4]
test dx, dx
jbe 0x10011b0f
mov edi, dword [eax + 0xe]
push ebx
movzx eax, dx
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp + 0xc], eax
mov eax, ebx
push 4
cdq
pop esi
idiv esi
mov al, byte [edx + ebp + 8]
xor al, byte [edi + ebx]
inc ebx
mov byte [ecx], al
inc ecx
dec dword [ebp + 0xc]
jne 0x10011af6
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10011b66
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add dword [ebp + 0x10], 0x646c6f47
mov eax, dword [eax]
mov dx, word [eax + 6]
test dx, dx
jbe 0x10011bad
push ebx
push esi
mov esi, dword [eax + 0xa]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
lea ecx, [eax + 7]
movzx eax, dx
mov dword [ebp + 8], eax
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 0x10]
xor al, byte [ecx]
mov byte [esi + edi], al
inc edi
inc ecx
dec dword [ebp + 8]
jne 0x10011b92
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10011f65
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, ax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x10011f7b
pop es
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
jne 0x10011f8e
add al, 0x55
mov ecx, dword [ebp + 8]
pop esi
mov byte [ecx], al
xor al, al
leave
ret
Function at 0x405ff0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c9378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5317dc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004b7e2c
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004b7e7b
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004b7dd8
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x406076
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x406076
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x78], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b79fc
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x406510
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c9460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push 0x20006
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x406576
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.004b79fc
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 8], esp
push edx
call fcn.004b7771
mov ecx, esi
mov byte [esp + 0x14], 0
call fcn.00406610
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x20]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4065da
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.004b79fc
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.004b79fc
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x406ef0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c95bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov dword [esp + 0x18], 0
mov eax, dword [0x5317dc]
mov ebx, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 8], eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x406f70
push str.Error
lea ecx, [esp + 0xc]
call fcn.004b7b85
mov esi, dword [esp + 0x2c]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004b7771
mov dword [esp + 0x18], ebx
jmp 0x40701d
push 0x1f4
call fcn.004b3c5b
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push esi
push edx
push 0
push eax
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 0x1f4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x406fc1
push str.Error
lea ecx, [esp + 0xc]
call fcn.004b7b85
lea edx, [esp + 8]
push edx
jmp 0x40700e
mov eax, dword [0x5317dc]
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
call fcn.004b7b85
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 3
push ecx
lea ecx, [esp + 0xc]
call fcn.004b7b35
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 2
call fcn.004b79fc
push esi
call fcn.004b3c84
mov edx, dword [esp + 0x10]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 8]
push eax
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.004b7771
mov dword [esp + 0x18], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x24], bl
call fcn.004b79fc
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 0
call fcn.004b79fc
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x407050
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4c95fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
mov eax, dword [0x5317dc]
push ebx
push esi
mov dword [esp + 0xa4], 0
mov dword [esp + 8], eax
mov ebx, 1
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xc], eax
push str.Error
lea ecx, [esp + 0xc]
mov byte [esp + 0xb4], 2
call fcn.004b7b85
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4070da
mov esi, dword [esp + 0xb8]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004b7771
mov dword [esp + 0xa4], ebx
jmp 0x407141
mov eax, dword [esp + 0x20]
cmp eax, 2
jne 0x40710e
push 0x5054d0
lea ecx, [esp + 0xc]
call fcn.004b7b85
cmp dword [esp + 0x14], 5
jb 0x407127
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x407107
push 0x5054d0
jmp 0x40711e
push 0x5054cc
jmp 0x40711e
cmp eax, ebx
jne 0x407119
push 0x5054c8
jmp 0x40711e
push 0x5054c4
lea ecx, [esp + 0xc]
call fcn.004b7b85
mov esi, dword [esp + 0xb8]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004b7771
mov dword [esp + 0xa4], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0xb0], bl
call fcn.004b79fc
lea ecx, [esp + 8]
mov byte [esp + 0xb0], 0
call fcn.004b79fc
mov ecx, dword [esp + 0xa8]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 4
Function at 0x4075f0
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4c96bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push 0xa
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0xc
push 0
push 0x5054e8
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [0x5317dc]
mov dword [esp + 8], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push 0xa
push ecx
push edx
mov byte [esp + 0x38], 2
call fcn.004a38ed
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
push eax
call fcn.004b7b85
lea ecx, [esp + 0x10]
push 8
push ecx
lea ecx, [esp + 0xc]
call fcn.004b0f39
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 3
call fcn.004b7b35
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004b79fc
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004b7771
mov dword [esp + 0x20], 1
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 1
call fcn.004b79fc
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.004b79fc
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x407800
Capabilities:
Delete registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c9708
push eax
mov dword fs:[0], esp
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push 0x20006
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x407861
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0xffffffff
call fcn.004b79fc
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x407899
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0xffffffff
call fcn.004b79fc
xor eax, eax
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov dword [esp + 8], 0xffffffff
call fcn.004b79fc
mov ecx, dword [esp]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 8

Function at 0x407910
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c9728
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
push 1
push 0
push eax
push str.iexplore
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.004b79fc
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 4
Function at 0x407ab0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4c97b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
push ebx
push esi
xor esi, esi
push 0x533b8c
lea ecx, [esp + 0xc]
mov dword [esp + 0x2d8], esi
mov dword [esp + 0x14], esi
call fcn.004b7a6a
push esi
push 2
mov byte [esp + 0x2dc], 1
mov dword [esp + 0x14], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
cmp eax, esi
je 0x407bd8
push ebp
push edi
lea edi, [esp + 0x144]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
push 0x505480
push edx
call fcn.004b1390
mov eax, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [edi], eax
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
mov edx, dword [esp + 0x2e4]
mov ebp, eax
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0049fe02
add esp, 8
test eax, eax
jne 0x407b71
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], esi
inc esi
add edi, 4
test ebp, ebp
jne 0x407b22
mov eax, dword [esp + 0x18]
pop edi
test eax, eax
pop ebp
je 0x407bd8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + ecx*4 + 0x13c]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x407bd8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 8]
mov byte [esp + 0x2d4], 0
call fcn.004b79fc
lea ecx, [esp + 0x2dc]
mov dword [esp + 0x2d4], 0xffffffff
call fcn.004b79fc
mov eax, 1
jmp 0x407c02
lea ecx, [esp + 8]
mov byte [esp + 0x2d4], 0
call fcn.004b79fc
lea ecx, [esp + 0x2dc]
mov dword [esp + 0x2d4], 0xffffffff
call fcn.004b79fc
xor eax, eax
mov ecx, dword [esp + 0x2cc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d0
ret 4

Function at 0x4081f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c98e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x1c], 1
mov ecx, ebx
mov dword [esp + 0x10], ebx
call fcn.004b2fbe
mov byte [esp + 0x1c], 2
mov dword [ebx], method.CPtrArray.virtual_0
lea ebx, [esi + 0x1c]
mov byte [esp + 0x1c], 3
mov ecx, ebx
mov dword [esp + 0x10], ebx
call fcn.004b2fbe
mov byte [esp + 0x1c], 4
mov dword [ebx], method.CPtrArray.virtual_0
or ebx, 0xffffffff
push 0x533fb0
mov byte [esp + 0x20], 5
push edi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
mov dword [esp + 0x18], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret