joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b051
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x9b0
lea ebp, [esp - 4]
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0x9b0], eax
push 8
mov eax, 0x538060
call fcn.004f41c4
mov edi, dword [ebp + 0x9bc]
mov esi, ecx
lea ecx, [ebp]
call fcn.004063ed
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x418]
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
call fcn.004c7a39
mov dword [esi + 0x42c], ebx
cmp byte [edi], bl
jne 0x48b0ae
mov edi, 0x544418
push ebx
call fcn.00406295
pop ecx
test eax, eax
je 0x48b157
lea ecx, [ebp + 0x438]
call fcn.004063ed
lea ecx, [ebp + 0x438]
mov byte [ebp - 4], 1
call fcn.00489fed
lea eax, [ebp + 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp + 0x438]
push esi
push eax
call fcn.004fc54b
add esp, 0xc
test eax, eax
jne 0x48b149
lea eax, [ebp + 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea eax, [eax + esi + 1]
push ebx
lea ecx, [ebp + 0x438]
mov dword [ebp - 0x14], eax
call fcn.004898dc
push str.SysNative
push ebx
lea ecx, [ebp + 0x438]
call fcn.00489e94
push dword [ebp - 0x14]
lea ecx, [ebp + 0x438]
push ebx
call fcn.00489e94
lea eax, [ebp + 0x438]
push eax
push esi
call fcn.004fab40
pop ecx
pop ecx
lea ecx, [ebp + 0x438]
mov byte [ebp - 4], bl
call fcn.004064c1
push edi
push esi
lea ecx, [ebp]
call fcn.00489e94
lea eax, [ebp + 0x870]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x48b1db
cmp dword [ebp - 0x10], ebx
je 0x48b1d4
lea eax, [ebp + 0x89c]
push eax
call fcn.004898ae
pop ecx
test eax, eax
jne 0x48b1c1
lea eax, [ebp + 0x89c]
push eax
push esi
lea ecx, [ebp]
call fcn.00489e94
lea ecx, [ebp]
call fcn.00489e8f
test eax, eax
jne 0x48b1c1
lea ecx, [esi + 0x418]
mov eax, dword [ecx + 8]
lea edx, [ebp + 0x89c]
push edx
push eax
call fcn.004c7eb3
lea eax, [ebp + 0x870]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x10], eax
jmp 0x48b179
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, esi
call fcn.0048a42d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
mov esi, eax
call fcn.004064c1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9b0]
xor ecx, ebp
call fcn.004f41b5
add ebp, 0x9b4
leave
ret 4
Function at 0x48b627
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp + 0x98], eax
push esi
mov esi, ecx
call fcn.0048ac86
mov cl, byte [esi]
cmp cl, 0x41
jl 0x48b65e
cmp cl, 0x5a
jg 0x48b65e
movsx edx, cl
sub edx, 0x41
jmp 0x48b66e
cmp cl, 0x61
jl 0x48b67e
cmp cl, 0x7a
jg 0x48b67e
movsx edx, cl
sub edx, 0x61
cmp eax, 2
jne 0x48b696
test edx, edx
je 0x48b67e
xor eax, eax
inc eax
cmp edx, eax
jne 0x48b680
xor eax, eax
mov ecx, dword [ebp + 0x98]
xor ecx, ebp
pop esi
call fcn.004f41b5
add ebp, 0x9c
leave
ret
cmp eax, 3
jne 0x48b67e
push esi
call fcn.00489876
pop ecx
test eax, eax
je 0x48b67e
push ebx
add edx, 0x41
push edx
lea eax, [ebp - 0x6c]
push str.__c:
push eax
xor ebx, ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocStringLen
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x48b72f
push 0x227
call fcn.004b6e34
pop ecx
push ebx
mov esi, eax
mov dword [esi + 4], 0x227
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
push dword [esi + 4]
lea eax, [ebp - 0x78]
push esi
push 0xc
push eax
push 0x2d1400
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48b71f
cmp dword [esi + 0x1c], 7
jne 0x48b71f
inc ebx
push esi
call fcn.004b6e29
pop ecx
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
jmp 0x48b680

