joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472dc0
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x572638
push 0x4ec5b0
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x580124]
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 - 0x44c], edx
mov dword [ebp - 0x450], ecx
xor ebx, ebx
mov dword [ebp - 0x448], ebx
xor esi, esi
mov dword [ebp - 0x454], esi
xor edi, edi
mov dword [ebp - 0x458], edi
mov dword [ebp - 4], ebx
push 0x5646e0
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x45c], eax
test eax, eax
je 0x472f29
push dword [ebp - 0x450]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
test eax, eax
je 0x472f29
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x454], esi
test esi, esi
je 0x472f29
mov dword [ebp - 0x444], 0x428
lea eax, [ebp - 0x444]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x472ed1
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x44c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x472ec9
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x44c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x472ec9
lea eax, [ebp - 0x444]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x472e87
mov eax, dword [ebp - 0x428]
jmp 0x472ed3
xor eax, eax
test eax, eax
jne 0x472ee1
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x472f29
push 0
push 0
push eax
push dword [ebp - 0x45c]
push 0
push 0
push dword [ebp - 0x450]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
mov dword [ebp - 0x458], edi
test edi, edi
je 0x472f29
mov eax, dword [ebp + 8]
test eax, eax
jne 0x472f14
lea ebx, [eax + 1]
jmp 0x472f23
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 0x448], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.00472f4f
test ebx, ebx
je 0x472f6c
xor eax, eax
jmp 0x472f7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x472f7e
movzx eax, ax
or eax, 0x80070000
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.004e4c11
mov esp, ebp
pop ebp
ret
Function at 0x472ff0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x473060
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret
Function at 0x476d70
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542f88
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x580124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
push 0
push 1
push dword [ebp + 8]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x476ed6
cmp dword [ebp - 0x14], 0
je 0x476ed6
call fcn.00408090
mov ecx, eax
test ecx, ecx
jne 0x476ddf
push 0x80004005
call fcn.00407be0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x476df4
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x476df6
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
test edx, edx
jns 0x476e14
push 0x80070057
call fcn.00407be0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x476e31
push edx
lea ecx, [ebp - 0x10]
call fcn.00407610
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
push 1
push dword [ebp + 8]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
push dword [esi - 8]
push esi
test eax, eax
jne 0x476e87
call fcn.005053f1
add esp, 8
test eax, eax
js 0x476e0a
cmp eax, dword [esi - 8]
jg 0x476e0a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, edi
call fcn.004081d0
lea ecx, [ebp - 0x10]
call fcn.00407b80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005053f1
add esp, 8
test eax, eax
js 0x476e0a
cmp eax, dword [esi - 8]
jg 0x476e0a
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
add esi, 0xfffffff0
push esi
call fcn.00406f70
add esp, 4
lea ecx, [ebp - 0x10]
add eax, 0x10
mov dword [edi], eax
call fcn.00407b80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00408090
test eax, eax
jne 0x476ee9
push 0x80004005
call fcn.00407be0
mov edx, dword [eax]
cmp edx, vtable.ATL::CAtlStringMgr.0
jne 0x476efc
lock inc dword [eax + 0x14]
add eax, 8
jmp 0x476f01
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4770a0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x580124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
push 0
push ebx
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x477172
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x477172
push eax
lea ecx, [ebp - 0x24]
call fcn.00477e90
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov edi, dword [ebp - 0x24]
push 0
push 0
push ecx
push edi
push ebx
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
mov ecx, esi
lea eax, [ebp - 0x24]
push eax
jne 0x477149
mov dword [ebp - 0x20], edi
call fcn.00477ee0
lea ecx, [ebp - 0x24]
call fcn.0046e620
lea ecx, [ebp + 8]
call fcn.00407b80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0046e620
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4771fe
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4771fa
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4771fa
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x478a00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x478a31
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x478a20
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x47d320
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x47d4f6
push ebx
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x47d4f5
cmp eax, 0x29
jne 0x47d358
cmp dword [esi + 0x10], 0
jne 0x47d4f5
test dword [esi + 0x50], 0x10000000
je 0x47d501
cmp eax, 0x2e
jne 0x47d3b5
push 5
lea ecx, [esi + 0x24]
call fcn.0047d710
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x47d3a9
cmp word [eax], 0x5c
jne 0x47d3a6
add eax, 2
cmp eax, ecx
je 0x47d3a6
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x47d392
movzx edx, word [eax]
cmp edx, 0x28
je 0x47d3a4
cmp edx, 0x29
je 0x47d3a4
test cl, 0x10
jne 0x47d3a6
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x47d3a4
cmp ecx, 0x7d
jne 0x47d3a6
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.0047ae80
jmp 0x47d4e2
cmp eax, 0x5c
jne 0x47d41c
mov ecx, esi
call fcn.0047d2d0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x47d3e8
cmp word [esi + 0x48], 0x62
jne 0x47d3e8
push 4
lea ecx, [esi + 0x24]
call fcn.0047d710
mov ecx, esi
call fcn.0047d2d0
jmp 0x47d4e9
test eax, eax
je 0x47d410
cmp word [esi + 0x48], 0x42
jne 0x47d410
push 4
lea ecx, [esi + 0x24]
call fcn.0047d710
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0047d2d0
jmp 0x47d4e9
mov ecx, esi
call fcn.0047e9a0
jmp 0x47d4e2
cmp eax, 0x5b
jne 0x47d43e
mov ecx, esi
call fcn.0047d2d0
mov ecx, esi
call fcn.0047e950
cmp dword [esi + 0x4c], 0x5d
je 0x47d4db
jmp 0x47d4fa
cmp eax, 0x28
jne 0x47d46e
mov ecx, esi
call fcn.0047d2d0
mov ecx, esi
call fcn.0047ea70
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x47d501
mov ecx, esi
call fcn.0047d2d0
test bl, bl
je 0x47d4e9
jmp 0x47d4e2
cmp eax, 0x5e
jne 0x47d486
push 2
lea ecx, [esi + 0x24]
call fcn.0047d710
mov ecx, esi
call fcn.0047d2d0
jmp 0x47d4e9
cmp eax, 0x24
jne 0x47d49e
push 3
lea ecx, [esi + 0x24]
call fcn.0047d710
mov ecx, esi
call fcn.0047d2d0
jmp 0x47d4e9
cmp eax, 0x2a
je 0x47d50f
cmp eax, 0x2b
je 0x47d50f
cmp eax, 0x3f
je 0x47d50f
cmp eax, 0x7b
je 0x47d50f
cmp eax, 0x7d
jne 0x47d4c0
test dword [esi + 0x50], 0x10000000
je 0x47d508
cmp eax, 0x5d
jne 0x47d4ce
test dword [esi + 0x50], 0x10000000
je 0x47d4fa
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0047ecc0
mov ecx, esi
call fcn.0047d2d0
mov ecx, esi
call fcn.0047eb30
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x47d330
pop ebx
mov al, cl
pop esi
ret
push 4
call fcn.004cae8b
push 5
call fcn.004cae8b
push 6
call fcn.004cae8b
push 0xa
call fcn.004cae8b
int3
Function at 0x483c40
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x585744], 0
jne 0x483f0b
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.004e8ae0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
push str.RtlGetVersion
push str.NtDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x483cdd
lea ecx, [ebp - 0x128]
push ecx
call eax
test eax, eax
je 0x483cdd
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x483cdd
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push 0x55f580
mov ecx, 0x5856bc
mov dword [0x5850f4], 0
call fcn.004078f0
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x483e6c
sub eax, 1
je 0x483e1c
sub eax, 1
je 0x483d1f
push 0x55f580
jmp 0x483e7b
mov eax, dword [ebp - 0x124]
cmp eax, 4
ja 0x483d3e
mov dword [0x5850f4], 0x40
push str.Windows_NT
jmp 0x483e7b
cmp eax, 5
jne 0x483d97
mov eax, dword [ebp - 0x120]
test eax, eax
jne 0x483d61
mov dword [0x5850f4], 0x80
push str.Windows_2000
jmp 0x483e7b
cmp eax, 1
jne 0x483d7a
mov dword [0x5850f4], 0x100
push str.Windows_XP
jmp 0x483e7b
cmp eax, 2
jne 0x483e85
mov dword [0x5850f4], 0x200
push str.Windows_2003
jmp 0x483e7b
cmp eax, 6
jne 0x483e85
mov eax, dword [ebp - 0x120]
test eax, eax
jne 0x483dbe
mov dword [0x5850f4], 0x400
push str.Windows_Vista
jmp 0x483e7b
cmp eax, 1
jne 0x483dd7
mov dword [0x5850f4], 0x800
push str.Windows_7
jmp 0x483e7b
cmp eax, 2
jne 0x483df0
mov dword [0x5850f4], 0x1000
push str.Windows_8
jmp 0x483e7b
cmp eax, 3
jne 0x483e06
mov dword [0x5850f4], 0x2000
push str.Windows_8.1
jmp 0x483e7b
cmp eax, 4
jne 0x483e85
mov dword [0x5850f4], 0x4000
push str.Windows_10
jmp 0x483e7b
cmp dword [ebp - 0x124], 4
jne 0x483e85
mov eax, dword [ebp - 0x120]
test eax, eax
jne 0x483e40
mov dword [0x5850f4], 8
push str.Windows_9x
jmp 0x483e7b
cmp eax, 0xa
jne 0x483e56
mov dword [0x5850f4], 8
push str.Windows_9x
jmp 0x483e7b
cmp eax, 0x5a
jne 0x483e85
mov dword [0x5850f4], 0x20
push str.Windows_ME
jmp 0x483e7b
mov dword [0x5850f4], 1
push str.Windows_3.2
mov ecx, 0x5856bc
call fcn.00407a60
xorps xmm0, xmm0
mov dword [ebp - 0x140], 0
push 0x564700
push str.kernel32.dll
movaps xmmword [ebp - 0x160], xmm0
movaps xmmword [ebp - 0x150], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x483ec6
lea ecx, [ebp - 0x160]
push ecx
call eax
jmp 0x483ed3
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x160]
cmp ax, 9
je 0x483ef7
cmp ax, 6
je 0x483ef7
test ax, ax
jne 0x483f01
mov dword [0x584fec], 0
jmp 0x483f01
mov dword [0x584fec], 1
mov dword [0x585744], 1
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4841b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.004e8ae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x484214
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00407ab0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret

Function at 0x4846d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.004e8ae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x484734
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00407ab0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret
Function at 0x48b980
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x48ba1f
push 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004e8ae0
add esp, 0xc
mov dword [esp + 8], 0x30
lea eax, [esp + 8]
mov dword [esp + 0x1c], 0x400000
mov dword [esp + 0x30], str.Q360SoftMgrTimerWnd
mov dword [esp + 0x10], 0x48bf30
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48ba29
push esi
push 0xffffffffffffffeb
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x48f7c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], SysReAllocStringLen
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMasterPDF
push SysReAllocStringLen
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x48f82d
mov eax, dword [ebp - 4]
cmp eax, 0x80000001
je 0x48f80f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 1
push 0
push 0x563ce8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
cmp eax, 0x80000001
je 0x48f83e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4904c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d14
call fcn.004e5050
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], edx
mov dword [ebp - 0x2d14], eax
test eax, eax
je 0x49063d
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
push edi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.0048fdc0
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x490620
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2d0c], 0
lea eax, [ebp - 0x2cfc]
movq qword [ebp - 0x2d08], xmm0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.004e8ae0
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x490615
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.004e8ae0
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.004b8590
mov ecx, dword [ebp - 0x2d10]
xor eax, eax
add esp, 8
mov edx, 0x80070057
cmp ecx, 0x7fffffff
cmova eax, edx
test eax, eax
js 0x49060d
push ecx
lea eax, [ebp - 0x5ec]
mov edx, ecx
push eax
push ecx
mov ecx, dword [ebp - 0x2d14]
call fcn.00470a40
test eax, eax
mov eax, 1
cmove esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x49062a
inc edi
cmp edi, 0x10
jl 0x4904f4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret
Function at 0x4910a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f8
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x4f4], esi
push edi
mov edi, edx
mov dword [ebp - 0x4f8], edi
test esi, esi
je 0x491292
push ebx
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004e8ae0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4e0]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x49124f
xor esi, esi
mov dword [ebp - 0x4e4], 0x104
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push esi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x49123b
nop dword [eax]
lea eax, [ebp - 0x4e8]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call ebx
test eax, eax
jne 0x491205
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x4e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4911fd
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004e8ae0
add esp, 8
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x4dc]
call fcn.00490f80
add esp, 4
test eax, eax
je 0x4911fd
cmp byte [ebp - 0x68], 0
je 0x4911e7
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x4911fd
push ecx
lea eax, [ebp - 0xcc]
mov edx, 0x64
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.00470a40
push dword [ebp - 0x4e8]
call edi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e4], 0x104
push eax
lea eax, [ebp - 0x2d4]
inc esi
push eax
push esi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x491140
push dword [ebp - 0x4e0]
call edi
mov esi, dword [ebp - 0x4f4]
mov edi, dword [ebp - 0x4f8]
cmp byte [ebp - 0x68], 0
pop ebx
je 0x491292
xor edx, edx
mov eax, 0x80070057
cmp edi, 0x7fffffff
cmova edx, eax
test edx, edx
js 0x49127b
push ecx
lea eax, [ebp - 0x68]
mov edx, edi
push eax
push ecx
mov ecx, esi
call fcn.00470a40
mov edx, eax
xor eax, eax
test edx, edx
pop edi
setns al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret