joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450e20
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x450e9d
push ebx
mov ebx, dword [ebp + 8]
push esi
movsx ebx, byte [edi + ebx]
mov edx, dword [ecx + 0x10]
xor ebx, edx
mov eax, dword [ecx + 0x18]
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x511160]
xor ebx, edx
movzx edx, bl
add edx, dword [ecx + 0x14]
mov esi, eax
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 0x14], edx
shr edx, 0x18
xor edx, eax
shr eax, 8
mov dword [ecx + 0x10], ebx
mov ebx, dword [ebp + 8]
and edx, 0xff
xor eax, dword [edx*4 + 0x511160]
and esi, 0xfffd
mov dword [ecx + 0x18], eax
or esi, 2
mov eax, esi
xor eax, 1
imul eax, esi
sar eax, 8
xor byte [edi + ebx], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x450e30
pop esi
pop ebx
pop edi
pop ebp
ret 8

Function at 0x450eb0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push eax
mov esi, ecx
call fcn.00450a40
xor ebx, ebx
call fcn.00464eff
mov ecx, eax
sar ecx, 6
mov byte [ebp + 0x13], cl
test cl, cl
jne 0x450ed9
mov byte [ebp + 0x13], al
mov cl, al
mov edi, dword [esi + 0x10]
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x511160]
mov eax, dword [esi + 0x18]
shr edi, 8
xor ecx, edi
mov dword [esi + 0x10], ecx
movzx ecx, cl
add ecx, dword [esi + 0x14]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x14], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x511160]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
sar eax, 8
xor al, byte [ebp + 0x13]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, 0xa
jl 0x450ec3
mov ebx, dword [ebp + 8]
mov edi, dword [esi + 0x10]
sar ebx, 0x10
mov eax, dword [esi + 0x18]
movsx ecx, bl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x511160]
shr edi, 8
xor ecx, edi
mov dword [esi + 0x10], ecx
movzx ecx, cl
add ecx, dword [esi + 0x14]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x14], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x511160]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
sar eax, 8
xor al, bl
mov ebx, dword [ebp + 8]
mov byte [ecx + 0xa], al
mov edi, dword [esi + 0x10]
sar ebx, 0x18
mov eax, dword [esi + 0x18]
movsx ecx, bl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x511160]
shr edi, 8
xor ecx, edi
mov dword [esi + 0x10], ecx
movzx ecx, cl
add ecx, dword [esi + 0x14]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x14], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x511160]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
pop edi
sar eax, 8
xor al, bl
pop esi
mov byte [ecx + 0xb], al
pop ebx
pop ebp
ret 0xc
Function at 0x454ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xa8]
cmp eax, 0xffffffff
je 0x45506c
cmp eax, 0x40
jbe 0x45501a
push esi
lea ecx, [esi + 0x40]
call fcn.00448fc0
mov dword [esi + 0xa8], 0x14
mov eax, dword [esi + 0xa8]
mov ecx, 0x40
sub ecx, eax
push ecx
add eax, esi
push 0
push eax
call fcn.00464150
add esp, 0xc
xor eax, eax
jmp 0x455040
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x455040
push edi
lea ecx, [esi + 0x40]
call fcn.004482b0
push 0x40
push esi
lea ecx, [esi + 0x40]
call fcn.004488d0
mov dword [esi + 0xa8], 0xffffffff
pop edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x455080
mov edx, dword [ebp + 8]
push eax
push edx
lea ecx, [esi + 0x40]
call fcn.004488d0
pop esi
pop ebp
ret

Function at 0x455090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0xa8], 0xffffffff
je 0x4550be
push esi
push 0
push 0
call fcn.00454ff0
add esp, 0xc
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x40]
call fcn.00448fc0
xor eax, eax
lea ecx, [ecx]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x4550d0
lea ecx, [esi + 0x40]
call fcn.004482b0
push 0x40
push esi
lea ecx, [esi + 0x40]
call fcn.004488d0
push 0x14
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [esi + 0x40]
call fcn.004488d0
lea edx, [ebp - 0x18]
push edx
lea ecx, [esi + 0x40]
call fcn.00448fc0
mov eax, dword [ebp + 0xc]
pop edi
test eax, eax
je 0x455120
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004641d0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00462848
mov esp, ebp
pop ebp
ret
Function at 0x459730
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x45974e
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x45984c
lea ebx, [ebx]
mov eax, ebx
cmp ebx, 0x15b0
jb 0x45976f
mov eax, 0x15b0
sub ebx, eax
mov dword [ebp + 0x10], ebx
cmp eax, 0x10
jb 0x459811
mov edx, eax
shr edx, 4
movzx ebx, byte [esi]
add ecx, ebx
movzx ebx, byte [esi + 1]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 2]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 3]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 4]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 5]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 6]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 7]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 8]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 9]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xa]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xb]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xc]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xd]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xe]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xf]
add edi, ecx
add ecx, ebx
add edi, ecx
add esi, 0x10
sub eax, 0x10
dec edx
jne 0x459782
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x459820
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
dec eax
jne 0x459815
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
jne 0x459760
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
pop ebp
ret 0xc
Function at 0x462848
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x51384c]
jne 0x462852
repz ret
jmp fcn.00466b98

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x469223
call fcn.004680ac
mov dword [eax], esi
call fcn.00468099
push 0x16
pop esi
mov dword [eax], esi
call fcn.00468047
mov eax, esi
jmp 0x469278
test dword [ebp + 0xc], 0xfffffff9
jne 0x469209
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x469250
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004680bf
pop ecx
call fcn.00468099
mov eax, dword [eax]
jmp 0x469278
test al, 0x10
jne 0x469276
test al, 1
je 0x469276
test byte [ebp + 0xc], 2
je 0x469276
call fcn.004680ac
mov dword [eax], 5
call fcn.00468099
mov dword [eax], 0xd
jmp 0x469247
xor eax, eax
pop esi
pop ebp
ret
Function at 0x472e28
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0046927b
and dword [ebp - 0x14], 0
cmp dword [0x5187b4], 0
mov dword [ebp - 0x18], eax
jne 0x472edb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x472f83
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c16cc
push ebx
call edi
test eax, eax
je 0x472f83
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5187b4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5187b8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5187bc], eax
call edi
push eax
call esi
mov dword [0x5187c4], eax
test eax, eax
je 0x472edb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5187c0], eax
mov eax, dword [0x5187c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x472f34
cmp dword [0x5187c4], ecx
je 0x472f34
push eax
call esi
push dword [0x5187c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x472f34
test ebx, ebx
je 0x472f34
call edi
test eax, eax
je 0x472f2b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x472f2b
test byte [ebp - 8], 1
jne 0x472f34
or dword [ebp + 0x10], 0x200000
jmp 0x472f67
mov eax, dword [0x5187b8]
cmp eax, dword [ebp - 0x18]
je 0x472f67
push eax
call esi
test eax, eax
je 0x472f67
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x472f67
mov eax, dword [0x5187bc]
cmp eax, dword [ebp - 0x18]
je 0x472f67
push eax
call esi
test eax, eax
je 0x472f67
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5187b4]
call esi
test eax, eax
je 0x472f83
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x472f85
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462848
leave
ret
Function at 0x402ef8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x456008], 0x8088405
inc edx
mov dword [ebx + 0x456008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x456024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033e8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033c8
xor eax, eax
push ebp
push 0x4033c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403404
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033c8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x456024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x456024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4040f0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x59704c], 0
je 0x404151
cmp word [0x597220], 0xd7b2
jne 0x404119
cmp dword [0x597228], 0
jbe 0x404119
mov eax, 0x59721c
call dword [0x597238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x456070
push 0xfffffffffffffff5
call fcn.00401204
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404178
push 0xfffffffffffffff5
call fcn.00401204
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x456034], 0
jne 0x40416d
push 0
push 0x456068
push 0x456070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406110
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406176
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call fcn.00401264
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004044e4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406160
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40617d
lea eax, [ebp - 0x10]
call fcn.00404274
ret

Function at 0x40b1f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b231
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404364
jmp 0x40b23a
mov eax, ebx
mov edx, esi
call fcn.004042c8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b244
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b265
mov al, byte [esp]
jmp 0x40b267
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b8fc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b764
mov eax, dword [0x596bc0]
cmp byte [eax], 0
je 0x40b978
mov eax, dword [0x5969c4]
call fcn.00402d64
call fcn.00402bd4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004089b4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b9c0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b9ae
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x596970]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x597668]
call fcn.0040557c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x4046b5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00437ba5
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x4047d8
push ecx
lea ecx, [esi + 0x18]
call fcn.00423ed5
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x4047ef
push ecx
lea ecx, [esi + 0x24]
call fcn.00423de5
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4375c5
Capabilities:
Encode data using xor

Disassembly:
test dl, al
aaa
mov al, byte [ebx - 4]
jne 0x4375d1
sub eax, 0x1205c514
jg 0x4375f4
adc bh, byte [edi + 0x20]
test eax, 0x62ee2882
fist dword [ebx]
lds ebp, [esi - 0x105afc2f]
add byte [ecx - 0x31d53bb9], bh
jg 0x437613
paddd mm6, qword [ecx - 0x36]
add dl, dl
inc esi
jle 0x43764f
fisub dword [eax - 0x71]
test byte [eax + 0x11], dl
insb byte es:[edi], dx
ror byte [ebp + 0x14], cl
jb 0x437632
pop dword [eax + edx*2 + 0x4dd26c11]
adc al, 0x72
xor al, 0x56
push esi
push ecx
or al, 0xbe
invalid
cmpsd dword [esi], dword es:[edi]
pop eax
movsd dword es:[edi], dword [esi]
mov byte [esi + 0x32], 0x4a
invalid
mov dl, 0x92
push es
mov bh, 0x6e
sub edx, eax
in eax, dx
aam 0x1d
mov ch, 0x1c
aad 0xe0
add al, 0x36
xchg esp, eax
lcall 0x5e45, 0x46129a74
lds esi, [eax]
mov cl, 0x4b
pop si
fsubr dword [edi + eax*8 + 0x4e]
test cl, ch
mov dl, 0x39
adc dword [esi - 0x69], edi
pop edx
out dx, al
rcr byte ss:[esi], 0xc
mov eax, 0xf83cc817
pop eax
jecxz 0x437673
invalid
test byte [ebx - 0x6104b65e], dl
sar dword [ebx], 1
mov eax, 0x5bf41125
int3
Function at 0x44a210
Capabilities:
Accept command line arguments
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov edi, eax
mov dword [esi], 0
call ebx
test ax, ax
jge 0x44a23b
or dword [esi], 0x2000000
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0x11
mov edi, eax
call ebx
test ax, ax
jge 0x44a258
or dword [esi], 0x4000000
test edi, edi
je 0x44a26e
mov ecx, dword [0x657a4c]
push 0x657768
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x12
call ebx
test ax, ax
jge 0x44a27d
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44da25
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00480f15
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x44db48
push ecx
lea ecx, [esi + 0x18]
call fcn.0046d245
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x44db5f
push ecx
lea ecx, [esi + 0x24]
call fcn.0046d155
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x481045
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
cld
mov ch, 0xb7
mov eax, dword [0x2db8]
outsd dx, dword [esi]
mov eax, 0x4f839fb3
mov dl, 0x8a
lahf
or dword [edi - 0x4e], 0xffffff8a
aaa
add al, 0x73
outsb dx, byte [esi]
cmovnp eax, dword [edi + 0x1f]
xor dword [ebx + 0x33], edi
push edi
wait
mov cs, edi
test dword [ebx - 0x3afdcc42], edi
xchg ebx, eax
mov ch, dl
sti
in al, dx
mov esi, 0x5f521b17
arpl word [ecx - 1], si
sub byte gs:[ebp + 0x31d627b2], 0xe2
imul edx, dword [edi + ebx*8 - 0x39], 0xffffff8e
cmpsd dword [esi], dword es:[edi]
das
jo 0x48104f
add dword [esi - 0x27], 0xffffffcb
in eax, dx
scasd eax, dword es:[edi]
jmp 0x4810d4
and bh, byte [ebx]
xchg esi, eax
cmp edx, dword [edi + 0x5b]
inc edi
pop es
wait
mov ecx, 0x78af2933
cmpsd dword [esi], dword es:[edi]
mov ebp, dword [edx - 0x69724b45]
fcmovb st(0), st(7)
lahf
repne scasd eax, dword es:[edi]
sti
scasd eax, dword es:[edi]
pop es
pop edi
push ebx
inc esp
pop es
cmp eax, dword [edi]
sub ebx, ebx
mov ebp, 0xc25752ca
xor byte [ecx - 0x77], 0x77
xchg ebp, eax
push eax
jecxz 0x481102
out dx, al
test ebx, ebx
invalid

Function at 0x496db5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004ca2a5
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x496ed8
push ecx
lea ecx, [esi + 0x18]
call fcn.004b65d5
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x496eef
push ecx
lea ecx, [esi + 0x24]
call fcn.004b64e5
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e0215
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00513705
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x4e0338
push ecx
lea ecx, [esi + 0x18]
call fcn.004ffa35
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x4e034f
push ecx
lea ecx, [esi + 0x24]
call fcn.004ff945
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x501db5
Capabilities:
Encode data using xor

Disassembly:
xchg dword [ebp + 0x3cb9a1a7], edx
mov cl, 0x2b
cmp byte [ebp - 0x7c], dl
push esp
invalid