joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6608b0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x70e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x10]
call fcn.00408af0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00408af0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x68], 0x44
push 0x40
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.005f46f0
add esp, 0xc
push 0x2710
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00406800
test eax, eax
jne 0x4069d2
mov edx, dword [ebp - 0x14]
mov dword [edx], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00408370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408370
jmp 0x406a4b
lea ecx, [ebp - 0x10]
call fcn.00408350
test eax, eax
jg 0x406a04
mov eax, dword [ebp - 0x14]
mov dword [eax], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00408370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408370
jmp 0x406a4b
lea ecx, [ebp - 0x24]
call fcn.00404660
lea ecx, [ebp - 0x10]
call fcn.00406b70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x406a28
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0xa
lea ecx, [ebp - 0x24]
call fcn.004046c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00408370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x407020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x406e30
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x407056
xor eax, eax
jmp 0x4070c0
mov edx, dword [0x72c644]
mov dword [ebp - 0x14], edx
push 0xbb8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x102
jne 0x407094
mov ecx, dword [0x72c644]
cmp ecx, dword [ebp - 0x14]
jne 0x407094
mov ecx, dword [ebp - 4]
call fcn.00406b70
cmp eax, 3
jne 0x407094
jmp 0x40709d
cmp dword [ebp - 0xc], 0x102
je 0x407056
mov ecx, dword [ebp - 4]
call fcn.00406930
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x4070b6
mov dword [ebp - 0x10], 1
jmp 0x4070bd
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x408f80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x408f89
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408fcc
mov eax, dword [ebp - 8]
jmp 0x409032
cmp dword [ebp - 0xc], 1
je 0x408fdf
cmp dword [ebp - 0xc], 2
je 0x408fdf
mov eax, 0xd
jmp 0x409032
cmp dword [ebp + 0xc], 0
je 0x409026
cmp dword [ebp - 4], 0
je 0x409015
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40900c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x409013
mov eax, 0xd
jmp 0x409032
jmp 0x409026
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a3f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
push eax
call fcn.004b3ab6
add esp, 4
push 0x6d36ec
push 0x68
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a42a
xor eax, eax
jmp 0x40a4e8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40a45e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov dword [ebp - 0xc], 0
jmp 0x40a4e3
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40a47e
mov dword [ebp - 0xc], 0
jmp 0x40a4e3
mov ecx, dword [ebp - 4]
push ecx
call fcn.0060a1f7
add esp, 4
mov dword [0x72c648], eax
cmp dword [0x72c648], 0
je 0x40a4ca
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push eax
mov ecx, dword [0x72c648]
push ecx
call fcn.005f40c0
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x72c648]
push eax
call fcn.004b3d81
add esp, 8
jmp 0x40a4d1
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor edx, edx
jne 0x40a409
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40a4f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x240], 8
lea eax, [ebp - 0x244]
push eax
push 8
lea ecx, [ebp - 0x240]
push ecx
push 0x67
call dword [0x72c4e8]
test eax, eax
jl 0x40a556
mov edx, dword [ebp - 0x23c]
and edx, 0x400
je 0x40a54b
mov dword [ebp - 0x234], 1
mov eax, dword [ebp - 0x234]
jmp 0x40a609
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
jne 0x40a57a
mov eax, dword [ebp - 0x234]
jmp 0x40a609
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
jne 0x40a5b1
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x234]
jmp 0x40a609
push str.Secure_System
lea eax, [ebp - 0x20c]
push eax
call fcn.0060b654
add esp, 8
test eax, eax
jne 0x40a5de
cmp dword [ebp - 0x218], 4
jne 0x40a5de
mov dword [ebp - 0x234], 1
jmp 0x40a5f6
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x40a5b1
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
Function at 0x40aa80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x40aa9c
mov eax, dword [ebp - 4]
sub eax, 0x380
mov dword [ebp - 0x18], eax
jmp 0x40aaa3
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
push 4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ac07
cmp dword [ebp - 0x14], 0
je 0x40ab4a
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x40ab4a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x24], 0
jne 0x40ab48
mov dword [ebp - 0x14], 0
jmp 0x40aaf9
push 0
push 0
push 0
mov edx, dword [ebp - 4]
add edx, 0x1c
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x40ab6d
jmp 0x40aae4
cmp dword [ebp - 0x1c], 0
jne 0x40ab78
jmp 0x40ac07
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0x10
jne 0x40aba5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [edx + 4]
jne 0x40aba5
push 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx]
call eax
test eax, eax
jne 0x40abd6
mov ecx, dword [ebp - 4]
add ecx, 0x1c
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
mov edx, dword [ebp - 4]
add edx, 0x1c
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0x12
jne 0x40abe1
jmp 0x40ac07
mov ecx, dword [ebp - 4]
add ecx, 0x1c
push ecx
call fcn.0040d240
add esp, 4
test eax, eax
je 0x40ac02
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
jmp 0x40aae4
push 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x20], 0x12
jne 0x40ac33
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x40f6c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x40f6c9
cmp dword [ebp + 0xc], 0
je 0x40f6dc
mov dword [ebp - 4], 1
jmp 0x40f6e3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x40f6f6
mov eax, 0xd
jmp 0x40f725
xor edx, edx
jne 0x40f6cd
mov eax, dword [ebp + 0xc]
push eax
call fcn.0060a1dc
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40f7a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x40f7a9
cmp dword [ebp + 0xc], 0
je 0x40f7bc
mov dword [ebp - 0x10], 1
jmp 0x40f7c3
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x40f7d6
mov eax, 0xd
jmp 0x40f833
xor edx, edx
jne 0x40f7ad
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0060a1dc
add esp, 4
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 1
jne 0x40f7e7
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x410140
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.004091f0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004090e0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x4101bf
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.004091d0
mov eax, dword [ebp - 0x220]
jmp 0x410274
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x410243
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00410140
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x410237
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.004091d0
mov eax, dword [ebp - 0x224]
jmp 0x410274
mov dword [ebp - 0x210], 0x100
jmp 0x4101c9
lea ecx, [ebp - 0x21c]
call fcn.00409180
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.004103b0
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.004091d0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret 4

