joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003fbf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x254], 0
call fcn.1003b320
mov ecx, eax
call fcn.1002bc90
push eax
lea ecx, [ebp - 0x258]
call fcn.10006650
mov dword [ebp - 4], 0
call fcn.1003b320
mov ecx, eax
call fcn.1002bdc0
push eax
lea ecx, [ebp - 0x250]
call fcn.10006650
mov byte [ebp - 4], 1
mov eax, 0x6c
mov word [ebp - 0x20], ax
mov ecx, 0x75
mov word [ebp - 0x1e], cx
mov edx, 0x64
mov word [ebp - 0x1c], dx
mov eax, 0x61
mov word [ebp - 0x1a], ax
mov ecx, 0x73
mov word [ebp - 0x18], cx
mov edx, 0x68
mov word [ebp - 0x16], dx
mov eax, 0x69
mov word [ebp - 0x14], ax
xor ecx, ecx
mov word [ebp - 0x12], cx
lea ecx, [ebp - 0x250]
call fcn.10008ae0
movzx edx, al
test edx, edx
je 0x1003fdda
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x258]
call fcn.10007cf0
cmp eax, 0xffffffff
je 0x1003fdda
push 0x208
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.1008e2a0
add esp, 0xc
mov dword [ebp - 0x260], 1
mov dword [ebp - 0x25c], 0x104
mov edx, 0x53
mov word [ebp - 0x44], dx
mov eax, 0x4f
mov word [ebp - 0x42], ax
mov ecx, 0x46
mov word [ebp - 0x40], cx
mov edx, 0x54
mov word [ebp - 0x3e], dx
mov eax, 0x57
mov word [ebp - 0x3c], ax
mov ecx, 0x41
mov word [ebp - 0x3a], cx
mov edx, 0x52
mov word [ebp - 0x38], dx
mov eax, 0x45
mov word [ebp - 0x36], ax
mov ecx, 0x5c
mov word [ebp - 0x34], cx
mov edx, 0x4c
mov word [ebp - 0x32], dx
mov eax, 0x75
mov word [ebp - 0x30], ax
mov ecx, 0x64
mov word [ebp - 0x2e], cx
mov edx, 0x61
mov word [ebp - 0x2c], dx
mov eax, 0x73
mov word [ebp - 0x2a], ax
mov ecx, 0x68
mov word [ebp - 0x28], cx
mov edx, 0x69
mov word [ebp - 0x26], dx
xor eax, eax
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x260]
push eax
push str.VendorID
lea ecx, [ebp - 0x44]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1003fdda
lea edx, [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x250]
call fcn.100070e0
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp + 8]
call fcn.10006650
mov ecx, dword [ebp - 0x254]
or ecx, 1
mov dword [ebp - 0x254], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.10006cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.10006cb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret 4
Function at 0x1003fe40
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103de6
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], ecx
call fcn.1003b320
mov ecx, eax
call fcn.1002bd30
push eax
lea ecx, [ebp - 0x424]
call fcn.10006650
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x424]
call fcn.10040820
push 0
push 0x101130e4
lea ecx, [ebp - 0x424]
call fcn.10007cf0
cmp eax, 0xffffffff
jne 0x1003fec9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.10006cb0
jmp 0x10040090
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.1008e2a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call fcn.10008070
add esp, 8
push str.bizhi123456789
lea ecx, [ebp - 0x430]
call fcn.10006670
mov byte [ebp - 4], 1
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x42c]
call fcn.10006670
mov byte [ebp - 4], 2
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.1006efc0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
call fcn.10006cb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.10006cb0
lea ecx, [ebp - 0x428]
call fcn.10008ae0
movzx eax, al
test eax, eax
je 0x1003ff8c
lea ecx, [ebp - 0x428]
call fcn.10006cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.10006cb0
jmp 0x10040090
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.1008e2a0
add esp, 0xc
mov dword [ebp - 0x438], 1
mov dword [ebp - 0x434], 0x104
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
push ecx
push 0x10113114
push 0x10113120
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x10040006
lea ecx, [ebp - 0x428]
call fcn.10006cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.10006cb0
jmp 0x10040090
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10040036
lea ecx, [ebp - 0x428]
call fcn.10006cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.10006cb0
jmp 0x10040090
push 0x101131a4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x428]
call fcn.10007150
push eax
push str.sysvalue
push 0x101131d0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x428]
call fcn.10006cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.10006cb0
xor edx, edx
jne 0x1003fe71
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret
Function at 0x100400b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103e24
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x438], ecx
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.1008e2a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call fcn.10008070
add esp, 8
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x42c]
call fcn.10006670
mov dword [ebp - 4], 0
push str.clean_beta
lea ecx, [ebp - 0x428]
call fcn.10006670
mov byte [ebp - 4], 1
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x424]
push edx
call fcn.1006efc0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.10006cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.10006cb0
lea ecx, [ebp - 0x424]
call fcn.10008ae0
movzx eax, al
test eax, eax
je 0x10040198
lea ecx, [ebp - 0x424]
call fcn.10006cb0
jmp 0x10040263
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.1008e2a0
add esp, 0xc
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x430], 0x104
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x434]
push ecx
push 0x101131f8
push 0x10113238
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100401fd
lea ecx, [ebp - 0x424]
call fcn.10006cb0
jmp 0x10040263
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004021b
lea ecx, [ebp - 0x424]
call fcn.10006cb0
jmp 0x10040263
push 0x101132bc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x424]
call fcn.10007150
push eax
push str.verinfo
push 0x101132d4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x424]
call fcn.10006cb0
xor edx, edx
jne 0x100400e1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret
Function at 0x10040370
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103e62
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], ecx
mov eax, dword [ebp - 0x430]
cmp dword [eax + 0x1c], 0
je 0x10040509
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.1008e2a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.10021990
add esp, 8
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x42c]
call fcn.10006670
mov dword [ebp - 4], 0
push str.miniby3
lea ecx, [ebp - 0x428]
call fcn.10006670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x424]
push eax
call fcn.1006efc0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.10006cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.10006cb0
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.1008e2a0
add esp, 0xc
mov dword [ebp - 0x438], 1
mov dword [ebp - 0x434], 0x104
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
push ecx
push 0x10113300
push 0x10113328
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100404ab
lea ecx, [ebp - 0x424]
call fcn.10006cb0
jmp 0x10040509
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100404c9
lea ecx, [ebp - 0x424]
call fcn.10006cb0
jmp 0x10040509
push 0x101133ac
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x424]
call fcn.10007150
push eax
push str.mini_external
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x424]
call fcn.10006cb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret
Function at 0x10040530
Capabilities:
Check if file exists
Persist via app paths registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
call fcn.1003b320
mov ecx, eax
call fcn.1002c110
test eax, eax
jne 0x1004055e
jmp 0x1004062b
mov dword [ebp - 0x210], 0
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push str.navigation
push str.SoftwareNavPlugin
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.1008e2a0
add esp, 0xc
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 0x104
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x10113414
push 0x10113420
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100405e2
jmp 0x1004062b
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100405f5
jmp 0x1004062b
push 0x101134a4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
push 0x101134c0
push 0x101134c4
push 0x101134cc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor edx, edx
jne 0x10040549
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret
Function at 0x10041ef0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.1008e2a0
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x214]
push eax
call fcn.100ab667
add esp, 4
test eax, eax
jne 0x10041f50
push 0
push 0
push 0x465
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0x214]
push edx
call fcn.100ab667
add esp, 4
cmp eax, 2
jb 0x10041ff1
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x214]
cmp ecx, 0x3a
jne 0x10041ff1
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov eax, 2
imul ecx, eax, 0
mov edx, 2
imul eax, edx, 0
mov cx, word [ebp + ecx - 0x214]
mov word [ebp + eax - 0xc], cx
mov edx, 2
shl edx, 0
mov eax, 0x3a
mov word [ebp + edx - 0xc], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x5c
mov word [ebp + ecx - 0xc], dx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 3
je 0x10041ff1
push 0
push 0
push 0x465
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret

Function at 0x100461c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
push str.http:__www.birdpaper.cn_index_user_agreement
push 0x10113ab4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100461f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101041ef
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
push 0x208
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.1008e2a0
add esp, 0xc
mov dword [ebp - 0x260], 1
mov dword [ebp - 0x25c], 0x104
mov ecx, 0x53
mov word [ebp - 0x50], cx
mov edx, 0x4f
mov word [ebp - 0x4e], dx
mov eax, 0x46
mov word [ebp - 0x4c], ax
mov ecx, 0x54
mov word [ebp - 0x4a], cx
mov edx, 0x57
mov word [ebp - 0x48], dx
mov eax, 0x41
mov word [ebp - 0x46], ax
mov ecx, 0x52
mov word [ebp - 0x44], cx
mov edx, 0x45
mov word [ebp - 0x42], dx
mov eax, 0x5c
mov word [ebp - 0x40], ax
mov ecx, 0x4c
mov word [ebp - 0x3e], cx
mov edx, 0x64
mov word [ebp - 0x3c], dx
mov eax, 0x73
mov word [ebp - 0x3a], ax
mov ecx, 0x4c
mov word [ebp - 0x38], cx
mov edx, 0x69
mov word [ebp - 0x36], dx
mov eax, 0x74
mov word [ebp - 0x34], ax
mov ecx, 0x65
mov word [ebp - 0x32], cx
xor edx, edx
mov word [ebp - 0x30], dx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x260]
push edx
push 0x10113b1c
lea eax, [ebp - 0x50]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100463dc
lea ecx, [ebp - 0x258]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100463dc
mov edx, 0x6c
mov word [ebp - 0x2c], dx
mov eax, 0x64
mov word [ebp - 0x2a], ax
mov ecx, 0x73
mov word [ebp - 0x28], cx
mov edx, 0x6c
mov word [ebp - 0x26], dx
mov eax, 0x69
mov word [ebp - 0x24], ax
mov ecx, 0x74
mov word [ebp - 0x22], cx
mov edx, 0x65
mov word [ebp - 0x20], dx
mov eax, 0x5f
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x78
mov word [ebp - 0x1a], dx
mov eax, 0x69
mov word [ebp - 0x18], ax
mov ecx, 0x73
mov word [ebp - 0x16], cx
mov edx, 0x74
mov word [ebp - 0x14], dx
xor eax, eax
mov word [ebp - 0x12], ax
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0
call fcn.10028fe0
mov dword [ebp - 0x26c], eax
mov dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.10029b90
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.10020920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret
Function at 0x10047d80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.10046e40
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x40]
call edx
cmp dword [ebp - 0xc], 1
jne 0x10047f1d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x10047f1d
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10034d20
mov ecx, dword [ebp - 4]
call fcn.10047720
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf4]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10047e15
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x84]
call edx
test eax, eax
je 0x10047f1d
mov dword [ebp - 0xc], 2
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je 0x10047e35
mov dword [ebp - 0x14], 1
jmp 0x10047e3c
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x10047e75
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
jne 0x10047e75
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
push 1
push 0
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10034a80
jmp 0x10047e9b
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
je 0x10047e9b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5c], 0
jne 0x10047e9b
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x10047eb7
mov dword [ebp - 0x18], 1
jmp 0x10047ebe
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x10047ef7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x10047ef7
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], 0
push 1
push 1
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10034a80
jmp 0x10047f1d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x10047f1d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
jne 0x10047f1d
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x1004b3e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101046a8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0x10000000
push 0x10113cd8
push 0x101
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1004b452
push 0x10113ce4
mov ecx, dword [ebp + 8]
call fcn.100068e0
mov ecx, dword [ebp - 0x3c]
or ecx, 1
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
jmp 0x1004b52c
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x1004b487
push 0x10113ce8
mov ecx, dword [ebp + 8]
call fcn.100068e0
mov ecx, dword [ebp - 0x3c]
or ecx, 1
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
jmp 0x1004b52c
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x58]
call fcn.1004c200
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.1004bff0
lea ecx, [ebp - 0x38]
call fcn.1004c290
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x1004b505
push 0x10113cec
mov ecx, dword [ebp + 8]
call fcn.100068e0
mov ecx, dword [ebp - 0x3c]
or ecx, 1
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1004c2f0
mov eax, dword [ebp + 8]
jmp 0x1004b52c
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp + 8]
call fcn.100068e0
mov eax, dword [ebp - 0x3c]
or eax, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1004c2f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret
Function at 0x1004d270
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1014857c]
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 0x1004d2e8
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret
Function at 0x1004db80
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10139588
push 0x10091970
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.10081560
mov eax, dword [0x1014857c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a2c], esi
test esi, esi
je 0x1004dd54
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004dbd6
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x1004dd54
mov dword [ebp - 4], 0
call fcn.1004d270
mov dword [ebp - 4], 0xfffffffe
jmp 0x1004dc1c
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.1008e2a0
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.1008e2a0
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x1004dd54
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.100ac451
lea eax, [ebp - 0x224]
push eax
call fcn.100acddb
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x1004dd54
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
call fcn.1004d3a0
add esp, 0xc
test eax, eax
je 0x1004dd47
lea eax, [ebp - 0xa24]
push eax
call fcn.100acddb
add esp, 4
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1004dd08
test dx, dx
je 0x1004dd04
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1004dd08
add eax, 4
add ecx, 4
test dx, dx
jne 0x1004dce2
xor eax, eax
jmp 0x1004dd0d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1004dd47
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1004dd33
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa24]
push eax
push str.Kill_process:__s
call fcn.10050650
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2a28]
jb 0x1004dca4
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret 4