joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001da67
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 4], 0
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x7a
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x75
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x79
mov byte [ebp - 0xe], 0x44
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x70
mov byte [ebp - 7], 0x74
mov byte [ebp - 6], 0x6f
mov byte [ebp - 5], 0x72
call fcn.1001db1c
lea ecx, [ebp - 0x20]
mov dword [0x10051d38], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001dafc
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x1d
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x1001db71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 7], 0
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x53
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x63
mov byte [ebp - 0x1a], 0x75
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x79
mov byte [ebp - 0x15], 0x44
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x44
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0x6c
call fcn.1001db1c
lea ecx, [ebp - 0x20]
mov dword [0x10051d38], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001dbfa
leave
ret
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x1d
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x1001e1ee
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push 0x19
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.10012c8b
add esp, 0xc
mov byte [ebp - 0x1c], 0x57
mov byte [ebp - 0x17], 0x68
mov byte [ebp - 0x12], 0x4d
mov byte [ebp - 0xd], 0x42
mov byte [ebp - 8], bl
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0xc], 0x79
mov byte [ebp - 7], bl
mov byte [ebp - 0x1a], 0x64
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 6], bl
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x14], 0x54
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 5], bl
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 9], bl
mov byte [ebp - 4], bl
call fcn.10012cba
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x1001e27c
xor eax, eax
jmp 0x1001e2ab
push esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x19
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x1001eab7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea eax, [ebp - 0x108]
push edi
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0xd4
push eax
mov byte [ebp - 0xf], 0x31
mov byte [ebp - 0xe], 0x22
mov byte [ebp - 0xd], 0xf0
mov byte [ebp - 0xc], 0xbb
mov byte [ebp - 0xb], 0x19
mov byte [ebp - 0xa], 0xe9
mov byte [ebp - 9], 0x45
mov byte [ebp - 8], 0x35
mov byte [ebp - 7], 0x68
mov byte [ebp - 6], 0x24
mov byte [ebp - 5], 0xc2
mov byte [ebp - 4], 0x9e
mov byte [ebp - 3], 0x71
mov byte [ebp - 2], 0x7a
mov byte [ebp - 1], 0x68
call fcn.1001ec85
push 0x20
mov esi, 0x1005514c
pop edi
lea eax, [ebp - 0x30]
push edi
push esi
push eax
call fcn.10016215
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.1001ed42
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10016215
add esp, 0x30
cmp byte [ebp - 0x30], 0
je 0x1001eb97
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.1001eba4
pop ecx
test eax, eax
pop ecx
jne 0x1001eb9b
add esi, edi
push edi
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10016215
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.1001ed42
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10016215
add esp, 0x28
jmp 0x1001eb4b
xor eax, eax
jmp 0x1001eba0
mov eax, 0xeaf5
pop edi
pop esi
leave
ret
Function at 0x1001eba4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x46
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0x11], 0x64
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0x10], 0x57
mov byte [ebp - 0xb], 0x77
call fcn.1001ec20
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001ec00
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x1001ec20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
mov eax, dword [0x10051d30]
and byte [ebp - 0xa], 0
and byte [ebp - 9], 0
and byte [ebp - 8], 0
add esp, 0xc
cmp eax, 1
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0x14], 0x75
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x33
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x2e
mov byte [ebp - 0xd], 0x64
jne 0x1001ec83
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10051d30], eax
leave
ret
Function at 0x1001ee71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 2
mov byte [ebp - 0xc], 0x4f
mov byte [ebp - 0xa], 0x4c
mov byte [ebp - 8], 0x44
mov byte [ebp - 6], 0x47
mov byte [ebp - 4], 0x45
mov byte [ebp - 2], 0x45
mov byte [ebp - 0xb], 0x4c
mov byte [ebp - 9], 0x59
mov byte [ebp - 7], 0x42
mov byte [ebp - 5], 0x2e
mov byte [ebp - 3], 0x58
mov byte [ebp - 1], bl
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x14], 0x4e
mov byte [ebp - 0x12], 0x53
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0x17], 0x45
mov byte [ebp - 0x15], 0x45
mov byte [ebp - 0x13], 0x44
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0xf], 0x58
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1e], 0x4d
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1a], 0x45
mov byte [ebp - 0x23], 0x33
mov byte [ebp - 0x21], 0x44
mov byte [ebp - 0x1f], 0x53
mov byte [ebp - 0x1d], 0x2e
mov byte [ebp - 0x1b], 0x58
mov byte [ebp - 0x19], bl
call fcn.1001f170
mov esi, eax
pop ecx
cmp esi, 0xffffffff
pop ecx
mov dword [ebp - 0x28], esi
je 0x1001f027
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0x128
push eax
push esi
call fcn.1001f220
pop ecx
test eax, eax
pop ecx
je 0x1001f02e
call fcn.1001f0d2
cmp dword [ebp - 0x14c], eax
jne 0x1001ef5b
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.1001f2a8
pop ecx
test eax, eax
pop ecx
jne 0x1001ef45
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.1001f220
pop ecx
test eax, eax
pop ecx
je 0x1001f02e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14c], eax
jne 0x1001f00f
lea eax, [ebp - 0x130]
push eax
call fcn.1001f09a
lea eax, [ebp - 0x130]
push eax
call fcn.1001f077
lea eax, [ebp - 0xc]
push eax
call fcn.1001f09a
lea eax, [ebp - 0x18]
push eax
call fcn.1001f09a
lea eax, [ebp - 0x24]
push eax
call fcn.1001f09a
lea eax, [ebp - 0xc]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.1001f03c
mov esi, eax
lea eax, [ebp - 0x18]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.1001f03c
mov edi, eax
lea eax, [ebp - 0x24]
push 0xd
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.1001f03c
add esp, 0x38
cmp esi, ebx
je 0x1001f027
cmp edi, ebx
je 0x1001f027
cmp eax, ebx
je 0x1001f027
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.1001f2a8
pop ecx
test eax, eax
pop ecx
je 0x1001f02b
jmp 0x1001ef85
xor eax, eax
jmp 0x1001f037
push 1
pop ebx
push esi
call fcn.10012ef4
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001f0d2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
and byte [ebp - 1], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x43
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x63
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x49
mov byte [ebp - 2], 0x64
call fcn.10012cba
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10012c8b
mov eax, fcn.1001f0d2
add esp, 0xc
test eax, eax
je 0x1001f168
call esi
jmp 0x1001f16d
call fcn.1001cc42
pop esi
leave
ret

