joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034f80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c10
call fcn.1002c900
mov eax, dword [0x10087354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c10], eax
test eax, eax
je 0x100350ed
cmp dword [ebp + 0xc], 0
je 0x100350ed
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop dword [eax]
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.10019990
add esp, 0x10
lea eax, [ebp - 0x104]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100350d0
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2c0c], 0
lea eax, [ebp - 0x2bfc]
movq qword [ebp - 0x2c08], xmm0
push 0
push eax
mov dword [ebp - 0x2c00], 0
mov dword [ebp - 0x2c08], 0
mov dword [ebp - 0x2c04], 0
call fcn.10036470
add esp, 0xc
lea eax, [ebp - 0x2c0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2bfc]
push eax
push 0xc
lea eax, [ebp - 0x2c08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100350c5
push 0x3e8
lea eax, [ebp - 0x4ec]
push 0
push eax
call fcn.10036470
lea eax, [ebp - 0x4ec]
push eax
push 1
push dword [ebp - 0x2be4]
lea eax, [ebp - 0x2bfc]
push eax
call fcn.100360e0
add esp, 0x1c
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x2c10]
call fcn.100353e0
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x100350da
inc esi
cmp esi, 0x10
jl 0x10034fc0
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c88e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1002c88e
mov esp, ebp
pop ebp
ret
Function at 0x10035100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10087354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x100351e8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10036470
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
je 0x100351e8
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10035157
sub ecx, esi
mov eax, 0x103
sar ecx, 1
sub eax, ecx
cmp edx, eax
jae 0x100351e8
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10035180
mov eax, dword [0x1006b2e8]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10035195
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100351b0
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c88e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c88e
mov esp, ebp
pop ebp
ret
Function at 0x10035200
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x10087354]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.10036470
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.100346c0
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1003526a
mov al, byte [edi + ecx]
test al, al
je 0x1003526a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x10035251
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x1003528b
inc eax
sub ecx, 1
jne 0x10035280
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x100352e0
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x100352d5
lea edi, [ebp - 0x84]
mov eax, 0x7fffffff
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x100352d4
mov bl, byte [edi + ecx]
test bl, bl
je 0x100352d4
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x100352c0
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.10036470
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x1006b3f0
push str.SoftwareMaster2Liveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x1003539a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10035364
test cl, cl
je 0x10035360
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10035364
add eax, 2
add esi, 2
test cl, cl
jne 0x10035344
xor eax, eax
jmp 0x10035369
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003539a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035376
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareMaster2Liveup
push 0x80000002
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100353a3
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x1006b3f0
push str.SoftwareMaster2Liveup
push 0x80000002
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002c88e
mov esp, ebp
pop ebp
ret

Function at 0x100546e7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10054566

Function at 0x100580bb
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10057fc0

