joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7cee00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x7e48f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x7ceed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.007cb7a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x7cee61
mov edx, dword [eax]
jmp 0x7cee63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.007cd050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x7ceebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x7ceebf
cmp esi, edi
je 0x7ceebf
mov ecx, esi
call fcn.007c6a00
push esi
call fcn.007d41c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.007cb990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x7ceef5
mov eax, dword [eax]
jmp 0x7ceef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.007ca640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x7cef25
mov eax, dword [eax]
jmp 0x7cef27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x7cef76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x7cef76
cmp esi, edi
je 0x7cef76
mov eax, dword [esi]
cmp eax, edi
je 0x7cef5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x7cef6d
push eax
call fcn.007d41c8
add esp, 4
push esi
call fcn.007d41c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x7cef90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x7ceffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x7cf035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.007cee00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x7cefc5
mov edi, 0x7e98b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x7cf035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.007cee00
add edi, 4
add esp, 0xc
cmp edi, 0x7e98c0
jb 0x7cf000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x7cf070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.007d5082
mov esi, eax
add esp, 8
test esi, esi
je 0x7cf107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x7cf102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.007d4946
add esp, 8
test eax, eax
je 0x7cf0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x7cf0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.007d4946
add esp, 8
test eax, eax
jne 0x7cf0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x7cf102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x7cff10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x7e49fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x7d0002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.007d3dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x7d0002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.007cb6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.007d420b
push 0x10
call fcn.007d41d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x7cffc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.007c01c0
jmp 0x7cffc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.007cfb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x7cfff0
mov ecx, edi
call fcn.007c02c0
push edi
call fcn.007d41c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x7d0021
inc ebx
cmp ebx, 0x20
jb 0x7cff3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x7d1250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7e5808
push 0x7d5288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x7d1329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x7d1329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.007d41d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x7d1329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x7d1329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x7d132c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.007d1351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7d2000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x7d2131
push esi
call fcn.007d5145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.007c4080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x7d2131
push 0
push ebp
call fcn.007c43a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.007c4260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x7d208b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.007c42f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x7d2121
push 0x7ea918
push edi
call fcn.007d33f0
push eax
push ebx
push esi
call fcn.007d1f60
push 0x7ea8f8
push edi
call fcn.007d33f0
push eax
push ebx
push esi
call fcn.007d1f60
push 0x7ea8d8
push edi
call fcn.007d33f0
push eax
push ebx
push esi
call fcn.007d1f60
push 0x7ea8c0
push edi
call fcn.007d33f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.007d1f60
push 0x7ea8a0
push edi
call fcn.007d33f0
push eax
push ebx
push esi
call fcn.007d1f60
push 0x7ea888
push edi
call fcn.007d33f0
push eax
push ebx
push esi
call fcn.007d1f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x7d31b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.007d3140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.007d3140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.007d3140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.007d3140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x7d3bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7d3c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x7e587c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7d3c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x7d3c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021eb
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073b7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f18
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016a9
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x72
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x1b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x6e
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xd3
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xdf
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x69
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x48
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb1
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x8b
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x1d
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe6
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x5b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x78
push ebp
push ebp
push ebp
call ebx
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xb4
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x12
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x9b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x96
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xb0
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x63
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xce
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xd7
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb9
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x86
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x87
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 4
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x74
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xc8
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x414270
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41429d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41429d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor edx, edx
push edi
push 8
mov esi, edx
pop edi
mov ecx, esi
mov eax, esi
shr ecx, 1
mov esi, ecx
xor esi, 0xedb88320
and al, 1
cmove esi, ecx
sub edi, 1
jne 0x401099
mov dword [edx*4 + 0x42fb58], esi
inc edx
cmp edx, 0x100
jb 0x401094
pop edi
mov byte [0x42ff58], 1
pop esi
ret

Function at 0x4010cb
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x42e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x40]
mov ebx, edx
push 0
push eax
mov esi, ecx
call fcn.00413bd0
xor eax, eax
mov dword [ebp - 0x40], edi
inc eax
mov edi, ebx
mov dword [ebp - 0x2c], eax
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x401234
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00415646
pop ecx
mov ecx, eax
mov dword [ebx], ecx
test ecx, ecx
je 0x401230
cmp dword [ebp - 0x30], 0
je 0x401170
mov eax, dword [ebp - 0x2c]
add eax, eax
push eax
push dword [ebp - 0x30]
push ecx
call fcn.00415060
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov word [ecx + eax*2], dx
mov ecx, dword [ebp - 0x10]
push 0x2f
pop edx
push 2
pop edi
test ecx, ecx
je 0x401192
mov eax, dword [ebp - 0x14]
cmp word [eax], dx
jne 0x401192
dec ecx
add eax, edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x401180
mov esi, dword [ebp - 8]
add esi, ecx
xor ecx, ecx
lea eax, [esi + 2]
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00415646
mov dword [ebx + 4], eax
pop ecx
test eax, eax
je 0x401202
push 0x2f
pop ecx
mov word [eax], cx
cmp dword [ebp - 0x14], 0
je 0x4011d6
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
mov eax, dword [ebx + 4]
push dword [ebp - 0x14]
add eax, edi
push eax
call fcn.00415060
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x4011f8
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 4]
add eax, eax
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0xc]
inc eax
lea eax, [ecx + eax*2]
push eax
call fcn.00415060
add esp, 0xc
mov eax, dword [ebx + 4]
xor ecx, ecx
mov word [eax + esi*2 + 2], cx
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebx + 8], eax
mov ax, word [ebp - 0x28]
mov word [ebx + 0xc], ax
mov eax, dword [ebp - 0x34]
sub eax, 3
je 0x40122c
sub eax, 1
je 0x401224
mov byte [ebx + 0xe], 0
jmp 0x401230
push 2
pop eax
mov byte [ebx + 0xe], al
jmp 0x401230
mov byte [ebx + 0xe], 1
mov al, 1
jmp 0x401236
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412408
leave
ret
Function at 0x40142b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42e00c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [0x42ff58], 0
jne 0x40145d
call fcn.00401090
push esi
push 0x10
or esi, 0xffffffff
lea ecx, [ebp - 0x14]
pop edx
movzx eax, byte [ecx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x42fb58]
inc ecx
sub edx, 1
jne 0x401467
call fcn.00415651
mov ecx, dword [ebp - 4]
not esi
xor eax, esi
xor ecx, ebp
pop esi
call fcn.00412408
leave
ret