Function at 0x1001f170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.10012c8b
and byte [ebp - 4], 0
add esp, 0xc
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 8], 0x73
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x16], 0x54
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 7], 0x68
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 6], 0x6f
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 5], 0x74
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 9], 0x70
call fcn.10012cba
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001f200
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x1001f220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.10012c8b
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x69
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x72
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x73
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 3], 0x74
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x46
call fcn.10012cba
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001f288
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x1001f2a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.10012c8b
and byte [ebp - 3], 0
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x65
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x78
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x74
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x4e
call fcn.10012cba
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001f310
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.10012c8b
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x10032140
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.hid.dll
call esi
mov edi, eax
test edi, edi
jne 0x10032169
push 3
call fcn.100304d0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
ret
push str.SetupApi.dll
call esi
mov ebx, eax
test ebx, ebx
jne 0x10032189
push 4
call fcn.100304d0
add esp, 4
mov eax, 2
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HidD_GetPreparsedData
push edi
call esi
push str.HidD_GetFeature
push edi
mov dword [0x1009ef2c], eax
call esi
push str.HidD_SetFeature
push edi
mov dword [0x1009e9e4], eax
call esi
push str.HidD_GetAttributes
push edi
mov dword [0x1009ef20], eax
call esi
push str.HidP_GetCaps
push edi
mov dword [0x1009ee04], eax
call esi
push str.HidD_FreePreparsedData
push edi
mov dword [0x1009e9e8], eax
call esi
push str.HidD_GetHidGuid
push edi
mov dword [0x1009ee00], eax
call esi
push str.SetupDiGetClassDevsA
push ebx
mov dword [0x1009e9d8], eax
call esi
push str.SetupDiGetDeviceInterfaceDetailA
push ebx
mov dword [0x1009e9e0], eax
call esi
push str.SetupDiDestroyDeviceInfoList
push ebx
mov dword [0x1009ef28], eax
call esi
push str.SetupDiEnumDeviceInterfaces
push ebx
mov dword [0x1009e9dc], eax
call esi
mov ecx, dword [0x1009ef2c]
mov dword [0x1009e9ec], eax
test ecx, ecx
je 0x100322ad
mov ecx, dword [0x1009e9e4]
test ecx, ecx
je 0x100322ad
mov ecx, dword [0x1009ef20]
test ecx, ecx
je 0x100322ad
mov ecx, dword [0x1009ee04]
test ecx, ecx
je 0x100322ad
mov ecx, dword [0x1009e9e8]
test ecx, ecx
je 0x100322ad
mov ecx, dword [0x1009ee00]
test ecx, ecx
je 0x100322ad
mov ecx, dword [0x1009e9d8]
test ecx, ecx
je 0x100322ad
mov ecx, dword [0x1009e9e0]
test ecx, ecx
je 0x1003229a
mov ecx, dword [0x1009ef28]
test ecx, ecx
je 0x1003229a
mov ecx, dword [0x1009e9dc]
test ecx, ecx
je 0x1003229a
test eax, eax
je 0x1003229a
push 0
call fcn.100304d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 6
call fcn.100304d0
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebx
ret
push 5
call fcn.100304d0
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebx
ret
Function at 0x10032980
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor al, al
test esi, esi
je 0x100329aa
mov edx, dword [esp + 0xc]
cmp edx, 2
jl 0x100329aa
xor ecx, ecx
test edx, edx
jle 0x100329a6
push ebx
mov bl, byte [ecx + esi]
xor al, bl
inc ecx
cmp ecx, edx
jl 0x1003299b
pop ebx
not al
pop esi
ret
xor al, al
pop esi
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x45733f]
shl eax, 2
mov dword [0x457343], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0044cc74
pop edx
call fcn.0044cbd8
call fcn.0044ccb4
push 0
call fcn.0044ded8
pop ecx
push 0x4572e8
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x457347], eax
push 0
jmp fcn.00451d20