Function at 0x10059183
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10058e43
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41cf44
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf75
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf5d
add dl, dl
jne 0x41cf80
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfd1
xor eax, eax
add dl, dl
jne 0x41cf8d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d06e
add dl, dl
jne 0x41cf9c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfb2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfbd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cfc7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf6c
mov eax, 1
add dl, dl
jne 0x41cfdf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfea
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfd6
sub eax, ebx
mov ebx, 1
jne 0x41d01d
mov ecx, 1
add dl, dl
jne 0x41d003
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d00e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cffa
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d034
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d03f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d02b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf6c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d08f
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf6c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x80c58e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ef
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
jmp 0x41f10e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f10e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f180
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f169
test esi, esi
jbe 0x41f180
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f15b
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f180
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f138
jmp 0x41f180
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f180
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80c595
ret
Function at 0x4202d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x80d8f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420313
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42032c
lea eax, [ebp - 0x10]
mov edx, dword [0x82a54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x42033f
lea eax, [ebp - 0x10]
mov edx, dword [0x82a54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42034b
adc edx, 0
mov edx, dword [edx*4 + 0x829378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4204c5
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4204b8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4204b8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420456
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420456
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420456
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420456
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4204b8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4204b8
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x4204b8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4204b8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x4204dd
inc ebx
cmp ebx, 0x19
jne 0x420305
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80d8fa
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x20004b0d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x20008708
cmp edx, dword [eax]
je 0x20004b2f
add eax, 8
inc ecx
cmp eax, 0x20008798
jl 0x20004b20
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x20008708]
jne 0x20004c5d
mov eax, dword [0x20008b00]
cmp eax, 1
je 0x20004c37
test eax, eax
jne 0x20004b60
cmp dword [0x20008194], 1
je 0x20004c37
cmp edx, 0xfc
je 0x20004c5d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x20004b97
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.20005ec0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.20005fb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x20004bda
lea eax, [ebp - 0x1a4]
push eax
call fcn.20005fb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x200074c0
push edi
call fcn.200063f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.20005ec0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.20005ed0
lea eax, [ebp - 0xa0]
push 0x200074a0
push eax
call fcn.20005ed0
push dword [esi + 0x2000870c]
lea eax, [ebp - 0xa0]
push eax
call fcn.20005ed0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.20006365
add esp, 0x2c
pop edi
jmp 0x20004c5d
lea eax, [ebp + 8]
lea esi, [esi + 0x2000870c]
push 0
push eax
push dword [esi]
call fcn.20005fb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x9a769e1
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x67ee0fe4
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x418703
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x418853
mov edx, 0x10000000
cmp eax, 0x7c
je 0x418853
cmp eax, 0x29
jne 0x41873c
cmp dword [esi + 0x10], 0
jne 0x418853
test dword [esi + 0x50], edx
je 0x418859
cmp eax, 0x2e
jne 0x418757
push 5
lea ecx, [esi + 0x24]
call fcn.0041891c
mov ecx, esi
call fcn.004186db
jmp 0x41883d
cmp eax, 0x5c
jne 0x4187a9
mov ecx, esi
call fcn.004186db
test byte [esi + 0x50], 0x80
je 0x41879d
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x418786
push 4
lea ecx, [esi + 0x24]
call fcn.0041891c
mov ecx, esi
call fcn.004186db
jmp 0x418844
cmp al, 0x42
jne 0x41879d
push 4
lea ecx, [esi + 0x24]
call fcn.0041891c
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x41877a
mov ecx, esi
call fcn.00419d42
jmp 0x41883d
cmp eax, 0x5b
jne 0x4187c9
mov ecx, esi
call fcn.004186db
mov ecx, esi
call fcn.00419cf6
cmp dword [esi + 0x4c], 0x5d
je 0x41874b
push 4
jmp 0x41885b
cmp eax, 0x28
jne 0x4187e6
mov ecx, esi
call fcn.004186db
mov ecx, esi
call fcn.00419e13
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x418859
jmp 0x418832
cmp eax, 0x5e
jne 0x4187ef
push 2
jmp 0x418772
cmp eax, 0x24
jne 0x4187fb
push 3
jmp 0x418772
cmp eax, 0x2a
je 0x41884f
cmp eax, 0x2b
je 0x41884f
cmp eax, 0x3f
je 0x41884f
cmp eax, 0x7b
je 0x41884f
cmp eax, 0x7d
jne 0x418819
test dword [esi + 0x50], edx
je 0x41884b
cmp eax, 0x5d
jne 0x418823
test dword [esi + 0x50], edx
je 0x4187c2
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00419f7c
mov bl, 1
mov ecx, esi
call fcn.004186db
test bl, bl
je 0x418844
mov ecx, esi
call fcn.00419e94
mov cl, 1
jmp 0x41870a
push 6
jmp 0x41885b
push 0xa
jmp 0x41885b
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.0041635e
int3
Function at 0x4207e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4fa054]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
call fcn.00421450
xorps xmm0, xmm0
lea eax, [edx + 0x10]
pxor xmm0, xmmword [edx]
mov ecx, 0xd
nop dword [eax]
lea eax, [eax + 0x10]
aesenc xmm0, xmmword [eax - 0x10]
sub ecx, 1
jne 0x420820
aesenclast xmm0, xmmword [edx + 0xe0]
lea ecx, [edx + 0xf0]
push 0xe
lea edx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.004217f0
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0041e47d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x421450
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm1, xmmword [ecx]
movups xmm2, xmmword [ecx + 0x10]
movups xmmword [edx], xmm1
movaps xmm0, xmm1
pslldq xmm0, 4
pxor xmm0, xmm1
movups xmmword [edx + 0x10], xmm2
movaps xmm1, xmm0
pslldq xmm1, 8
pxor xmm1, xmm0
aeskeygenassist xmm0, xmm2, 1
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movaps xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movups xmmword [edx + 0x20], xmm1
movaps xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm1, 1
pshufd xmm0, xmm0, 0xaa
pxor xmm2, xmm0
movaps xmm0, xmm1
pslldq xmm0, 4
pxor xmm0, xmm1
movups xmmword [edx + 0x30], xmm2
movaps xmm1, xmm0
pslldq xmm1, 8
pxor xmm1, xmm0
aeskeygenassist xmm0, xmm2, 2
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movaps xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movups xmmword [edx + 0x40], xmm1
movaps xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm1, 2
pshufd xmm0, xmm0, 0xaa
pxor xmm2, xmm0
movaps xmm0, xmm1
pslldq xmm0, 4
pxor xmm0, xmm1
movups xmmword [edx + 0x50], xmm2
movaps xmm1, xmm0
pslldq xmm1, 8
pxor xmm1, xmm0
aeskeygenassist xmm0, xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movaps xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movups xmmword [edx + 0x60], xmm1
movaps xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm1, 4
pshufd xmm0, xmm0, 0xaa
pxor xmm2, xmm0
movaps xmm0, xmm1
pslldq xmm0, 4
pxor xmm0, xmm1
movups xmmword [edx + 0x70], xmm2
movaps xmm1, xmm0
pslldq xmm1, 8
pxor xmm1, xmm0
aeskeygenassist xmm0, xmm2, 8
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movaps xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movups xmmword [edx + 0x80], xmm1
movaps xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm1, 8
pshufd xmm0, xmm0, 0xaa
pxor xmm2, xmm0
movaps xmm0, xmm1
pslldq xmm0, 4
pxor xmm0, xmm1
movups xmmword [edx + 0x90], xmm2
movaps xmm1, xmm0
pslldq xmm1, 8
pxor xmm1, xmm0
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movaps xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movups xmmword [edx + 0xa0], xmm1
movaps xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm1, 0x10
pshufd xmm0, xmm0, 0xaa
pxor xmm2, xmm0
movaps xmm0, xmm1
pslldq xmm0, 4
pxor xmm0, xmm1
movups xmmword [edx + 0xb0], xmm2
movaps xmm1, xmm0
pslldq xmm1, 8
pxor xmm1, xmm0
aeskeygenassist xmm0, xmm2, 0x20
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movaps xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movups xmmword [edx + 0xc0], xmm1
movaps xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm0
aeskeygenassist xmm0, xmm1, 0x20
pshufd xmm0, xmm0, 0xaa
pxor xmm2, xmm0
movaps xmm0, xmm1
pslldq xmm0, 4
pxor xmm0, xmm1
movups xmmword [edx + 0xd0], xmm2
movaps xmm1, xmm0
pslldq xmm1, 8
pxor xmm1, xmm0
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movups xmmword [edx + 0xe0], xmm1
ret
Function at 0x4216d3
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4fa054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
and edx, 0xfffffffe
push edi
mov edi, dword [ebx + 8]
movups xmm6, xmmword [esi]
cmp edx, edi
jae 0x4217d5
lea ecx, [edx + 1]
xorps xmm5, xmm5
xorps xmm7, xmm7
shl ecx, 4
pslldq xmm7, 8
add ecx, esi
psrldq xmm5, 8
movups xmm4, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x20]
movaps xmm3, xmm4
movaps xmm0, xmm4
pclmulqdq xmm0, xmm6, 1
pclmulqdq xmm3, xmm6, 0x10
pxor xmm3, xmm0
movaps xmm1, xmm4
pclmulqdq xmm1, xmm6, 0
movaps xmm0, xmm3
mov eax, edx
pslldq xmm0, 8
add edx, 2
pxor xmm1, xmm0
psrldq xmm3, 8
movaps xmm2, xmm1
pshufd xmm0, xmm1, 0x4e
pclmulqdq xmm2, xmmword [0x4d7dd0], 0
pxor xmm2, xmm0
shr eax, 1
movaps xmm1, xmm2
pshufd xmm0, xmm2, 0x4e
pclmulqdq xmm1, xmmword [0x4d7dd0], 0
pxor xmm1, xmm0
add eax, eax
pclmulqdq xmm4, xmm6, 0x11
pxor xmm4, xmm3
pxor xmm4, xmm1
movups xmmword [ecx - 0x30], xmm4
movups xmm3, xmmword [esi + eax*8]
movaps xmm0, xmm3
pclmulqdq xmm0, xmm3, 0
pxor xmm0, xmm7
movaps xmm1, xmm0
pshufd xmm0, xmm0, 0x4e
pclmulqdq xmm1, xmmword [0x4d7dd0], 0
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x4e
movaps xmm2, xmm1
pclmulqdq xmm2, xmmword [0x4d7dd0], 0
pxor xmm2, xmm0
pclmulqdq xmm3, xmm3, 0x11
pxor xmm3, xmm5
pxor xmm2, xmm3
movups xmmword [ecx - 0x20], xmm2
cmp edx, edi
jb 0x421700
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041e47d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4

Function at 0x421be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp + 8], 0
push esi
nop word [eax + eax]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 4]
movzx esi, byte [ecx + eax]
inc eax
mov ecx, dword [ebp + 8]
xor esi, edx
or ecx, esi
mov dword [ebp + 8], ecx
cmp eax, 0x10
jl 0x421c00
mov eax, dword [ebp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
pop esi
mov esp, ebp
pop ebp
ret