joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dc6f2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6b5ef4], 8
lea ecx, [ebp - 0x10]
push esi
mov eax, 0x6b5ee0
cmovae eax, dword [0x6b5ee0]
xor esi, esi
push esi
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x4dc771
push esi
call fcn.0043f7a3
pop ecx
push 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push str.LastUpdate
push dword [ebp - 0x10]
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042d8e5
leave
ret

Function at 0x4de642
Capabilities:
Delete file

Disassembly:
nop
push ebp
mov ebp, esp
pop ebp
jmp 0x4c227f

Function at 0x4de672
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c26a9

Function at 0x4de6a2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c2c76

Function at 0x4de732
Capabilities:
Get common file path

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
mov dword [ebp - 0x210], 0x104
push esi
push eax
call fcn.0042e9f0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x4c3e35
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00414483
jmp 0x4c3e49
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042d8e5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4c3dd2
Function at 0x4de752
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
shl eax, 8
push esi
add eax, 0x20019
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x4c4508
mov ecx, dword [ecx]
lea esi, [ebp - 0x830]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x82c], 0x820
test eax, eax
cmovle esi, eax
and dword [ebp - 0x828], 0
test esi, esi
js 0x4c45b0
cmp dword [edi + 0x14], 8
jb 0x4c4545
mov edi, dword [edi]
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x4c45a4
cmp dword [ebp - 0x828], 1
je 0x4c4594
cmp dword [ebp - 0x828], 2
je 0x4c4594
mov esi, 0x8007065d
jmp 0x4c45a4
lea eax, [ebp - 0x824]
mov ecx, ebx
push eax
xor esi, esi
call fcn.00414483
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d8e5
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x4c44d0

Function at 0x4de782
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c4d3b

Function at 0x4de7a2
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
pop ebp
jmp 0x4c5138

Function at 0x4de7c2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c5315

Function at 0x4de9d2
Capabilities:
Enumerate gui resources

Disassembly:
push 0x6c
mov eax, 0x61cbb8
call fcn.0042d958
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x78], eax
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x70]
call fcn.00487ac0
and dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
and dword [ebp - 0x34], 0
xor ebx, ebx
inc ebx
push esi
mov dword [ebp - 4], ebx
call fcn.004144d5
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x30]
and dword [ebp - 0x1c], 0
push edi
mov byte [ebp - 4], 2
call fcn.004144d5
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x78]
push eax
push 0x4c8780
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x4c8adb
cmp dword [ebp - 0x18], 0
ja 0x4c8add
xor bl, bl
lea ecx, [ebp - 0x78]
call 0x4c182a
mov al, bl
call fcn.0042d907
ret 0x10
push ebp
mov ebp, esp
pop ebp
jmp 0x4c8a66
Function at 0x4dea42
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x4c92b0
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4c9308
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 2]
jb 0x4c92d7
mov ebx, dword [ebx]
movzx eax, byte [ebp + 0x1c]
inc eax
cmp dword [esi + 0x10], 0
jne 0x4c92e6
xor esi, esi
jmp 0x4c92ee
cmp dword [esi + 0x14], 8
jb 0x4c92ee
mov esi, dword [esi]
push ecx
push ebx
push eax
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042d8e5
leave
ret 0x18
push ebp
mov ebp, esp
pop ebp
jmp 0x4c9277

Function at 0x4dea52
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c9326
Function at 0x4e1252
Capabilities:
Accept command line arguments