Function at 0x410320
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x41037f
push 0x6e8608
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41034c
mov eax, 1
jmp 0x41039d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41037d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x41039d
jmp 0x410398
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x410398
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x41039d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x411ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x412014
xor eax, eax
jmp 0x412094
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41202b
xor eax, eax
jmp 0x412094
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x412077
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x412077
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x41204e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x412083
xor eax, eax
jmp 0x412094
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x412091
xor eax, eax
jmp 0x412094
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4140a0
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6610db
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x6d3a54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x483
jne 0x414185
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.005f46f0
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
call fcn.00408af0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
push ecx
push str.__sInternet_Exploreriexplore.exe_
lea edx, [ebp - 0x21c]
push edx
call fcn.004131c0
add esp, 0xc
push 1
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406b70
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00408370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret

Function at 0x4141a0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x414222
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
mov dword [ebp + edx - 8], 2
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
Function at 0x41b700
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6ea03c]
push esi
push edi
mov dword [ebp - 0xc], eax
mov eax, dword [0x6ea040]
push str.SystemDrive
mov dword [ebp - 8], eax
call fcn.0061a79f
add esp, 4
lea esi, [ebp - 0x118]
test eax, eax
je 0x41b744
movsx ax, byte [eax]
mov word [ebp - 0xc], ax
movsd xmm1, qword [0x6fd840]
lea ecx, [ebp - 0xc]
xorps xmm0, xmm0
movsd qword [0x72c7b0], xmm0
call fcn.0041b560
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsA]
test eax, eax
jne 0x41b78a
mov eax, 0xffffffea
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x118], 0
je 0x41b7e7
mov edi, dword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
nop dword [eax]
mov al, byte [esi]
cmp al, byte [ebp - 0xc]
je 0x41b7d2
push esi
call edi
cmp eax, 3
jne 0x41b7d2
movsx ax, byte [esi]
lea ecx, [ebp - 0xc]
movsd xmm1, qword [0x6fd840]
xorps xmm0, xmm0
movsd qword [0x72c7b0], xmm0
mov word [ebp - 0xc], ax
call fcn.0041b560
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b7d7
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], al
jne 0x41b7a0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004aa758
mov esp, ebp
pop ebp
ret
Function at 0x41bc60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, 1
mov dword [esp + 0xc], ebx
mov eax, esi
push edi
test esi, esi
je 0x41bc9d
lea edx, [ebp + 0x14]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41bc84
sub eax, edi
add edx, 4
inc eax
add ebx, eax
mov eax, dword [edx]
test eax, eax
jne 0x41bc81
mov dword [esp + 0x10], ebx
push ebx
call fcn.0060a1f7
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
jne 0x41bcba
lea eax, [edi - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0
push edi
call fcn.005f46f0
add esp, 0xc
test esi, esi
je 0x41bcff
lea ebx, [ebp + 0x14]
nop dword [eax]
mov edx, edi
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x41bcd6
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x41bce6
sub esi, ecx
add ebx, 4
inc esi
add edi, esi
mov esi, dword [ebx]
test esi, esi
jne 0x41bcd0
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push ebx
push edi
push 7
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
push edi
sbb esi, esi
and esi, 0xfffffff2
call fcn.005fa0fb
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c0b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
xorps xmm0, xmm0
lea edx, [ebp - 8]
push 0
mov ecx, str.HKLMSYSTEMCurrentControlSet_services_
movlpd qword [ebp - 8], xmm0
call fcn.00416da0
add esp, 4
test eax, eax
jns 0x41c0e1
mov eax, 0xfffffff2
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x72c7c0], 0
je 0x41c0d6
mov edi, dword [ebp - 8]
push 0x72c7c0
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, eax
mov ecx, edi
test esi, esi
mov eax, 0xfffffff2
cmovne esi, eax
or ecx, dword [ebp - 4]
je 0x41c113
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c150
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x41c18a
mov eax, 0xfffffff2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push 0x6ea1e8
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
lea eax, [ebp - 0x14]
push eax
push str.SeLoadDriverPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 2
push eax
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x18], 2
mov dword [ebp - 0xc], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
and eax, 0xe
add eax, 0xfffffff2
call fcn.004aa758
mov esp, ebp
pop ebp
ret
Function at 0x41c1f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x72c7bc]
mov edx, ecx
mov dword [ebp - 0x30c], 0
push esi
cmp eax, 0x40
jne 0x41c22b
xor ecx, ecx
cmp edx, 1
sete cl
lea ecx, [ecx*2 + 0x44d]
jmp 0x41c243
cmp eax, 0x20
jne 0x41c35f
xor ecx, ecx
cmp edx, 1
sete cl
lea ecx, [ecx*2 + 0x44c]
call fcn.0041b920
test eax, eax
js 0x41c35f
push 0x72c7c0
lea eax, [ebp - 0x108]
push str.HKLMSYSTEMCurrentControlSet_services_s
push eax
call fcn.00417690
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.0041bd30
test eax, eax
jns 0x41c2ba
lea eax, [ebp - 0x30c]
push eax
call fcn.00404160
add esp, 4
mov esi, eax
push 0x72c688
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test esi, esi
je 0x41c2a6
push dword [ebp - 0x30c]
call fcn.004041c0
add esp, 4
mov eax, 0xfffffff3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
push 0x72c9f0
lea eax, [ebp - 0x308]
push str.REGISTRYMachineSystemCurrentControlSetServices_ws
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x314]
push eax
call dword [0x72c4e0]
lea eax, [ebp - 0x314]
push eax
call dword [0x7493f0]
mov esi, eax
call fcn.0041c0b0
xor ecx, ecx
mov eax, 0xfffffff2
test esi, esi
cmovns eax, ecx
test eax, eax
jns 0x41c34e
lea eax, [ebp - 0x30c]
push eax
call fcn.00404160
add esp, 4
mov esi, eax
push 0x72c688
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test esi, esi
je 0x41c33a
push dword [ebp - 0x30c]
call fcn.004041c0
add esp, 4
mov eax, 0xfffffff8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffb
xor ecx, ebp
pop esi
call fcn.004aa758
mov esp, ebp
pop ebp
ret