joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466080
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a17a0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x466227
mov ecx, dword [0x52ebd4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x46617c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00464da0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00490104
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.0048ffcb
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x52cb84
call fcn.00490039
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00465160
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00490104
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0048ffcb
lea ecx, [esp + 0xc]
call fcn.004904f1
mov ecx, dword [esp + 0xc]
push 0x52d5c4
push ecx
call fcn.0047f204
add esp, 8
test eax, eax
je 0x4661a4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4660dd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.0048ffcb
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0048ffcb
jmp 0x46622b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00465e20
test eax, eax
push 0
je 0x46620f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004644c0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4661f5
cmp eax, 0x64
jg 0x4661e3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x466180
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x466180
cmp eax, 0x64
jge 0x46617c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x466180
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004644c0
mov esi, eax
jmp 0x466180
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x466235
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x49241a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x492452
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.00490472
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049044a
jmp 0x49245e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x493b0c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x493b4e
call fcn.00499a0b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x493b4e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x493b45
xor eax, eax
jmp 0x493b56
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00493b5c
pop edi
pop esi
pop ebx
ret 4

Function at 0x499f1f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x499f4d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x499f6b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00499e85
jmp 0x499f6b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x499f6b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00499e85
test edi, edi
mov eax, edi
jne 0x499f55
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40a500
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a6ce
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40a52b
mov eax, 0x7000000
jmp 0x40a533
test eax, eax
je 0x40a6a9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.00451860
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x535580]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40a6c1
cmp ecx, 0x21
jae 0x40a6b5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044cc80
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0044cd50
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x71e9d8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x71ea98]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40a684
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x71eae8]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00451940
mov eax, ecx
mov ecx, 0x21
call fcn.004519f0
nop
call fcn.00450480
jmp fcn.0040a500
Function at 0x412930
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412b44
sub esp, 0x18
mov eax, dword [0x7e71b8]
test eax, eax
jne 0x412b2d
nop
lea eax, [0x7e71a0]
mov dword [esp], eax
call fcn.00408660
mov eax, dword [0x7e71a4]
test eax, eax
je 0x412979
cmp dword [eax + 8], 0xcc
jne 0x4129ef
mov edx, dword [0x7e7198]
test edx, edx
jne 0x4129d1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x7e8e58]
mov dword [esp + 8], eax
call fcn.0040a6e0
mov eax, dword [esp + 0xc]
mov dword [0x7e7198], eax
mov ecx, dword [0x7e7154]
mov dword [eax], ecx
mov eax, dword [0x7e7198]
mov dword [0x7e7154], eax
movzx eax, byte [0x7e7680]
test al, al
jne 0x4129d1
xor eax, eax
jmp 0x412ad9
mov edx, dword [0x7e7198]
mov ebx, dword [edx + 4]
mov dword [0x7e7198], ebx
mov ebx, dword [0x7e71a4]
mov dword [edx + 4], ebx
mov dword [0x7e71a4], edx
mov edx, dword [0x7e71a4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412ac1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004022d0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x7e73a0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x412a4d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x412a5a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.004518b0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x7e73a0]
test edx, edx
jne 0x412a86
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x412aa7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.004518b0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.004518b0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.004518b0
mov byte [0x7e710f], 1
nop
lea eax, [0x7e71a0]
mov dword [esp], eax
call fcn.00408860
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00451940
lea esi, [0x7e7680]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x4129d1
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x412b23
lea edx, [0x5300c4]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x412acb
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00451930
mov ecx, 5
call fcn.00451930
lea eax, [0x5917e9]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0042e5b0
nop
call fcn.00450480
jmp fcn.00412930
Function at 0x419850
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419a88
sub esp, 0x20
mov eax, dword [esp + 0x24]
test eax, 3
jne 0x419a71
nop
movzx edx, byte [0x7e7117]
mov ebx, dword [esp + 0x30]
mov ebp, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x38]
mov esi, ecx
shr ecx, 3
mov dword [esp + 0x1c], ecx
mov edi, esi
and esi, 7
mov ecx, esi
mov eax, 1
shl eax, cl
nop
mov esi, dword [esp + 0x1c]
mov ecx, eax
lea eax, [ebp + esi]
test dl, dl
jne 0x41996f
mov edx, dword [0x7e754c]
test edx, edx
jle 0x4198d3
cmp dword [ebx + 0x50], edi
ja 0x4198d3
mov edx, dword [ebx + 0x28]
movzx edx, byte [edx + esi]
test cl, dl
je 0x4199f8
movzx edx, byte [esi + ebp]
test cl, dl
jne 0x41996b
nop
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.00402410
mov eax, dword [0x7c725c]
test byte [eax], al
nop
nop
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
nop
mov ebx, edx
shr edx, 0x16
mov edx, dword [eax + edx*4]
test byte [edx], al
mov ebp, ebx
shr ebx, 0x10
and ebx, 0x3f
movzx esi, byte [edx + ebx + 0x40840]
lea edx, [edx + ebx + 0x40840]
shr ebp, 0xd
and ebp, 7
mov eax, ecx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
xchg esi, eax
test al, bl
xchg esi, eax
jne 0x419946
mov dword [esp], edx
mov byte [esp + 4], bl
call fcn.00402410
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + 0x3a]
test dl, 1
je 0x4199a0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 0x40]
add edx, eax
mov eax, dword [ecx + 0xc]
mov dword [ecx + 8], edx
adc eax, 0
mov dword [ecx + 0xc], eax
add esp, 0x20
ret
add esp, 0x20
ret
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], cl
mov dword [esp + 0x14], edi
call fcn.00412450
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4199ea
mov edx, dword [esp + 0x34]
mov ebx, dword [edx]
test ebx, ebx
je 0x4199d0
mov eax, dword [ebx + 0xc]
cmp eax, 0x1fc
jne 0x4199bc
mov ecx, dword [esp + 0x24]
xor eax, eax
jmp 0x4199d6
jae 0x4199ee
mov ecx, dword [esp + 0x24]
mov dword [ebx + eax*4 + 0x10], ecx
inc dword [ebx + 0xc]
mov eax, 1
jmp 0x4199d6
mov ecx, dword [esp + 0x24]
xor eax, eax
test al, al
jne 0x4199e6
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0041f280
add esp, 0x20
ret
add esp, 0x20
ret
mov ecx, 0x1fc
call fcn.00451930
lea eax, [0x58c837]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call fcn.00419aa0
lea eax, [0x58c750]
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xffffffff
call fcn.00419aa0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 2
lea eax, [0x58f9fb]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.0042e5b0
lea eax, [0x594673]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.0042e5b0
nop
call fcn.00450480
jmp fcn.00419850
Function at 0x421d20
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x421e90
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00420060
mov eax, dword [esp + 4]
test eax, eax
je 0x421e79
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.0041e4f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.00408660
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x421db7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x421e1d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x421dcc
cmp byte [ebp + 6], dl
je 0x421dd7
cmp esi, ebx
ja 0x421e1d
jne 0x421db5
cmp byte [ebp + 6], dl
jbe 0x421db5
jmp 0x421e1d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00408860
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x421e14
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x421e14
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.00421c20
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00408860
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x421e70
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x421e70
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x592ca2]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042e5b0
nop
call fcn.00450480
jmp fcn.00421d20
Function at 0x422300
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42241c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x422395
cmp cl, 2
je 0x42233d
cmp cl, 3
jne 0x422405
mov byte [eax + 8], 1
jmp 0x422401
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00426e50
nop
lea eax, [0x7cb77c]
mov dword [esp], eax
call fcn.00408660
nop
mov eax, dword [0x7cb748]
sub eax, dword [0x7cb72c]
mov dword [0x7cb748], eax
mov eax, dword [0x7cb738]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x7cb738], ecx
nop
lea eax, [0x7cb77c]
mov dword [esp], eax
call fcn.00408860
jmp 0x422401
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00412930
nop
lea eax, [0x7cb77c]
mov dword [esp], eax
call fcn.00408660
nop
mov eax, dword [0x7cb720]
sub eax, dword [0x7cb704]
mov dword [0x7cb720], eax
mov eax, dword [0x7cb710]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x7cb710], ecx
nop
nop
lea eax, [0x7cb77c]
mov dword [esp], eax
call fcn.00408860
add esp, 0x14
ret
lea eax, [0x58ea80]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042e5b0
nop
call fcn.00450480
jmp fcn.00422300
Function at 0x4446e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x444863
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x44485b
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44473c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44473c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x44474f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x444830
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x444822
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x44481b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x4447a6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x4447ef
mov eax, 1
cmp eax, ecx
ja 0x4447dd
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.004519a0
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x444816
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x4447e2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x4447ab
call fcn.00451940
xor eax, eax
call fcn.00451930
call fcn.004519a0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x444856
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x444827
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x444754
call fcn.00451940
xor eax, eax
call fcn.00451930
nop
call fcn.00450480
jmp fcn.004446e0
Function at 0x44a7e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44a87f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00451aa7
lea ecx, [0x44a890]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00450370
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00450480
jmp fcn.0044a7e0
Function at 0x451740
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x7e74c0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x44ff2b
je 0x44ff7e
cmp ebx, 0x20
jbe 0x44ff84
cmp ebx, 0x40
jbe 0x44ffca
jmp 0x45006b
test ebx, ebx
je 0x44ff74
add eax, 0x10
test ax, 0xff0
je 0x44ff60
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x71f9e0]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x71fae0]
jmp 0x44ff48
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x44ff48
pxor xmm1, xmmword [0x7e74d0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x7e74d0]
pxor xmm2, xmmword [0x7e74e0]
pxor xmm3, xmmword [0x7e74f0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x7e74d0]
pxor xmm2, xmmword [0x7e74e0]
pxor xmm3, xmmword [0x7e74f0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x4500ca
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x7e7116], 0
je 0x45175a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x44fef0
jmp fcn.004071f0
Function at 0x451760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x402a1e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004071f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00450480
jmp 0x4029e0
cmp byte [0x7e7116], 0
je 0x45177b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x44fef0
jmp 0x4029e0