Disassembly:
push 0x230
mov eax, 0x6201dd
call fcn.0042d958
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x23c], esi
xor eax, eax
mov dword [ebp - 0x238], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
mov word [esi], ax
xor ebx, ebx
mov dword [ebp - 4], edi
inc ebx
mov dword [ebp - 0x238], ebx
call fcn.004c7ae4
mov byte [ebp - 0x234], al
test al, al
jne 0x4e1317
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0042e9f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4e1317
lea eax, [ebp - 0x218]
push 0x65e904
push eax
call fcn.005f7431
pop ecx
pop ecx
test eax, eax
je 0x4e1317
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x230]
call fcn.00414308
push edi
push str._allusers
lea ecx, [ebp - 0x230]
call fcn.0045c262
cmp eax, 0xffffffff
lea ecx, [ebp - 0x230]
setne byte [ebp - 0x234]
call fcn.00415bf1
push esi
push dword [ebp - 0x234]
call fcn.004c4ce3
push 0x67670c
mov ecx, esi
call fcn.004144ac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004e147b
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0048d11a
mov dword [ebp - 0x238], 3
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ebx
push eax
mov ecx, esi
call fcn.004198aa
lea ecx, [ebp - 0x230]
call fcn.00415bf1
mov eax, esi
call fcn.0042d907
ret 0xc
Function at 0x4e7322
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esi], eax
mov ecx, dword [ecx]
cmp ecx, dword [ebp + 0x10]
je 0x4e7481
mov eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
inc ebx
mov edi, 0x3ff
mov ecx, eax
cmp dword [esi], edx
je 0x4e7481
mov edx, dword [ebp + 8]
movzx ecx, word [eax]
mov eax, ecx
mov byte [ebp - 1], 0
movzx edx, word [edx]
cmp bx, dx
jae 0x4e73a1
lea eax, [ecx + 0x2400]
cmp ax, di
ja 0x4e7490
mov eax, edx
lea ebx, [ecx - 0xdc00]
shl eax, 0xa
or ebx, eax
mov cl, byte [ebp - 1]
cmp ebx, 0x80
jae 0x4e73be
mov dl, bl
xor edi, edi
jmp 0x4e73ee
mov ebx, eax
lea eax, [ecx + 0x2800]
cmp ax, di
ja 0x4e7390
add ebx, 0xffff2840
mov cl, 1
shl ebx, 0xa
mov byte [ebp - 1], cl
jmp 0x4e7393
mov edx, ebx
cmp ebx, 0x800
jae 0x4e73d3
shr edx, 6
xor edi, edi
or dl, 0xc0
inc edi
jmp 0x4e73ee
cmp ebx, 0x10000
jae 0x4e73e5
shr edx, 0xc
or dl, 0xe0
push 2
jmp 0x4e73ed
shr edx, 0x12
or dl, 0xf0
push 3
pop edi
movzx eax, cl
mov ecx, dword [ebp - 0xc]
xor eax, 1
add eax, eax
cmp edi, 3
cmovb eax, edi
mov dword [ebp - 0x10], eax
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [esi]
cmp eax, dword [ebp - 8]
jl 0x4e7481
mov eax, ecx
mov ecx, dword [ebp + 0x14]
add eax, 2
cmp byte [ebp - 1], 0
mov dword [ecx], eax
jne 0x4e7425
cmp edi, 3
jae 0x4e7430
mov eax, dword [esi]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp - 0x10]
jmp 0x4e7433
mov eax, dword [ebp - 8]
test eax, eax
je 0x4e7458
imul ecx, edi, 6
sub ecx, 6
mov edx, ebx
dec eax
shr edx, cl
mov dword [ebp - 8], eax
and dl, 0x3f
mov eax, dword [esi]
or dl, 0x80
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp - 8]
test eax, eax
jg 0x4e743a
xor ecx, ecx
shr ebx, 0xa
inc ecx
movzx eax, bx
cmp byte [ebp - 1], 0
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp - 0xc], eax
cmp ecx, dword [ebp + 0x10]
jne 0x4e734b
xor eax, eax
cmp dword [ebp + 0xc], ecx
sete al
pop edi
pop esi
pop ebx
leave
ret 0x1c
push 2
pop eax
jmp 0x4e7489
Function at 0x50526e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6d0358], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x50536f
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0042e9f0
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movsx eax, byte [esi + str._EWID]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
movzx eax, word [ebp - 0x806]
push eax
movzx eax, word [ebp - 0x808]
push eax
movzx eax, word [ebp - 0x80a]
push eax
movzx eax, word [ebp - 0x80c]
push eax
movzx eax, word [ebp - 0x80e]
push eax
movzx eax, word [ebp - 0x812]
push eax
movzx eax, word [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push str._04u__02u__02u__02u:_02u:_02u._03u_T_u___c____s_
push eax
call fcn.00504bbb
mov esi, eax
mov edi, 0x800
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
push 0
push dword [ebp + 0x10]
sub ecx, esi
push ecx
lea ecx, [ebp - 0x804]
add ecx, esi
push ecx
call fcn.00426591
add esi, eax
lea ecx, [edi - 2]
add esp, 0x44
mov eax, esi
cmp esi, ecx
cmova eax, ecx
inc esi
mov byte [ebp + eax - 0x804], 0xa
lea eax, [edi - 1]
cmp esi, eax
ja 0x50535a
mov eax, esi
cmp esi, edi
jae 0x50537d
mov byte [ebp + eax - 0x804], 0
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042d8e5
leave
ret
call fcn.0042e1f2
int3

Function at 0x507b08
Capabilities:
Get common file path

Disassembly:
push 0x248
mov eax, 0x622b1a
call fcn.0042d958
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x254], esi
mov ecx, esi
push 0x677a5c
mov dword [ebp - 4], edi
mov dword [ebp - 0x250], edi
call fcn.00426baa
push 0x20a
xor ebx, ebx
mov dword [ebp - 4], edi
lea eax, [ebp - 0x21c]
inc ebx
push edi
push eax
mov dword [ebp - 0x250], ebx
call fcn.0042e9f0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x507bb6
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00414308
lea eax, [ebp - 0x234]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00519b80
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.0045dead
lea ecx, [ebp - 0x24c]
call fcn.005008ff
lea ecx, [ebp - 0x234]
call fcn.00507bbe
mov eax, esi
call fcn.0042d907
ret
Function at 0x516b7c
Capabilities:
Get file version info

Disassembly:
push 0x10c
mov eax, 0x624c9d
call fcn.0042d958
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
call fcn.0051691b
pop ecx
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x516be8
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
jmp 0x516d6f
lea eax, [ebp - 0x110]
push eax
push edi
mov ecx, eax
call fcn.0051603f
push dword [ebp - 0x110]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x516bd7
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x677a88
push dword [ebp - 0x110]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x516bd7
mov eax, dword [ebp - 0x104]
movzx eax, word [eax + 0x14]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00504b22
mov eax, dword [ebp - 0x104]
mov byte [ebp - 4], 2
movzx eax, word [eax + 0x16]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00504b22
mov eax, dword [ebp - 0x104]
mov byte [ebp - 4], 3
movzx eax, word [eax + 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00504b22
mov eax, dword [ebp - 0x104]
mov byte [ebp - 4], 4
movzx eax, word [eax + 0x12]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00504b22
mov edi, 0x679f80
mov byte [ebp - 4], 5
push edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00509be5
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00509b9a
push edi
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push eax
call fcn.00509be5
add esp, 0x44
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00509b9a
push edi
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 9
push eax
call fcn.00509be5
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
push ecx
push eax
push esi
call fcn.00509b9a
add esp, 0x24
lea ecx, [ebp - 0xa0]
call fcn.005008ff
lea ecx, [ebp - 0xb8]
call fcn.005008ff
lea ecx, [ebp - 0xd0]
call fcn.005008ff
lea ecx, [ebp - 0xe8]
call fcn.005008ff
lea ecx, [ebp - 0x100]
call fcn.005008ff
lea ecx, [ebp - 0x40]
call fcn.005008ff
lea ecx, [ebp - 0x58]
call fcn.005008ff
lea ecx, [ebp - 0x70]
call fcn.005008ff
lea ecx, [ebp - 0x88]
call fcn.005008ff
lea ecx, [ebp - 0x28]
call fcn.00507bbe
lea ecx, [ebp - 0x110]
call fcn.0041cdbb
mov eax, esi
call fcn.0042d907
ret
Function at 0x516d8a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
mov edi, 0x104
mov dword [ebp - 0x10c], esi
push edi
push 0
push eax
call fcn.0042e9f0
add esp, 0xc
mov dword [ebp - 0x10c], edi
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 2
push str.CommercialId
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00426baa
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042d8e5
leave
ret

Function at 0x516e0a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
mov edi, 0x104
mov dword [ebp - 0x10c], esi
push edi
push 0
push eax
call fcn.0042e9f0
add esp, 0xc
mov dword [ebp - 0x10c], edi
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0x10002
push str.BuildLabEx
push 0x663518
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00426baa
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042d8e5
leave
ret
Function at 0x5177ca
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x128
mov eax, 0x624f1e
call fcn.0042d958
mov edi, ecx
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x134], edi
xor eax, eax
mov dword [edi], vtable.Microsoft::Applications::Events::PlatformAbstraction::DeviceInformationImpl.0
push 0xf
pop ebx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ebx
mov dword [ebp - 4], eax
mov byte [edi + 4], al
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 1
call fcn.0053490a
lea esi, [edi + 0x68]
xor ecx, ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ebx
mov byte [esi], cl
lea ebx, [edi + 0x80]
push 0xf
pop eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
mov byte [ebx], cl
add edi, 0x98
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov byte [edi], cl
mov eax, dword [ebp - 0x130]
mov byte [ebp - 4], 5
mov dword [eax + 0xb0], ecx
call fcn.00517b87
mov ecx, dword [ebp - 0x130]
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 0x128]
push eax
call fcn.00517c28
pop ecx
push eax
mov ecx, esi
call fcn.0045dead
lea ecx, [ebp - 0x128]
call fcn.005008ff
mov esi, 0x100
lea eax, [ebp - 0x110]
push esi
push 0
push eax
call fcn.0042e9f0
mov dword [ebp - 0x12c], esi
mov esi, dword [str.Unknown_Manufacturer]
push esi
call fcn.00605b70
add esp, 0x10
mov ecx, ebx
push eax
push esi
call fcn.00426b3b
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 2
push str.SystemManufacturer
push str.SYSTEMCurrentControlSetControlSystemInformation
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x51790a
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x128]
call fcn.00426baa
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00474815
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 5
call fcn.005008ff
cmp dword [0x6b72cc], 4
jl 0x517936
cmp dword [ebx + 0x14], 0x10
jb 0x51791b
mov ebx, dword [ebx]
call fcn.00504df0
push ebx
push str.Device_Manufacturer_s
call fcn.0050500c
push eax
push 4
call fcn.0050526e
add esp, 0x10
mov esi, dword [str.Unknown_Model]
push esi
mov dword [ebp - 0x12c], 0x100
call fcn.00605b70
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00426b3b
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 2
push str.SystemProductName
push str.SYSTEMCurrentControlSetControlSystemInformation
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x5179b4
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x128]
call fcn.00426baa
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.00474815
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 5
call fcn.005008ff
cmp dword [0x6b72cc], 4
jl 0x5179e0
cmp dword [edi + 0x14], 0x10
jb 0x5179c5
mov edi, dword [edi]
call fcn.00504df0
push edi
push str.Device_Model_s
call fcn.0050500c
push eax
push 4
call fcn.0050526e
add esp, 0x10
call fcn.00517aec
mov ecx, dword [ebp - 0x130]
mov dword [ecx + 0x20], eax
mov eax, ecx
call fcn.0042d907
ret 4
Function at 0x517b87
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x24]
pop edi
sub eax, 0
je 0x517bc8
sub eax, 5
je 0x517bc4
sub eax, 1
je 0x517bbf
sub eax, 3
je 0x517bbf
xor eax, eax
leave
ret
push 2
pop eax
leave
ret
push 3
jmp 0x517bc1
xor eax, eax
inc eax
leave
ret

Function at 0x51847a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62207d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6b500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.Microsoft::Applications::Events::PlatformAbstraction::WorkerThread.0
call fcn.00518750
lea ecx, [edi + 0xa8]
call fcn.00518426
lea esi, [edi + 0xa0]
mov ecx, esi
call fcn.00518ba3
push 0xc
push dword [esi]
call fcn.004ea3ec
pop ecx
pop ecx
lea esi, [edi + 0x98]
mov ecx, esi
call fcn.00518ba3
push 0xc
push dword [esi]
call fcn.004ea3ec
lea esi, [edi + 0x3c]
lea eax, [esi + 0x30]
push eax
call fcn.004ecc5b
push esi
call fcn.004ea295
lea eax, [edi + 0xc]
push eax
call fcn.004ea295
add esp, 0x14
cmp dword [edi + 8], 0
jne 0x518517
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret
call fcn.00437308
int3
Function at 0x5195f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov dword [edi], eax
mov ecx, dword [ecx]
cmp ecx, dword [ebp + 0x10]
je 0x519741
mov eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
inc ebx
mov esi, 0x3ff
mov ecx, eax
cmp dword [edi], edx
je 0x519741
mov edx, dword [ebp + 8]
movzx ecx, word [eax]
mov eax, ecx
mov byte [ebp - 1], 0
movzx edx, word [edx]
cmp bx, dx
jae 0x51966f
lea eax, [ecx + 0x2400]
cmp ax, si
ja 0x519750
mov eax, edx
lea ebx, [ecx - 0xdc00]
shl eax, 0xa
or ebx, eax
mov cl, byte [ebp - 1]
cmp ebx, 0x80
jae 0x51968c
mov dl, bl
xor eax, eax
jmp 0x5196bc
mov ebx, eax
lea eax, [ecx + 0x2800]
cmp ax, si
ja 0x51965e
add ebx, 0xffff2840
mov cl, 1
shl ebx, 0xa
mov byte [ebp - 1], cl
jmp 0x519661
mov edx, ebx
cmp ebx, 0x800
jae 0x5196a1
shr edx, 6
xor eax, eax
or dl, 0xc0
inc eax
jmp 0x5196bc
cmp ebx, 0x10000
jae 0x5196b3
shr edx, 0xc
or dl, 0xe0
push 2
jmp 0x5196bb
shr edx, 0x12
or dl, 0xf0
push 3
pop eax
movzx esi, cl
mov ecx, dword [ebp - 0xc]
xor esi, 1
add esi, esi
mov dword [ebp - 8], eax
cmp eax, 3
cmovb esi, eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [edi]
inc esi
cmp eax, esi
jl 0x519741
mov eax, ecx
mov ecx, dword [ebp + 0x14]
add eax, 2
cmp byte [ebp - 1], 0
mov dword [ecx], eax
mov ecx, dword [ebp - 8]
jne 0x5196f2
cmp ecx, 3
jae 0x5196f9
mov eax, dword [edi]
mov byte [eax], dl
inc dword [edi]
dec esi
test esi, esi
jle 0x519718
imul ecx, ecx, 6
mov eax, dword [edi]
sub ecx, 6
mov edx, ebx
dec esi
shr edx, cl
and dl, 0x3f
or dl, 0x80
mov byte [eax], dl
inc dword [edi]
test esi, esi
jg 0x519700
xor ecx, ecx
shr ebx, 0xa
inc ecx
movzx eax, bx
cmp byte [ebp - 1], 0
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp - 0xc], eax
cmp ecx, dword [ebp + 0x10]
jne 0x519619
xor eax, eax
cmp dword [ebp + 0xc], ecx
sete al
pop edi
pop esi
pop ebx
leave
ret 0x1c
push 2
pop eax
jmp 0x519749