Function at 0x48cbc9
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ecx + 4]
push esi
add ecx, 0x18
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
pushal
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
bswap eax
bswap ebx
bswap ecx
bswap edx
bswap esi
sub eax, 0x67452301
sub ebx, 0xefcdab89
sub ecx, 0x98badcfe
sub edx, 0x10325476
sub esi, 0xc3d2e1f0
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], esi
popal
pop edi
pop esi
pop ebx
leave
ret
Function at 0x490f05
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
and dword [ebp - 0x24], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
cmp dword [0x599b8c], 0
je 0x490f38
cmp dword [0x599b90], 0
je 0x490f38
xor eax, eax
inc eax
jmp 0x4910aa
push 0x490f6e
pop edx
push 0x490f6e
pop edx
push 0x491037
pop eax
mov dword [ebp - 0x20], edx
sub eax, edx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov ecx, 0x598ed8
call fcn.00467bba
mov dword [0x598dd0], eax
mov eax, 0x490f6e
jmp 0x490f7c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
push 0xa
push 0x5564f4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x490fa7
xor eax, eax
jmp 0x4910aa
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x599b90], eax
push dword [0x599b90]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x599b8c], eax
cmp dword [0x599b8c], 0
jne 0x490fe2
and dword [0x599b90], 0
xor eax, eax
jmp 0x4910aa
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
push dword [0x599b90]
push dword [ebp - 8]
push dword [0x599b8c]
call fcn.004f4490
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [0x599b90]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [0x599b90], eax
mov eax, 0x491037
jmp 0x491045
pushal
push 0x490f6e
pop edx
push 0x490f6e
pop edx
push 0x491037
pop eax
mov dword [ebp - 0x18], edx
sub eax, edx
mov dword [ebp - 0x10], eax
popal
push dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, 0x598ed8
call fcn.00467d45
mov dword [0x598dd0], eax
and dword [ebp - 0xc], 0
jmp 0x491083
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x599b90]
jge 0x4910a7
mov eax, dword [ebp - 0xc]
shl eax, 4
add eax, dword [0x599b8c]
push eax
mov ecx, 0x598ed8
call fcn.00467b29
jmp 0x49107c
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x491386
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5386a2
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp - 0x438], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x430], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x84c]
call fcn.00478e03
and dword [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.004967bb
mov byte [ebp - 4], 1
and dword [ebp - 0x854], 0
and dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov byte [eax], 0
push 0x491437
pop edx
push 0x491437
pop edx
push 0x49158d
pop eax
mov dword [ebp - 0x85c], edx
sub eax, edx
mov dword [ebp - 0x858], eax
push dword [ebp - 0x858]
push dword [ebp - 0x85c]
mov ecx, 0x598ed8
call fcn.00467bba
mov dword [0x598dd0], eax
mov eax, 0x491437
jmp 0x491445
lea ecx, [ebp - 0x84c]
call fcn.00478551
cmp eax, 2
jne 0x49150a
push str.Registration
lea ecx, [ebp - 0x84c]
call fcn.0047887e
lea eax, [ebp - 0x854]
push eax
push 0x5564f8
lea ecx, [ebp - 0x84c]
call fcn.00478637
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x491508
push 0x54f2b0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x54f2b0
lea ecx, [ebp - 0x42c]
call fcn.004967de
push dword [ebp - 0x854]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x42c]
call fcn.004968b3
mov eax, dword [ebp - 0x854]
and eax, 0x3f
mov dword [ebp - 0x854], eax
push dword [ebp - 0x854]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.004f4490
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x854]
mov byte [eax], 0
cmp dword [ebp - 0x10], 0
je 0x491508
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x860], eax
push dword [ebp - 0x860]
call fcn.004b6e29
pop ecx
and dword [ebp - 0x10], 0
jmp 0x491586
lea eax, [ebp - 0x430]
push eax
push str.SOFTWAREPasscapePIEPRRegistration
push reloc.ast.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x491586
cmp dword [ebp - 0x430], 0
je 0x491586
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x5564f8
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49157a
cmp dword [ebp - 0x18], 0x40
jbe 0x49155c
mov dword [ebp - 0x18], 0x40
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x5564f8
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x49158d
jmp 0x49159b
pushal
push 0x491437
pop edx
push 0x491437
pop edx
push 0x49158d
pop eax
mov dword [ebp - 0x850], edx
sub eax, edx
mov dword [ebp - 0x434], eax
popal
push dword [ebp - 0x434]
push dword [ebp - 0x850]
mov ecx, 0x598ed8
call fcn.00467d45
mov dword [0x598dd0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.004967c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84c]
call fcn.00478543
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x438]
xor ecx, ebp
call fcn.004f41b5
leave
ret
Function at 0x491613
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5386e3
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp - 0x438], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x430], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x84c]
call fcn.00478e03
and dword [ebp - 4], 0
and dword [ebp - 0x854], 0
lea ecx, [ebp - 0x42c]
call fcn.004967bb
mov byte [ebp - 4], 1
and dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov byte [eax], 0
push 0x4916c4
pop edx
push 0x4916c4
pop edx
push 0x491823
pop eax
mov dword [ebp - 0x85c], edx
sub eax, edx
mov dword [ebp - 0x858], eax
push dword [ebp - 0x858]
push dword [ebp - 0x85c]
mov ecx, 0x598ed8
call fcn.00467bba
mov dword [0x598dd0], eax
mov eax, 0x4916c4
jmp 0x4916d2
lea ecx, [ebp - 0x84c]
call fcn.00478551
cmp eax, 2
jne 0x49179d
push str.Registration
lea ecx, [ebp - 0x84c]
call fcn.0047887e
lea eax, [ebp - 0x854]
push eax
push str.name
lea ecx, [ebp - 0x84c]
call fcn.00478637
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x49179b
push 0x54f2b0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x54f2b0
lea ecx, [ebp - 0x42c]
call fcn.004967de
push dword [ebp - 0x854]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x42c]
call fcn.004968b3
mov eax, dword [ebp - 0x854]
and eax, 0xff
mov dword [ebp - 0x854], eax
push dword [ebp - 0x854]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.004f4490
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x854]
mov byte [eax], 0
cmp dword [ebp - 0x10], 0
je 0x49179b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x860], eax
push dword [ebp - 0x860]
call fcn.004b6e29
pop ecx
and dword [ebp - 0x10], 0
jmp 0x49181c
lea eax, [ebp - 0x430]
push eax
push str.SOFTWAREPasscapePIEPRRegistration
push reloc.ast.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x49181c
cmp dword [ebp - 0x430], 0
je 0x49181c
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push str.name
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x491810
cmp dword [ebp - 0x18], 0x100
jbe 0x4917f2
mov dword [ebp - 0x18], 0x100
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0
push str.name
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x491823
jmp 0x491831
pushal
push 0x4916c4
pop edx
push 0x4916c4
pop edx
push 0x491823
pop eax
mov dword [ebp - 0x850], edx
sub eax, edx
mov dword [ebp - 0x434], eax
popal
push dword [ebp - 0x434]
push dword [ebp - 0x850]
mov ecx, 0x598ed8
call fcn.00467d45
mov dword [0x598dd0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.004967c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84c]
call fcn.00478543
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x438]
xor ecx, ebp
call fcn.004f41b5
leave
ret
Function at 0x4918a9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538724
mov eax, dword fs:[0]
push eax
sub esp, 0x94c
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp - 0x428], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x420], 0
and dword [ebp - 0x840], 0
lea ecx, [ebp - 0x83c]
call fcn.00478e03
and dword [ebp - 4], 0
lea ecx, [ebp - 0x41c]
call fcn.004967bb
mov byte [ebp - 4], 1
push 0x491948
pop edx
push 0x491948
pop edx
push 0x491a8f
pop eax
mov dword [ebp - 0x84c], edx
sub eax, edx
mov dword [ebp - 0x848], eax
push dword [ebp - 0x848]
push dword [ebp - 0x84c]
mov ecx, 0x598ed8
call fcn.00467bba
mov dword [0x598dd0], eax
mov eax, 0x491948
jmp 0x491956
lea ecx, [ebp - 0x83c]
call fcn.00478551
cmp eax, 2
jne 0x491a0c
push 0x100
push dword [ebp + 8]
lea eax, [ebp - 0x94c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [ebp - 0x84d], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x950], eax
push 0x54f2b0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x54f2b0
lea ecx, [ebp - 0x41c]
call fcn.004967de
push dword [ebp - 0x950]
lea eax, [ebp - 0x94c]
push eax
lea ecx, [ebp - 0x41c]
call fcn.0049684e
push str.Registration
lea ecx, [ebp - 0x83c]
call fcn.0047887e
test eax, eax
je 0x491a0a
push dword [ebp - 0x950]
lea eax, [ebp - 0x94c]
push eax
push 0x5564f8
lea ecx, [ebp - 0x83c]
call fcn.004786b3
test eax, eax
je 0x491a0a
mov dword [ebp - 0x840], 1
jmp 0x491a88
lea eax, [ebp - 0x420]
push eax
push str.SOFTWAREPasscapePIEPRRegistration
push reloc.ast.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x491a88
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x40
jle 0x491a41
mov dword [ebp - 0x958], 0x40
jmp 0x491a50
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x958], eax
push dword [ebp - 0x958]
push dword [ebp + 8]
push 1
push 0
push 0x5564f8
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x491a7c
mov dword [ebp - 0x840], 1
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x491a8f
jmp 0x491a9d
pushal
push 0x491948
pop edx
push 0x491948
pop edx
push 0x491a8f
pop eax
mov dword [ebp - 0x844], edx
sub eax, edx
mov dword [ebp - 0x424], eax
popal
push dword [ebp - 0x424]
push dword [ebp - 0x844]
mov ecx, 0x598ed8
call fcn.00467d45
mov dword [0x598dd0], eax
mov eax, dword [ebp - 0x840]
mov dword [ebp - 0x954], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x41c]
call fcn.004967c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x83c]
call fcn.00478543
mov eax, dword [ebp - 0x954]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x428]
xor ecx, ebp
call fcn.004f41b5
leave
ret
Function at 0x491b27
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538765
mov eax, dword fs:[0]
push eax
sub esp, 0x948
mov eax, dword [0x590cec]
xor eax, ebp
mov dword [ebp - 0x428], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x420], 0
lea ecx, [ebp - 0x83c]
call fcn.00478e03
and dword [ebp - 4], 0
lea ecx, [ebp - 0x41c]
call fcn.004967bb
mov byte [ebp - 4], 1
push 0x491bbf
pop edx
push 0x491bbf
pop edx
push 0x491ce8
pop eax
mov dword [ebp - 0x848], edx
sub eax, edx
mov dword [ebp - 0x844], eax
push dword [ebp - 0x844]
push dword [ebp - 0x848]
mov ecx, 0x598ed8
call fcn.00467bba
mov dword [0x598dd0], eax
mov eax, 0x491bbf
jmp 0x491bcd
lea ecx, [ebp - 0x83c]
call fcn.00478551
cmp eax, 2
jne 0x491c71
push 0x100
push dword [ebp + 8]
lea eax, [ebp - 0x94c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [ebp - 0x84d], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x950], eax
push 0x54f2b0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x54f2b0
lea ecx, [ebp - 0x41c]
call fcn.004967de
push dword [ebp - 0x950]
lea eax, [ebp - 0x94c]
push eax
lea ecx, [ebp - 0x41c]
call fcn.0049684e
push str.Registration
lea ecx, [ebp - 0x83c]
call fcn.0047887e
push dword [ebp - 0x950]
lea eax, [ebp - 0x94c]
push eax
push str.name
lea ecx, [ebp - 0x83c]
call fcn.004786b3
jmp 0x491ce1
lea eax, [ebp - 0x420]
push eax
push str.SOFTWAREPasscapePIEPRRegistration
push reloc.ast.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x491ce1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x100
jle 0x491ca8
mov dword [ebp - 0x954], 0x100
jmp 0x491cb7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x954], eax
push dword [ebp - 0x954]
push dword [ebp + 8]
push 1
push 0
push str.name
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x491ce8
jmp 0x491cf6
pushal
push 0x491bbf
pop edx
push 0x491bbf
pop edx
push 0x491ce8
pop eax
mov dword [ebp - 0x840], edx
sub eax, edx
mov dword [ebp - 0x424], eax
popal
push dword [ebp - 0x424]
push dword [ebp - 0x840]
mov ecx, 0x598ed8
call fcn.00467d45
mov dword [0x598dd0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x41c]
call fcn.004967c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x83c]
call fcn.00478543
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x428]
xor ecx, ebp
call fcn.004f41b5
leave
ret
Function at 0x493ab8
Capabilities:
Check for sandbox and av modules