Function at 0x405498
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0044ae08
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x409ae8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0044a9c4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x409b37
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0044abf4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fcf4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x40fcfa
ret

Function at 0x41219c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4121ed
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4121d4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4121c4
jmp 0x4121ed
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4121d5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ace8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45bbc4
cmp dword [edi], 0
jne 0x41ad64
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x45bbc0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x457d6c
mov ecx, 2
call fcn.00449a18
mov edx, 0x41acc0
lea eax, [esi + 5]
call fcn.0041ace0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ace0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41ad39
mov dword [0x45bbc0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ae80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41aed0]
test si, 4
je 0x41ae94
or bl, 1
test si, 8
je 0x41ae9e
or bl, 4
test si, 1
je 0x41aea8
or bl, 8
test si, 2
je 0x41aeb2
or bl, 0x10
test si, 0x10
je 0x41aebc
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41aecb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41aed4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41af0c]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41aeed
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41aefc
or bl, 4
test esi, 0x20000000
je 0x41af07
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x42145c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x42146e
add esp, 0xfffffff0
call fcn.0044a254
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ea4c
mov eax, ebx
call fcn.004217a8
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x43876c]
call fcn.00449f24
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x43876c]
call fcn.00449f24
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x43876c]
call fcn.00449f24
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x43876c]
call fcn.00449f24
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x43876c]
call fcn.00449f24
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x41df4c
push eax
push 0
push 0
mov eax, dword [0x45b924]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x40f21c]
call fcn.00410754
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40f21c]
call fcn.00410754
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x40f21c]
call fcn.00410754
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00421b88
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x421aa4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x421aa4
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x421aa4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42157d
call fcn.0044a2ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret