joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436200
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x576d9c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x43621a
call fcn.00428ba0
mov ecx, eax
mov eax, dword [0x58bed0]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x436266
push 0xc
call fcn.00469ca4
mov esi, eax
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x576d9c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43625b
call fcn.00428ba0
mov ecx, dword [0x58bed0]
mov dword [eax + ecx*4], esi
mov eax, esi
pop esi
ret

Function at 0x4370c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [ebx + 4]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 4], ecx
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp esi, eax
je 0x437143
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x437143
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x437131
cmp esi, eax
jne 0x437123
jmp 0x437146
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
push edx
push dword [eax]
call fcn.00437260
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x437180
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x43719a
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x4371bc
cmp eax, esi
jne 0x4371a2
mov dword [ecx], edi
jmp 0x4371bc
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4371bc
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00430a00
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43baf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], 0
mov eax, dword [ecx + 0xc]
push esi
push edi
test eax, eax
je 0x43bb20
mov dword [ebp - 8], eax
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
lea ecx, [ebp - 8]
mov ebx, 1
jmp 0x43bb4a
call fcn.00431880
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, 2
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x43bb47
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
lea ecx, [ebp - 4]
mov esi, dword [ebp + 8]
or edi, 0xffffffff
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi], eax
test bl, 2
je 0x43bb85
mov eax, dword [ebp - 4]
and ebx, 0xfffffffd
test eax, eax
je 0x43bb85
lea ecx, [eax + 4]
mov eax, edi
lock xadd dword [ecx], eax
sub eax, 1
jne 0x43bb85
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
test bl, 1
je 0x43bbab
mov eax, dword [ebp - 8]
test eax, eax
je 0x43bbab
lea ecx, [eax + 4]
lock xadd dword [ecx], edi
sub edi, 1
jne 0x43bbab
lea edx, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [ecx]
call dword [edx + 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43c3f0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x168], 0
mov dword [ecx + 0x170], 0
mov dword [ecx + 0x174], 0
mov dword [ecx + 0x14], 0x67452301
mov dword [ecx + 0x18], 0xefcdab89
mov dword [ecx + 0x1c], 0x98badcfe
mov dword [ecx + 0x20], 0x10325476
mov dword [ecx + 0x24], 0xc3d2e1f0
ret
Function at 0x442e70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.004ac860
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x442ed6
jne 0x442ec6
cmp dword [ebp - 0x118], 0
ja 0x442ed6
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret

Function at 0x442ef0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57506c]
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
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x442f4d
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x10], 1
sete al
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret

Function at 0x442ff0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x57506c]
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 ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x443062
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 ecx, dword [ebp - 0x10]
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
Function at 0x448a70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x56dc08
push 0x4ae1d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x57506c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x448ac3
push 0xc1
jmp 0x448bab
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x448ada
push 0xbf
jmp 0x448bab
movzx eax, word [ebx + 0x14]
test ax, ax
je 0x448ba6
lea ecx, [ebx + 0x18]
add ecx, eax
mov dword [ebp - 0x24], ecx
xor esi, esi
mov dword [ebp - 0x20], esi
movzx eax, word [ebx + 6]
cmp esi, eax
jae 0x448ba6
lea eax, [esi + esi*4]
lea edi, [ecx + eax*8]
mov ecx, 0x56105c
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x448b30
test dl, dl
je 0x448b2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x448b30
add eax, 2
add ecx, 2
test dl, dl
jne 0x448b10
xor eax, eax
jmp 0x448b35
sbb eax, eax
or eax, 1
test eax, eax
jne 0x448b87
mov eax, dword [edi + 0xc]
test eax, eax
je 0x448ba6
cmp dword [edi + 0x10], 0
je 0x448ba6
mov esi, dword [ebp - 0x1c]
add esi, eax
mov eax, dword [esi]
cmp eax, 0x1c
jb 0x448ba6
cmp dword [esi + 4], 0x7263
jne 0x448ba6
cmp dword [esi + 8], 0
jne 0x448b64
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
mov ecx, dword [ebp - 0x24]
jmp 0x448af1
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x452671
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x452660
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x462970
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x46299b
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x210]
mov dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x46298a
lea eax, [ebp - 0x210]
push 0x567abc
push eax
call fcn.004c5185
add esp, 8
test eax, eax
je 0x4629d5
xor ecx, ecx
mov word [eax + 2], cx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x46298a
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.00469c8e
mov esp, ebp
pop ebp
ret

Function at 0x462a20
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x57506c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0x100
call fcn.0046a114
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x80
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x44
push eax
push ebx
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
jne 0x462af9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x462af7
cmp dword [ebp - 0x14], 0x44
jbe 0x462aa8
xor bl, bl
jmp 0x462afc
mov eax, dword [ebp - 0x10]
cmp eax, 0x80
jbe 0x462adc
xor ecx, ecx
mov edx, 2
mul edx
mov edi, esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a114
add esp, 4
mov esi, eax
test edi, edi
je 0x462adc
push edi
call fcn.00469c9f
add esp, 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x1c]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
setne bl
test esi, esi
je 0x462b09
push esi
call fcn.00469c9f
add esp, 4
mov al, bl
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 0x462bd0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d92b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x90], 0x10
mov word [ebp - 0x30], ax
xorps xmm0, xmm0
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x30]
movq qword [ebp - 0x1e], xmm0
push eax
movups xmmword [ebp - 0x2e], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x462ca2
push ecx
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x30]
call fcn.00462a20
add esp, 4
test al, al
je 0x462ca2
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x8c]
call fcn.00462b20
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004156f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x462c8b
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
mov ecx, esi
mov dword [esi], 0
call fcn.00462970
test al, al
mov al, 1
jne 0x462cbb
mov dword [esi], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
Function at 0x463350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
test esi, esi
jne 0x463362
xor al, al
pop esi
pop ebp
ret
mov byte [esi], 0
test eax, eax
je 0x46335d
push edi
xor cl, cl
mov edi, 4
inc eax
movzx edx, byte [eax - 1]
lea eax, [eax + 6]
movzx ecx, cl
xor edx, ecx
movzx ecx, byte [eax - 6]
movzx edx, byte [edx + 0x5617d0]
xor edx, ecx
movzx ecx, byte [eax - 5]
movzx edx, byte [edx + 0x5617d0]
xor edx, ecx
movzx ecx, byte [eax - 4]
movzx edx, byte [edx + 0x5617d0]
xor edx, ecx
movzx ecx, byte [eax - 3]
movzx edx, byte [edx + 0x5617d0]
xor edx, ecx
movzx ecx, byte [eax - 2]
movzx edx, byte [edx + 0x5617d0]
xor edx, ecx
mov cl, byte [edx + 0x5617d0]
sub edi, 1
jne 0x463372
xor cl, 0x55
mov al, 1
pop edi
mov byte [esi], cl
pop esi
pop ebp
ret
Function at 0x464720
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
sub esp, 8
mov dword [ebp - 0x38], eax
mov edx, esp
mov dword [edx], edi
test edi, edi
jne 0x46474e
xor ecx, ecx
jmp 0x464769
cmp byte [edi], 0
jne 0x464757
xor ecx, ecx
jmp 0x464769
mov ecx, edi
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x464760
sub ecx, esi
lea eax, [ebp - 0x1c]
mov dword [edx + 4], ecx
push eax
call fcn.0041a8b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x464780
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00401fe0
test esi, esi
jne 0x4647a9
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x38], 0
je 0x464857
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a114
add esp, 4
lea ecx, [ebp - 0x3c]
push eax
call fcn.00462ce0
push esi
mov esi, dword [ebp - 0x3c]
push esi
sub esp, 8
mov edx, esp
mov dword [edx], edi
test edi, edi
je 0x4647fc
cmp byte [edi], 0
jne 0x4647f0
xor edi, edi
jmp 0x4647fc
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4647f3
sub edi, ecx
lea eax, [ebp - 0x1c]
mov dword [edx + 4], edi
push eax
call fcn.0041a8b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x464813
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x1c]
call fcn.00401fe0
push esi
lea ecx, [ebp - 0x1c]
call fcn.004075f0
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.0041a7b0
mov ecx, dword [ebp - 0x38]
push eax
call fcn.00406230
lea ecx, [ebp - 0x34]
call fcn.00402090
lea ecx, [ebp - 0x1c]
call fcn.00401fe0
lea ecx, [ebp - 0x3c]
call fcn.0041e760
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00469c8e
mov esp, ebp
pop ebp
ret 8
Function at 0x464c00
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3bdc
call fcn.0046aa00
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0x10bc]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.004ac860
push 0x400
lea eax, [ebp - 0x14bc]
push 0
push eax
call fcn.004ac860
push esi
lea eax, [ebp - 0x104]
xor ebx, ebx
push str..PhysicalDrive_d
push eax
call fcn.004658d0
add esp, 0x24
lea eax, [ebp - 0x104]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x464e28
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x3bdc], ebx
lea eax, [ebp - 0x3bcc]
movq qword [ebp - 0x3bd8], xmm0
push ebx
push eax
mov dword [ebp - 0x3bd0], ebx
mov dword [ebp - 0x3bd8], ebx
mov dword [ebp - 0x3bd4], ebx
call fcn.004ac860
add esp, 0xc
lea eax, [ebp - 0x3bdc]
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x3bcc]
push eax
push 0xc
lea eax, [ebp - 0x3bd8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x464e1b
mov edx, dword [ebp - 0x3bc0]
lea eax, [ebp - 0xcbc]
push eax
push ebx
lea ecx, [ebp - 0x3bcc]
call fcn.00464a90
mov edx, dword [ebp - 0x3bbc]
lea eax, [ebp - 0x8d4]
push eax
push ebx
lea ecx, [ebp - 0x3bcc]
call fcn.00464a90
mov edx, dword [ebp - 0x3bb8]
lea eax, [ebp - 0xcbc]
push eax
push ebx
lea ecx, [ebp - 0x3bcc]
call fcn.00464a90
mov edx, dword [ebp - 0x3bb4]
lea eax, [ebp - 0x4ec]
push eax
push 1
lea ecx, [ebp - 0x3bcc]
call fcn.00464a90
add esp, 0x20
cmp byte [ebp - 0x10bc], bl
jne 0x464dcd
movsx eax, byte [ebp - 0x4ec]
push eax
call fcn.004b5317
add esp, 4
test eax, eax
jne 0x464d7c
movsx eax, byte [ebp - 0x4d9]
push eax
call fcn.004b5317
add esp, 4
test eax, eax
je 0x464dcd
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x10bc]
push 0x400
push eax
call fcn.004c53f2
lea eax, [ebp - 0x8d4]
push eax
lea eax, [ebp - 0x14bc]
push 0x400
push eax
call fcn.004c53f2
lea ecx, [ebp - 0x4ec]
add esp, 0x18
mov eax, ecx
mov ebx, 1
sub edi, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x464dc0
push 0x2710
lea eax, [ebp - 0x3bcc]
push 0
push eax
call fcn.004ac860
add esp, 0xc
lea eax, [ebp - 0x3bdc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x3bcc]
push eax
push 0
push 0
push 0x700a0
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
Function at 0x465120
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d98d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x78], edi
push 0x64
lea eax, [ebp - 0x74]
mov dword [ebp - 0x94], edi
push 0
push eax
mov dword [ebp - 0x90], 0
call fcn.004ac860
add esp, 0xc
mov byte [ebp - 0x80], 0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7f], 0
mov byte [ebp - 0x7b], 0
mov dword [ebp - 0x78], 0
push eax
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x465243
push ebx
lea ecx, [ebp - 0x8c]
call fcn.0041c680
mov esi, dword [ebp - 0x8c]
mov eax, esi
mov ecx, dword [ebp - 0x88]
sub eax, ecx
add eax, ebx
push eax
push 0
push ecx
call fcn.004ac860
add esp, 0xc
lea eax, [esi + ebx]
mov dword [ebp - 0x88], eax
test esi, esi
je 0x465243
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x465243
mov ebx, dword [ebp - 0x80]
nop
lea ecx, [esi + 8]
call fcn.00464e40
mov ecx, eax
cmp ecx, 1
je 0x465223
test ecx, ecx
jne 0x46523b
mov ax, word [esi + 0x198]
mov ebx, dword [esi + 0x194]
mov dword [ebp - 0x80], ebx
mov word [ebp - 0x7c], ax
test ecx, ecx
je 0x465246
mov esi, dword [esi]
test esi, esi
jne 0x465210
jmp 0x465246
mov ebx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [ebp - 0x7c]
push eax
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
shr ebx, 8
shr eax, 0x10
movzx eax, al
push eax
movzx eax, bl
push eax
movzx eax, byte [ebp - 0x80]
push eax
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x74]
push 0x64
push eax
call fcn.004011f0
mov dword [edi + 0x14], 0xf
add esp, 0x24
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [ebp - 0x74], 0
jne 0x46529e
xor ecx, ecx
jmp 0x4652ad
lea ecx, [ebp - 0x74]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4652a4
sub ecx, edx
push ecx
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.00402f80
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x90], 1
mov byte [ebp - 4], 0
call fcn.0041a740
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret
Function at 0x478a7c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x478aa2
call fcn.00475f70
jmp 0x478ace
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047544c
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x478ace
push 1
push ecx
push ecx
push eax
push 0x545618
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x47dcaf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x540d0c
push dword [ebp + 8]
call fcn.004b43cf
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x47dd0c
push ebx
push edi
push esi
call fcn.004b4e46
push eax
call fcn.004c3d7d
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x47dceb
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x47dd01
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.004b5e85
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.004b5aa8
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x47fd77
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004ac860
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x47fdd2
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x47fde6
cmp byte [ebp - 6], 1
jne 0x47fde6
cmp dword [ebp - 0x11c], 6
jne 0x47fde6
xor eax, eax
inc eax
jmp 0x47fde8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00469c8e
mov esp, ebp
pop ebp
ret

Function at 0x488660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x48866d
xor eax, eax
jmp 0x48869b
push dword [ecx + 4]
call fcn.00485876
pop ecx
test eax, eax
je 0x488688
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x488669
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4