Function at 0x401495
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, 0x42f968
lea edx, [ecx + 2]
mov ebx, 0x42f969
sub edi, ecx
sub ebx, ecx
xor esi, esi
mov al, byte [esi + 0x42f968]
mov byte [edx - 2], al
mov al, byte [esi + 0x42f969]
add esi, 4
mov byte [edx - 1], al
mov al, byte [edi + edx]
mov byte [edx], al
mov al, byte [ebx + edx]
lea edx, [edx + 4]
mov byte [edx - 3], al
cmp esi, 0x10
jb 0x4014af
push 4
pop ebx
lea edx, [ecx + 0xd]
mov ah, byte [edx - 1]
mov al, byte [edx]
mov cl, byte [edx + 1]
mov ch, byte [edx + 2]
mov byte [ebp - 4], ah
mov byte [ebp - 3], al
mov byte [ebp - 1], cl
mov byte [ebp - 2], ch
test bl, 3
jne 0x40153a
movzx ecx, al
movzx eax, byte [ebp - 1]
mov al, byte [eax + 0x427130]
mov byte [ebp - 3], al
movzx eax, byte [ebp - 2]
mov al, byte [eax + 0x427130]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 4]
mov al, byte [eax + 0x427130]
mov byte [ebp - 2], al
mov eax, ebx
shr eax, 2
mov ah, byte [eax + 0x427230]
xor ah, byte [ecx + 0x427130]
mov cl, byte [ebp - 1]
mov ch, byte [ebp - 2]
mov al, byte [edx - 0xd]
xor al, ah
mov byte [edx + 3], al
mov al, byte [edx - 0xc]
xor al, byte [ebp - 3]
mov byte [edx + 4], al
mov al, byte [edx - 0xb]
xor al, cl
mov byte [edx + 5], al
mov al, byte [edx - 0xa]
xor al, ch
inc ebx
mov byte [edx + 6], al
add edx, 4
cmp ebx, 0x2c
jb 0x4014dd
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40156d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
movzx ecx, cl
shl ecx, 4
add ecx, dword [ebp + 8]
push 4
pop edi
push 4
pop esi
mov al, byte [ecx]
xor byte [edx], al
inc ecx
inc edx
sub esi, 1
jne 0x401581
sub edi, 1
jne 0x40157e
pop edi
pop esi
pop ebp
ret
Function at 0x401595
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
lea esi, [ecx + 2]
pop edi
mov bh, byte [esi + 1]
mov al, byte [esi - 2]
mov bl, bh
mov ch, byte [esi]
mov cl, al
mov dl, byte [esi - 1]
xor bl, ch
mov byte [ebp - 1], al
xor cl, dl
mov dh, bl
xor dh, al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
xor dh, dl
imul eax, eax, 0x1b
xor al, cl
mov cl, dl
xor al, byte [ebp - 1]
xor cl, ch
xor al, dh
mov byte [esi - 2], al
mov al, cl
shr al, 7
add cl, cl
movzx eax, al
imul eax, eax, 0x1b
xor al, cl
mov cl, byte [ebp - 1]
xor al, dl
xor cl, bh
xor al, dh
mov byte [esi - 1], al
mov al, bl
shr al, 7
add bl, bl
movzx eax, al
imul eax, eax, 0x1b
xor al, bl
xor al, ch
xor al, dh
mov byte [esi], al
mov al, cl
shr al, 7
lea esi, [esi + 4]
movzx eax, al
add cl, cl
imul eax, eax, 0x1b
xor al, cl
xor al, bh
xor al, dh
mov byte [esi - 3], al
sub edi, 1
jne 0x4015a2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, edx
mov dword [ebp + 0xc], 0xa
mov edi, ecx
neg ebx
sub edi, esi
mov eax, dword [edi + esi]
mov ecx, dword [esi]
xor ecx, eax
and ecx, ebx
xor eax, ecx
cdq
mov dword [edi + esi], eax
mov dword [edi + esi + 4], edx
mov eax, dword [esi]
xor eax, ecx
sub dword [ebp + 0xc], 1
cdq
mov dword [esi], eax
lea esi, [esi + 8]
mov dword [esi - 4], edx
jne 0x402a58
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4030d4
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x42e00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov ebx, ecx
lea edi, [ebp - 0x28]
push 8
mov esi, edx
mov edx, dword [ebp + 8]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov al, byte [ebp - 9]
lea ecx, [ebp - 0xd4]
and byte [ebp - 0x28], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 9], al
call fcn.004021d5
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x174]
call fcn.00402a83
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x124]
call fcn.00402d72
lea eax, [ebp - 0x124]
push eax
lea edx, [ebp - 0x174]
lea ecx, [ebp - 0x84]
call fcn.00401dc7
add esp, 0xc
lea edx, [ebp - 0x84]
mov ecx, ebx
call fcn.004024fb
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412408
leave
ret
Function at 0x403724
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, dword [0x430920]
cmp esi, 0x270
jl 0x4037e6
push ebx
xor esi, esi
mov ebx, 0x7fffffff
push edi
mov edx, esi
mov ecx, dword [edx*4 + 0x42ff64]
xor ecx, dword [edx*4 + 0x42ff60]
and ecx, ebx
xor ecx, dword [edx*4 + 0x42ff60]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x429e6c]
xor ecx, dword [edx*4 + 0x430594]
mov dword [edx*4 + 0x42ff60], ecx
inc edx
cmp edx, 0xe3
jl 0x403742
lea edi, [edx*4 + 0x42ff60]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [eax*4 + 0x429e6c]
xor eax, dword [edx - 0x390]
xor eax, ecx
mov dword [edi], eax
mov edi, edx
mov eax, dword [edx]
cmp edi, 0x43091c
jl 0x403787
mov ecx, dword [0x42ff60]
xor ecx, dword [0x43091c]
and ecx, ebx
xor ecx, dword [0x43091c]
mov eax, ecx
shr ecx, 1
and eax, 1
pop edi
pop ebx
xor ecx, dword [eax*4 + 0x429e6c]
xor ecx, dword [0x430590]
mov dword [0x43091c], ecx
mov ecx, dword [esi*4 + 0x42ff60]
mov eax, ecx
shr eax, 0xb
inc esi
xor ecx, eax
mov dword [0x430920], esi
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
ret