joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43dd90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, eax
shr ecx, 0x10
push edi
mov dword [esp + 0xc], esi
test ecx, ecx
je 0x43ddd7
cmp word [eax], 0x3c
je 0x43ddd7
call fcn.0040be50
add eax, 0x1c
push 1
push eax
mov eax, dword [ebp + 8]
call fcn.00402b10
test eax, eax
je 0x43ddcb
mov eax, dword [eax]
test eax, eax
je 0x43ddd4
mov dword [ebp + 8], eax
jmp 0x43ddd7
mov eax, dword [ebp + 8]
mov edx, eax
shr edx, 0x10
test edx, edx
je 0x43de1b
cmp word [eax], 0x3c
push eax
jne 0x43de01
mov eax, esi
call fcn.0043fa30
test al, al
jne 0x43dea7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, esi
call fcn.0043fb80
test al, al
jne 0x43dea7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [esi + 0x148]
test edi, edi
jne 0x43de35
mov edi, dword [0x51137c]
test edi, edi
jne 0x43de35
mov edi, dword [0x511384]
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x43ddf6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push esi
test ebx, ebx
jne 0x43de67
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
push edi
mov dword [eax + 0x140], edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, dword [esp + 0x10]
push eax
mov eax, esi
call fcn.0043fad0
test al, al
je 0x43ddf6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x144], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
push eax
push esi
call fcn.0043ded0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x44cc10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x98
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x10], eax
mov dword [eax + 0x598], 0
cmp dword [esi + 4], 0
push edi
jne 0x44cc9e
lea edi, [esp + 0xc]
mov eax, esi
call fcn.0044cd70
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0xb4]
push 0
sub edx, ecx
push edx
mov edx, dword [esp + 0x14]
sub edi, edx
push edi
push ecx
push edx
push 0
push 0x40000000
push 0
push eax
mov ecx, esi
call fcn.00401370
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov edi, dword [ecx + 0x558]
call eax
mov ecx, edi
mov edx, eax
call fcn.00409df0
mov ecx, dword [eax]
mov edx, dword [esi + 4]
push 1
push ecx
push 0x30
push edx
call ebp
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x1c]
push edx
call eax
mov ecx, dword [eax]
cmp word [ecx], 0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
sete bl
cmp eax, edx
je 0x44cccb
push eax
call fcn.0048836e
add esp, 4
test bl, bl
je 0x44ccde
mov eax, dword [esi + 0x10]
add eax, 0x588
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esi + 0x10]
cmp byte [ecx + 0x59d], 0
je 0x44ccfc
mov edx, dword [esi + 4]
push 0x4b80c8
push 0
push 0x1032
push edx
jmp 0x44cd0c
mov eax, dword [esi + 4]
push str.yyyy_MM_dd
push 0
push 0x1032
push eax
call ebp
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x588]
add eax, 0x588
mov dword [esi + 0x1a], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x1e], edx
mov ecx, dword [eax + 8]
push eax
mov dword [esi + 0x22], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 4]
push 0
push 0x1002
push eax
mov dword [esi + 0x26], edx
call ebp
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop ebp
mov byte [esi + 0x18], 1
pop ebx
add esp, 0x98
ret

Function at 0x450ee0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x298
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x294], eax
lea eax, [esp]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x450f20
xor eax, eax
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.00486dc0
mov esp, ebp
pop ebp
ret
push 0xfe
lea ecx, [esp + 0x195]
push 0
push ecx
mov byte [esp + 0x19c], 0
call fcn.00487630
add esp, 0xc
push 0xff
lea edx, [esp + 0x194]
push edx
call sub.WS2_32.dll_gethostname
lea eax, [esp + 0x190]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x450f0c
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov eax, ecx
shr eax, 8
movzx edx, cl
movzx eax, al
shl edx, 8
add eax, edx
mov edx, ecx
shr edx, 0x10
shl eax, 8
movzx edx, dl
add eax, edx
shr ecx, 0x18
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.00486dc0
mov esp, ebp
pop ebp
ret
Function at 0x450fd0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xa0
push ebx
mov dword [esi + 0x10], eax
push ebp
mov dword [eax + 0x590], 0
cmp dword [esi + 4], 0
push edi
jne 0x451081
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x451057
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [eax + 4]
mov ebp, dword [eax]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x18]
push 0
sub ebx, ecx
push ebx
sub edi, ebp
push edi
push ecx
mov ecx, dword [eax + 0xb4]
push ebp
push 0
push 0x40030000
push 0
push ecx
mov ecx, esi
call fcn.00401370
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov edi, dword [ecx + 0x558]
call eax
mov ecx, edi
mov edx, eax
call fcn.00409df0
mov ecx, dword [eax]
mov edx, dword [esi + 4]
push 1
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x24]
push edx
call eax
mov ecx, dword [eax]
cmp word [ecx], 0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
sete bl
cmp eax, edx
je 0x4510ae
push eax
call fcn.0048836e
add esp, 4
test bl, bl
je 0x4510c0
call fcn.00450ee0
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x588], eax
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x588]
mov ecx, dword [esi + 4]
push eax
push 0
push 0x465
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop ebp
mov byte [esi + 0x18], 1
pop ebx
add esp, 0xa0
ret

Function at 0x451260
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
push ebp
push esi
call ebx
mov esi, eax
test esi, esi
je 0x451287
mov ebp, dword [sym.imp.USER32.dll_GetParent]
call ebx
cmp eax, dword [edi + 4]
je 0x4512ee
push esi
call ebp
mov esi, eax
test esi, esi
jne 0x451277
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ebx, eax
mov eax, dword [edi + 0x10]
cmp dword [eax + 0x590], 0
jne 0x4512da
mov edx, dword [edi + 4]
add eax, 0x588
push eax
push 0
push 0x466
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
mov dword [eax + 0x590], 1
mov esi, dword [edi + 0x10]
call fcn.004514a0
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x10
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
mov dword [eax], 1
xor eax, eax
pop ebx
ret 0x10
Function at 0x452b60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a0cfb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
lea esi, [edi + 0x10]
mov dword [edi], vtable.DuiLib::CWindowWnd.0
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov byte [edi + 0xc], bl
mov byte [edi + 0xd], bl
call fcn.00456770
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x18], vtable.DuiLib::INotifyUI.0
mov dword [edi + 0x1c], vtable.DuiLib::IDialogBuilderCallback.0
mov dword [edi], vtable.DuiLib::CMenuWnd.0
mov dword [esi], vtable.DuiLib::CMenuWnd.1.0
mov dword [edi + 0x18], vtable.DuiLib::CMenuWnd.2.0
mov dword [edi + 0x1c], vtable.DuiLib::CMenuWnd.3.0
mov byte [edi + 0x20], bl
lea ecx, [edi + 0x30]
mov dword [edi + 0x2c], 0x4b06b8
call fcn.00403ca0
mov dword [edi + 0x778], ebx
mov dword [edi + 0x77c], ebx
mov dword [edi + 0x780], 6
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x452d50
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 4]
push ebx
push edi
mov dword [esi + 0x28], edx
mov dword [esi + 0x778], eax
mov dword [esi + 0x77c], 0
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x780], 6
test eax, eax
jne 0x452d95
call fcn.00456230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0
call eax
lea edi, [esi + 0x10]
call fcn.00456230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push edi
call eax
mov ecx, dword [esi + 0x778]
test ecx, ecx
jne 0x452db7
mov eax, dword [0xb4]
jmp 0x452dc4
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [eax + 0xb4]
push 0
push 0
push 0
push 0
push 0
push 0x88
push connect
push 0
push eax
mov ecx, esi
call fcn.00401370
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x452dfe
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x452df2
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
ret 0xc
Function at 0x455b30
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.virtual_324
Function at 0x462a60
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
lea eax, [ebx - 0x21]
cmp eax, 0xd
ja case.0x462aa3.41
movzx eax, byte [eax + 0x462b28]
jmp dword [eax*4 + 0x462b20]
or edi, 0x100
cmp dword [esp + 0x220], 0
je 0x462ac0
or edi, 0x1000000
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], cx
call fcn.00487630
add esp, 0xc
push 0x104
lea eax, [esp + 0x10]
push eax
shl edi, 0x10
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [esi + 4]
push 0xffffffffffffffff
lea edx, [esp + 0x10]
xor ecx, ecx
push edx
mov dword [esi], eax
mov word [eax], cx
call fcn.00402160
mov ecx, dword [esp + 0x214]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00486dc0
add esp, 0x20c
ret 8

Function at 0x462aaa
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
lea eax, [ebx - 0x21]
cmp eax, 0xd
ja case.0x462aa3.41
movzx eax, byte [eax + 0x462b28]
jmp dword [eax*4 + 0x462b20]
or edi, 0x100
cmp dword [esp + 0x220], 0
je 0x462ac0
or edi, 0x1000000
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], cx
call fcn.00487630
add esp, 0xc
push 0x104
lea eax, [esp + 0x10]
push eax
shl edi, 0x10
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [esi + 4]
push 0xffffffffffffffff
lea edx, [esp + 0x10]
xor ecx, ecx
push edx
mov dword [esi], eax
mov word [eax], cx
call fcn.00402160
mov ecx, dword [esp + 0x214]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00486dc0
add esp, 0x20c
ret 8

Function at 0x4651c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49dbdb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.DuiLib::WindowImplBase.5.0
mov dword [esi + 0x10], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x24], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x28], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x2c], vtable.DuiLib::WindowImplBase.0
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0
call fcn.00404360
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], 0xffffffff
call fcn.004029c0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x465ad0
Capabilities:
Add user account
Add user account to group

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x68], eax
mov ecx, dword [0x4a2b18]
mov edx, dword [0x4a2b1c]
mov dword [esp + 0x38], ecx
mov ecx, dword [0x4a2b20]
push ebx
mov ebx, dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x48], ecx
mov cx, word [0x4a2b28]
mov dword [esp + 0x44], edx
mov edx, dword [0x4a2b24]
push esi
mov word [esp + 0x54], cx
push edi
mov dword [esp + 0x54], edx
mov edx, dword [0x4a2b48]
xor eax, eax
mov ecx, 7
mov esi, 0x4a2b2c
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a2b4c]
mov dword [esp + 0x3c], edx
mov edx, dword [0x4a2b50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
cmp ebx, eax
jne 0x465b6f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00486dc0
add esp, 0x6c
ret
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.00487536
add esp, 8
test eax, eax
je 0x465b5a
lea ecx, [esp + 0x5c]
push ecx
push ebx
call fcn.00487536
add esp, 8
test eax, eax
je 0x465b5a
lea edx, [esp + 0x3c]
push edx
push ebx
call fcn.00487536
add esp, 8
test eax, eax
je 0x465b5a
xor eax, eax
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
push 1
push 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], 1
mov dword [esp + 0x44], 0x10000
call sub.NETAPI32.dll_NetUserAdd
test eax, eax
jne 0x465c3e
push 1
lea ecx, [esp + 0x1c]
push ecx
push 3
push str.Users
push eax
mov dword [esp + 0x2c], ebx
call sub.NETAPI32.dll_NetLocalGroupAddMembers
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push 0x4a2b60
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0047f320
add esp, 0x18
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00486dc0
add esp, 0x6c
ret
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00486dc0
add esp, 0x6c
ret
Function at 0x465c60
Capabilities:
Delete user account

Disassembly:
sub esp, 0x40
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x3c], eax
mov ecx, dword [0x4a2c04]
mov eax, dword [0x4a2c00]
mov edx, dword [0x4a2c08]
push ebx
mov ebx, dword [esp + 0x48]
push ebp
mov dword [esp + 0xc], ecx
mov cx, word [0x4a2c10]
push esi
mov word [esp + 0x1c], cx
push edi
mov dword [esp + 0x10], eax
mov eax, dword [0x4a2c0c]
mov ecx, 7
mov esi, 0x4a2c14
lea edi, [esp + 0x30]
mov dword [esp + 0x18], edx
mov edx, dword [0x4a2c30]
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a2c34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a2c38]
xor ebp, ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
test ebx, ebx
jne 0x465cf0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00486dc0
add esp, 0x40
ret
lea edx, [esp + 0x10]
push edx
push ebx
call fcn.00487536
add esp, 8
test eax, eax
je 0x465cdb
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.00487536
add esp, 8
test eax, eax
je 0x465cdb
lea ecx, [esp + 0x24]
push ecx
push ebx
call fcn.00487536
add esp, 8
test eax, eax
je 0x465cdb
push ebx
push 0
call sub.NETAPI32.dll_NetUserDel
test eax, eax
jne 0x465d4a
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonSpecialAccountsUserList
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0047f480
add esp, 0xc
mov ebp, 1
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00486dc0
add esp, 0x40
ret
Function at 0x465e20
Capabilities:
List user accounts

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [0x4a2ce0]
mov ecx, dword [0x4a2ce4]
mov edx, dword [0x4a2ce8]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a2cec]
mov dword [esp + 0x20], ecx
mov cx, word [0x4a2cf0]
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
cmp ebx, ebp
jne 0x465e93
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00486dc0
add esp, 0x2c
ret
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.00487536
add esp, 8
test eax, eax
jne 0x465ebb
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00486dc0
add esp, 0x2c
ret
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
push 2
push 1
push ebp
call sub.NETAPI32.dll_NetUserEnum
test eax, eax
jne 0x465f24
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
cmp dword [esp + 0x10], ebp
jbe 0x465f22
lea ecx, [ecx]
cmp esi, ebp
je 0x465f22
cmp dword [esi + 0xc], 1
jne 0x465f0e
mov eax, dword [esi]
cmp eax, ebp
je 0x465f0e
push ebx
push eax
call fcn.00487536
add esp, 8
test eax, eax
je 0x465f1a
inc edi
add esi, 0x20
cmp edi, dword [esp + 0x10]
jb 0x465ef0
jmp 0x465f22
mov dword [esp + 0x18], 1
pop edi
pop esi
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x465f32
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
xor ecx, esp
call fcn.00486dc0
add esp, 0x2c
ret
Function at 0x4666c0
Capabilities:
Extract resource via kernel32 functions
Set file attributes
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
xor ebx, ebx
push edi
push ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4667b8
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x4667b8
mov ebp, dword [esp + 0x20]
cmp ebp, ebx
je 0x4667b8
push esi
movzx eax, ax
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x46678a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x46678a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x46678a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jbe 0x46678a
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x466776
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x4667ac
pop esi
pop edi
mov dword [esp + 8], 1
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 8
ret
push 0
lea ecx, [esp + 0x18]
push ecx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x466794
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push esi
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x10]
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x4667d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x214
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0x210], eax
push 0x104
lea eax, [esp + 0xc]
push eax
push 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.imagehlp.dll_MapFileAndCheckSumW]
test eax, eax
je 0x46683d
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 4]
cmp ecx, dword [esp]
jne 0x46681e
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, 1
call fcn.00486dc0
add esp, 0x214
ret