joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100193f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
je 0x10019417
push 0x20019
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.10017880
add esp, 0xc
mov ebx, eax
jmp 0x1001941b
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebp
call fcn.10032665
cmp ebx, ebp
je 0x10019517
push ebp
push ebp
lea ecx, [esp + 0x24]
push ebp
lea edx, [esp + 0x18]
push ecx
push edx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x4c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x10019508
cmp dword [esp + 0xc], ebp
jbe 0x10019508
mov eax, dword [esp + 0x1c]
add eax, eax
cmp eax, 0x104
ja 0x10019475
mov eax, 0x104
mov dword [esp + 0x1c], eax
inc eax
push eax
call fcn.100337e7
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x10019508
cmp dword [esp + 0xc], ebp
jbe 0x100194e2
push edi
mov ecx, dword [esp + 0x20]
xor eax, eax
inc ecx
mov edi, esi
mov edx, ecx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push 0
push ecx
push esi
inc eax
push ebp
push ebx
mov dword [esp + 0x34], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x100194d8
mov ecx, dword [esp + 0x24]
push esi
mov edx, dword [ecx + 8]
push edx
call fcn.1003287b
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jb 0x10019490
pop edi
push esi
call fcn.10033810
mov eax, dword [esp + 0x1c]
add esp, 4
cmp ebx, eax
je 0x100194fc
push ebx
call fcn.100178d0
add esp, 4
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
cmp ebx, dword [esp + 0x18]
je 0x10019517
push ebx
call fcn.100178d0
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x1001e370
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, eax
push esi
mov esi, dword [esp + 0x10]
and ebp, 0xf
shr eax, 4
inc eax
push edi
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x1001e3c9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1001e3c9
xor edi, edi
xor ebx, ebx
mov bx, word [esi]
add esi, 2
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp ebp, edi
je 0x1001e3d0
inc edi
lea esi, [esi + ebx*2]
cmp edi, 0x10
jl 0x1001e3ad
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, ecx
xor eax, eax
mov edi, ebp
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec eax
push eax
push ebp
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1001e3cb
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
pop edi
dec ecx
pop esi
pop ebp
mov eax, ecx
pop ebx
ret
Function at 0x10023e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x10023e90
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10023e90
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x10023e95
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x10023e7b
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x10023ea2
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x100373cc
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10037404
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1003503d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10035015
jmp 0x10037410
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x725a1000
Capabilities:
Access peb ldr_data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x726dcc0f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x727333d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.725bc910
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x725a1042
push 0x80004005
call fcn.725a4e80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.725bc910
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x725a1071
push 0x80004005
call fcn.725a4e80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
call fcn.725bc910
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x725a109e
push 0x80004005
call fcn.725a4e80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.725bce09
mov byte [ebp - 4], 3
call fcn.725bc910
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x725a10d7
push 0x80004005
call fcn.725a4e80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 4
call fcn.725bc910
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x725a1104
push 0x80004005
call fcn.725a4e80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x30], eax
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 5
call fcn.7267240c
lea ecx, [esi + 0xc]
call fcn.725bce30
push 0
push 0x72709961
lea ecx, [esi + 0x2c]
call fcn.725a4d10
push 0xb
push str.Set_Cookie:
lea ecx, [esi + 0x30]
call fcn.725a4d10
push 0x2f
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [esi + 8]
call fcn.725a4d10
push 0x71
push str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.31__KHTML__like_Gecko__Chrome_26.0.1410.64_Safari_537.31
lea ecx, [esi + 4]
call fcn.725a4d10
push 0xb
push str.Accept:__
mov ecx, esi
call fcn.725a4d10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x725a7d80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x726de2e0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x727333d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x725a7dca
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi], vtable.CryptoPP::SourceTemplate_class_CryptoPP::FileStore_.1.0
mov dword [esi + 4], vtable.CryptoPP::SourceTemplate_class_CryptoPP::FileStore_.0
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 0x28], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x18], vtable.CryptoPP::FileStore.0
mov dword [esi + 0x1c], vtable.CryptoPP::FileStore.1.0
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.726acee7
mov esp, ebp
pop ebp
ret 4
Function at 0x725a9ad0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x726dcf2b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x727333d0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x727333d0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
push 0
push 0x72709961
mov ecx, ebx
mov dword [esp + 0x20], esi
call fcn.725a4d10
mov eax, esi
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x725a9b30
sub eax, esi
lea esi, [eax + 1]
push esi
mov dword [esp + 0x18], eax
call fcn.725bb2a4
push esi
mov edi, eax
push 0
push edi
call fcn.726af970
mov eax, dword [esp + 0x28]
push esi
push eax
push edi
call fcn.726b3530
xor esi, esi
mov eax, 0x10
lea ecx, [esp + 0x48]
lea edx, [esp + 0x98]
add esp, 0x1c
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x74], eax
mov byte [esp + 0x6d], 1
mov dword [esp + 0x78], ecx
mov dword [esp + 0xc4], eax
mov byte [esp + 0xbd], 1
mov dword [esp + 0xc8], edx
mov dword [esp + 0x7c], 0x67452301
mov dword [esp + 0x80], 0xefcdab89
mov dword [esp + 0x84], 0x98badcfe
mov dword [esp + 0x88], 0x10325476
mov dword [esp + 0x1c], vtable.CryptoPP::Weak1::MD5.0
mov eax, dword [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0xf8], 2
call dword [0x7270a240]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x20]
call eax
mov edi, edi
movzx ecx, byte [esp + esi + 0xd0]
push ecx
push str._02x
mov edi, ebx
call fcn.725a4070
inc esi
add esp, 8
cmp esi, 0x10
jl 0x725a9c00
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x725a9c31
push 0x80070057
call fcn.725a4e80
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or edx, eax
jge 0x725a9c4a
push esi
mov ecx, ebx
call fcn.725a4c40
mov eax, dword [ebx]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.726ae3a0
add esp, 8
cmp eax, 0x50
ja case.0x725a9c65.1
movzx edx, byte [eax + 0x725a9ce8]
jmp dword [edx*4 + 0x725a9cd8]
call fcn.725bc183
call fcn.725bc1bb
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x725a9c27
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
mov byte [esi + eax], 0
mov edi, dword [esp + 0xc8]
lea ecx, [esp + 0x7c]
cmp edi, ecx
jne 0x725a9ca0
mov ecx, dword [esp + 0xc4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x2c]
cmp edi, edx
jne 0x725a9cb4
mov ecx, dword [esp + 0x74]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.726acee7
mov esp, ebp
pop ebp
ret
Function at 0x725ae490
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
call edx
mov edi, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x38]
mov ecx, eax
and cl, 3
movzx ecx, cl
neg ecx
sbb ecx, ecx
mov esi, dword [esp + 0x28]
not ecx
and ecx, ebp
mov edx, edi
neg edx
sbb edx, edx
and edx, ebp
mov dword [esp + 0x10], edx
mov edx, eax
and dl, 2
movzx edx, dl
neg edx
sbb edx, edx
not edx
and edx, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
test al, 8
je 0x725ae524
mov eax, dword [esp + 0x34]
mov ebx, eax
sub ebx, ebp
add esi, ebx
mov ebx, eax
sub ebx, ebp
add edi, ebx
mov ebx, dword [esp + 0x30]
sub eax, ebp
add ebx, eax
mov eax, dword [esp + 0x10]
neg eax
neg ecx
neg edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x725ae528
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
jb 0x725ae60b
mov ecx, eax
and ecx, 4
and eax, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], eax
jmp 0x725ae54a
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x725ae5c2
mov ecx, ebp
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x725ae582
mov edx, edi
mov edi, ebx
sub edx, esi
mov eax, esi
sub edi, esi
mov dword [esp + 0x28], ecx
mov ebx, dword [edx + eax]
xor ebx, dword [eax]
add eax, 4
dec ecx
mov dword [edi + eax - 4], ebx
jne 0x725ae567
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, eax
add eax, eax
mov ecx, ebp
sub ecx, eax
je 0x725ae5bc
lea edx, [eax + ebx]
mov dword [esp + 0x30], edx
lea edx, [eax + edi]
add eax, esi
test ecx, ecx
je 0x725ae5bc
mov edi, dword [esp + 0x30]
sub edx, eax
sub edi, eax
mov dword [esp + 0x30], ecx
mov cl, byte [edx + eax]
xor cl, byte [eax]
inc eax
dec dword [esp + 0x30]
mov byte [edi + eax - 1], cl
jne 0x725ae5a8
mov edi, dword [esp + 0x2c]
push ebx
push 0
push ebx
jmp 0x725ae5c5
push ebx
push edi
push esi
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp dword [esp + 0x20], 0
je 0x725ae5db
inc byte [esi + ebp - 1]
mov eax, dword [esp + 0x34]
add ebx, dword [esp + 0x1c]
add edi, dword [esp + 0x10]
add esi, dword [esp + 0x18]
sub eax, ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
cmp eax, ebp
jae 0x725ae546
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x14
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x14
ret 0x14
Function at 0x725b2440
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x726dc888
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x727333d0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x727333d0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x725b2588
cmp byte [edi + 0x49], 0
je 0x725b2588
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x725b257b
mov ecx, 0xf
xor eax, eax
mov byte [esp + 0x14], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 8
cmp ecx, 0x10
jae 0x725b24c2
lea eax, [esp + 0x14]
mov byte [eax + 8], 0
mov dword [esp + 0x3c], 0
lea ebx, [edi + 0x4c]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov edx, eax
cmp ebp, 0x10
jae 0x725b24e6
lea edx, [esp + 0x14]
mov eax, edx
add edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebp, [esp + 0x10]
push ebp
push edx
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0x725b250f
dec eax
je 0x725b2513
sub eax, 2
lea ecx, [esp + 0x14]
jne 0x725b2576
jmp 0x725b2583
mov byte [edi + 0x49], 0
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp ebp, 0x10
jae 0x725b2526
lea ecx, [esp + 0x14]
mov esi, dword [esp + 0x10]
sub esi, ecx
je 0x725b2553
cmp ebp, 0x10
jae 0x725b2537
lea eax, [esp + 0x14]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.726b2242
add esp, 0x10
cmp esi, eax
jne 0x725b2572
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp byte [edi + 0x49], 0
je 0x725b257f
test esi, esi
jne 0x725b24d9
push esi
push 8
lea esi, [esp + 0x1c]
call fcn.725aade0
jmp 0x725b24d1
lea ecx, [esp + 0x14]
call fcn.725a46e0
xor al, al
jmp 0x725b258a
lea ecx, [esp + 0x14]
call fcn.725a46e0
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.726acee7
add esp, 0x30
ret

Function at 0x725b52a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
jmp 0x725b52b0
movzx edx, byte [esi + str.cw]
mov eax, edx
shr eax, 7
mov ecx, eax
imul eax, eax, 0x11b
imul ecx, ecx, 0x1b000000
mov ebx, edx
shl ebx, 0x19
xor ecx, ebx
mov ebx, edx
shl ebx, 8
or ebx, edx
shl ebx, 8
or ecx, ebx
lea ebx, [edx + edx]
xor eax, ebx
xor eax, edx
or eax, ecx
xor edx, edx
xor ebx, ebx
or edx, ecx
or eax, ebx
mov dword [esi*8 + 0x7273d9d0], edx
mov dword [esi*8 + 0x7273d9d4], eax
inc esi
cmp esi, 0x100
jl 0x725b52b0
mov dword [0x7273e1d8], edi
mov dword [0x7273e1dc], edi
mov dword [0x7273e1d0], edi
mov dword [0x7273e1d4], edi
pop edi
pop esi
mov byte [0x727432c0], 1
pop ebx
ret
Function at 0x725b5330
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
mov dword [esp + 0x14], eax
push edi
lea ecx, [ecx]
movzx eax, byte [eax + 0x7270b660]
mov ebp, eax
shr ebp, 7
mov dword [esp + 0x1c], ebp
imul ebp, ebp, 0x1b000000
mov ecx, eax
shr ecx, 6
mov esi, ecx
and ecx, 1
mov dword [esp + 0x10], ecx
lea ebx, [eax + eax]
xor ebx, eax
lea ecx, [ebx + ebx]
xor ecx, eax
shl ecx, 0x19
xor ecx, ebp
and esi, 2
mov dword [esp + 0x14], esi
mov edi, eax
shr edi, 5
mov edx, edi
mov esi, edi
and edi, 1
mov ebp, edi
imul ebp, ebp, 0x1b000000
xor ecx, ebp
and esi, 2
mov ebp, esi
imul ebp, ebp, 0x1b000000
xor ecx, ebp
mov ebp, dword [esp + 0x10]
imul ebp, ebp, 0x1b000000
xor ecx, ebp
mov ebp, dword [esp + 0x14]
imul ebp, ebp, 0x1b000000
xor ecx, ebp
and edx, 4
mov ebp, edx
imul ebp, ebp, 0x1b000000
xor ecx, ebp
lea ebp, [ebx*4]
xor ebp, eax
shl ebp, 8
mov ebx, edi
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, esi
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, dword [esp + 0x10]
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, dword [esp + 0x14]
imul ebx, ebx, 0x11b00
xor ebp, ebx
mov ebx, edx
imul ebx, ebx, 0x11b00
xor ebp, ebx
or ecx, ebp
mov ebp, edi
imul edi, edi, 0x11b
imul ebp, ebp, 0x11b0000
lea ebx, [eax*8]
xor ebx, eax
shl ebx, 0x10
xor ebx, ebp
mov ebp, esi
imul ebp, ebp, 0x11b0000
xor ebx, ebp
mov ebp, edx
imul ebp, ebp, 0x11b0000
xor ebx, ebp
or ecx, ebx
mov ebx, dword [esp + 0x1c]
imul ebx, ebx, 0x11b
lea ebp, [eax*4]
xor ebp, eax
add ebp, ebp
xor ebp, ebx
xor ebp, edi
imul esi, esi, 0x11b
imul edx, edx, 0x11b
xor ebp, esi
xor ebp, edx
xor ebp, eax
or eax, ecx
or ebp, ecx
xor edx, edx
or edx, eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
or ebp, ecx
mov dword [eax*8 + 0x7273d1a8], edx
mov dword [eax*8 + 0x7273d1ac], ebp
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x100
jl 0x725b5340
pop edi
pop esi
pop ebp
mov byte [0x727432c1], 1
pop ebx
add esp, 0x10
ret
Function at 0x725b69e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
movdqa xmm0, xmmword [eax]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
movdqa xmm1, xmmword [edi]
lea edx, [esi - 1]
pxor xmm0, xmm1
movdqa xmmword [eax], xmm0
cmp edx, 1
jbe 0x725b6a37
add edx, 0xfffffffe
shr edx, 1
lea ecx, [edi + 0x10]
inc edx
movdqa xmm1, xmmword [ecx]
movdqa xmm0, xmmword [eax]
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
movdqa xmm1, xmmword [ecx + 0x10]
add ecx, 0x20
dec edx
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
jne 0x725b6a12
movdqa xmm0, xmmword [eax]
add esi, esi
movdqa xmm1, xmmword [edi + esi*8 - 0x10]
lea ecx, [edi + esi*8]
aesenc xmm0, xmm1
movdqa xmmword [eax], xmm0
movdqa xmm1, xmmword [ecx]
pop edi
aesenclast xmm0, xmm1
movdqa xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x725b6a70
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
movdqa xmm1, xmmword [eax]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
movdqa xmm0, xmmword [edi]
pxor xmm1, xmm0
movdqa xmmword [eax], xmm1
movdqa xmm1, xmmword [ecx]
pxor xmm1, xmm0
movdqa xmmword [ecx], xmm1
movdqa xmm1, xmmword [edx]
pxor xmm1, xmm0
movdqa xmmword [edx], xmm1
movdqa xmm1, xmmword [esi]
pxor xmm1, xmm0
movdqa xmmword [esi], xmm1
cmp ebx, 1
jbe 0x725b6b14
add edi, 0x10
dec ebx
lea esp, [esp]
movdqa xmm0, xmmword [edi]
movdqa xmm1, xmmword [eax]
aesenc xmm1, xmm0
movdqa xmmword [eax], xmm1
movdqa xmm1, xmmword [ecx]
aesenc xmm1, xmm0
movdqa xmmword [ecx], xmm1
movdqa xmm1, xmmword [edx]
aesenc xmm1, xmm0
movdqa xmmword [edx], xmm1
movdqa xmm1, xmmword [esi]
add edi, 0x10
dec ebx
aesenc xmm1, xmm0
movdqa xmmword [esi], xmm1
jne 0x725b6ad0
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
movdqa xmm1, xmmword [eax]
add ebx, ebx
movdqa xmm0, xmmword [edi + ebx*8]
aesenclast xmm1, xmm0
movdqa xmmword [eax], xmm1
movdqa xmm1, xmmword [ecx]
aesenclast xmm1, xmm0
movdqa xmmword [ecx], xmm1
movdqa xmm1, xmmword [edx]
aesenclast xmm1, xmm0
movdqa xmmword [edx], xmm1
movdqa xmm1, xmmword [esi]
pop edi
aesenclast xmm1, xmm0
movdqa xmmword [esi], xmm1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x725ba6a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x726de020
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x727333d0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x727333d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
push 1
push 0x72736878
mov dword [esp + 0x28], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.726acee7
mov esp, ebp
pop ebp
ret 8

Function at 0x72684eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.725cfc63
call fcn.725be537
cmp eax, esi
pop esi
jne 0x72684ecc
mov ecx, 0x72736b60
jmp fcn.725c8d62
ret