Disassembly:
push 0xc
mov eax, 0x538b09
call fcn.004f41f7
mov esi, ecx
mov dword [ebp - 0x18], esi
lea eax, [esi + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov byte [eax], bl
mov dword [ebp - 4], ebx
call fcn.0049280e
mov edi, str.pstorec.dll
push edi
mov dword [esi + 0x40c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x493b23
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x493b23
push 0x114
mov ecx, 0x598978
call fcn.0045a895
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
call fcn.004f429c
ret
push str.PStoreCreateInstance
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
jne 0x493b3e
push 0x115
jmp 0x493b07
push ebx
push ebx
push ebx
lea ecx, [esi + 0x410]
call fcn.00493962
push eax
call edi
cmp eax, ebx
jge 0x493b5d
push eax
mov ecx, esi
call fcn.00492595
jmp 0x493b1b
xor eax, eax
inc eax
mov dword [esi + 0x40c], eax
jmp 0x493b1d

Function at 0x494453
Capabilities:
Encode data using xor

Disassembly:
push 0x18c
mov eax, 0x538cbf
call fcn.004f422d
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x198], eax
call fcn.0049c418
and dword [ebp - 4], 0
push 0x10
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.004f42d0
push 8
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.004f4490
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004f4490
add esp, 0x24
xor eax, eax
xor dword [ebp + eax - 0x20], 0x36363636
xor dword [ebp + eax - 0x30], 0x5c5c5c5c
add eax, 4
cmp eax, 0x10
jl 0x4944ad
lea ecx, [ebp - 0x194]
call fcn.0049d698
push dword [ebp + 0x10]
lea ecx, [ebp - 0x194]
push ebx
call fcn.0049d6c7
push 0x10
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x194]
call fcn.0049d6c7
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x194]
call fcn.0049d765
push 0x10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004f4490
push 0x14
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004f4490
add esp, 0x18
push dword [ebp - 0x198]
lea eax, [ebp - 0x68]
push 0x24
push eax
lea ecx, [ebp - 0x194]
call fcn.0049d846
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.0049c421
xor eax, eax
inc eax
call fcn.004f42b0
ret 0x10
Function at 0x4967de
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edx, 0x3020100
xor eax, eax
mov dword [eax + ecx + 0xc], edx
add eax, 4
add edx, 0x4040404
cmp eax, 0x100
jb 0x4967ef
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov byte [ebp - 1], bl
xor esi, esi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
lea edi, [eax + ecx + 0xc]
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
mov dl, byte [edi]
add al, dl
add byte [ebp - 1], al
movzx eax, byte [ebp - 1]
lea eax, [eax + ecx + 0xc]
mov bl, byte [eax]
inc esi
mov byte [edi], bl
mov byte [eax], dl
cmp esi, dword [ebp + 0xc]
jb 0x49683b
xor esi, esi
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jb 0x496811
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x496d5c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x496dcc
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
push 1
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x496d95
push ebx
call esi
test eax, eax
je 0x496d95
mov ecx, dword [esp + 0x10]
push eax
call fcn.00401504
jmp 0x496db9
push 7
call edi
mov ebx, eax
test ebx, ebx
je 0x496dcf
push ebx
call esi
test eax, eax
je 0x496dcf
mov ecx, dword [esp + 0x10]
push eax
call fcn.00401504
mov ecx, dword [esp + 0x10]
call fcn.00496cd1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret 4
push 0xd
call edi
mov ebx, eax
test ebx, ebx
je 0x496e1e
push ebx
call esi
mov esi, eax
test esi, esi
je 0x496e1e
push 0xffffffffffffffff
push esi
call fcn.00405d07
pop ecx
pop ecx
mov edi, eax
test edi, edi
je 0x496e17
mov ecx, dword [esp + 0x10]
push edi
call fcn.00401504
push edi
call fcn.004b6e29
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor esi, esi
inc esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
jmp 0x496dc9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor esi, esi
jmp 0x496e0d

Function at 0x4972cd
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 2
mov esi, ecx
push 0
lea eax, [esi + 8]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esi + 0x408], eax
test eax, eax
je 0x4972f5
push eax
jmp 0x497320
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
mov dword [esi + 0x408], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esi + 0x408]
test esi, esi
jne 0x49731f
xor eax, eax
inc eax
jmp 0x497328
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
leave
ret 4