joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415d39
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
je 0x415da8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x415da8
mov edx, dword [eax + 0x3c]
cmp dword [edx + eax], 0x4550
jne 0x415da8
mov edx, dword [edx + eax + 0x98]
add eax, edx
neg edx
sbb edx, edx
and edx, eax
je 0x415da8
lea eax, [edx + 8]
test eax, eax
je 0x415da8
cmp byte [eax], 0x30
push esi
jne 0x415d97
cmp byte [eax + 1], 0x82
jne 0x415d97
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
add eax, 0x13
add eax, ecx
and eax, 0xffffff8
jmp 0x415d99
xor eax, eax
pop esi
test eax, eax
je 0x415da8
mov dword [edi + 0x14], eax
mov al, 1
mov dword [edi + 0x18], edx
xor al, al

Function at 0x420550
Capabilities:
Check http status code

Disassembly:
xor eax, eax
jmp 0x42062d
push 0x454d58
push 1
call fcn.00413b17
add esp, 0x14
lea ecx, [ebp - 0x20]
call 0x400394
jmp 0x4204bb
mov dword [ebp - 0x30], edi
push eax
push 0x20000013
push dword [esi + 0x5c]
call dword [0x45d1ec]
test eax, eax
je 0x42059b
cmp dword [ebp - 0x28], 0xc8
je 0x42059b
xor eax, eax
mov dword [ebp - 0x10], ebx
push 0x454d38
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov byte [ebp - 8], bl
call 0x3ff0db
lea eax, [ebp - 0x20]
push eax
push eax
push 0xb0
jmp 0x420526
cmp dword [ebp - 0x24], ebx
jbe 0x4205fe
mov ecx, dword [esi + 0x4c]
push dword [ebp - 0x24]
push dword [esi + 0x60]
mov eax, dword [ecx]
call dword [eax]
test al, al
jne 0x4205fe
mov edx, 0x454d90
lea ecx, [ebp - 0x1c]
call fcn.00420018
push eax
lea ecx, [esi + 0x18]
call fcn.00403b26
lea ecx, [ebp - 0x1c]
call 0x400394
xor eax, eax
mov dword [ebp - 0x10], ebx
push str.license_url
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov byte [ebp - 8], bl
call 0x3ff0db
lea eax, [ebp - 0x20]
push eax
push eax
push 0xb7
jmp 0x420526
cmp dword [esi + 0x48], ebx
jne 0x42062a
push ebx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], ebx
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], edi
push eax
push 0x20000005
push dword [esi + 0x5c]
call dword [0x45d1ec]
test eax, eax
je 0x42062a
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425e56
mov esp, ebp
pop ebp
ret
Function at 0x42361a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edx
mov dword [ebp - 8], edx
add edi, 0xdeadbeef
add edi, ecx
push 0xc
pop eax
mov edx, edi
mov esi, edi
mov dword [ebp - 4], edx
cmp ecx, eax
jbe 0x423718
lea eax, [ecx - 0xd]
xor edx, edx
push 0xc
pop ecx
div ecx
inc eax
mov dword [ebp - 0xc], eax
movzx edx, byte [ebx + 7]
movzx ecx, byte [ebx + 6]
movzx eax, byte [ebx + 5]
shl edx, 8
add edx, ecx
movzx ecx, byte [ebx + 0xb]
shl ecx, 8
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 4]
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 0xa]
add esi, edx
add ecx, eax
movzx edx, byte [ebx + 8]
movzx eax, byte [ebx + 9]
add edx, edi
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
add edx, ecx
movzx ecx, byte [ebx + 3]
shl ecx, 8
mov edi, edx
add ecx, eax
rol edi, 4
movzx eax, byte [ebx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx]
shl ecx, 8
add ecx, eax
sub ecx, edx
add edx, esi
add ecx, dword [ebp - 4]
xor edi, ecx
sub esi, edi
mov eax, edi
add edi, edx
rol eax, 6
xor eax, esi
sub edx, eax
mov ecx, eax
rol ecx, 8
add eax, edi
xor ecx, edx
sub edi, ecx
mov edx, ecx
rol edx, 0x10
add ecx, eax
xor edx, edi
mov esi, edx
sub eax, edx
ror esi, 0xd
add edx, ecx
xor esi, eax
mov dword [ebp - 4], edx
sub ecx, esi
mov edi, esi
rol edi, 4
add esi, edx
xor edi, ecx
mov ecx, dword [ebp - 8]
push 0xc
pop eax
sub ecx, eax
add ebx, eax
sub dword [ebp - 0xc], 1
mov dword [ebp - 8], ecx
jne 0x423655
cmp ecx, eax
ja 0x423784
jmp dword [ecx*4 + 0x4258de]
xor edi, esi
mov eax, esi
rol eax, 0xe
sub edi, eax
mov eax, edi
mov edx, edi
xlatb

Function at 0x426662
Capabilities:
Terminate process

Disassembly:
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x426684
push esi
call fcn.0042626c
pop ecx
test al, al
je 0x426684
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0042674c
call esi
call fcn.00426dc9
mov esi, eax
cmp dword [esi], edi
je 0x4266a2
push esi
call fcn.0042626c
pop ecx
test al, al
je 0x4266a2
push dword [esi]
call fcn.00435731
pop ecx
call fcn.00426988
movzx eax, ax
push eax
call fcn.00436482
push eax
push edi
push 0x400000
call 0x3ff6ba
mov esi, eax
call fcn.004269bb
test al, al
jne 0x4266cd
push esi
call fcn.00435769
test bl, bl
jne 0x4266d6
call fcn.0043570c
push edi
push 1
call fcn.00426313
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x426728
call fcn.00426caa
ret

Function at 0x43b31e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043b19b
Function at 0x4092f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421c88
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x42a520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
push 0x426648
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.00409790
add esp, 8
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], ebx
je 0x4093f6
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004094d0
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x4093e9
test ebx, ebx
je 0x4093f4
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.__s_
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406de0
mov edi, dword [ebp - 0x14]
mov eax, edi
add esp, 8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4093a0
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 8]
push edx
push edi
push 2
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x4093f4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40943c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
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
Function at 0x40b890
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40ba5e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b8bb
mov eax, 0x7000000
jmp 0x40b8c3
test eax, eax
je 0x40ba39
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.00461500
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, [0x5e16a0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40ba51
cmp ecx, 0x21
jae 0x40ba45
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.0045b160
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.0045b230
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 [0x5479c0]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x547a30]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40ba14
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x547a88]
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.004615e0
mov eax, ecx
mov ecx, 0x21
call fcn.00461690
nop
call fcn.00460140
jmp fcn.0040b890
Function at 0x413c60
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x413e84
sub esp, 0x18
mov eax, dword [0x642de4]
test eax, eax
jne 0x413e6d
nop
lea eax, [0x642dd0]
mov dword [esp], eax
call fcn.00409680
mov eax, dword [0x642dd4]
test eax, eax
je 0x413ca9
cmp dword [eax + 8], 0xcc
jne 0x413d1f
mov edx, dword [0x642dc8]
test edx, edx
jne 0x413d01
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x6456f0]
mov dword [esp + 8], eax
call fcn.0040ba70
mov eax, dword [esp + 0xc]
mov dword [0x642dc8], eax
mov ecx, dword [0x642d8c]
mov dword [eax], ecx
mov eax, dword [0x642dc8]
mov dword [0x642d8c], eax
movzx eax, byte [0x643360]
test al, al
jne 0x413d01
xor eax, eax
jmp 0x413e19
mov edx, dword [0x642dc8]
mov ebx, dword [edx + 4]
mov dword [0x642dc8], ebx
mov ebx, dword [0x642dd4]
mov dword [edx + 4], ebx
mov dword [0x642dd4], edx
mov edx, dword [0x642dd4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413e01
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.00402140
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x643040]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x413d7d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x413d8a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00461550
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x643040]
test edx, edx
jne 0x413db6
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 0x413dd7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00461550
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00461550
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00461550
nop
lea eax, [0x642dd0]
mov dword [esp], eax
call fcn.00409880
nop
lea eax, [0x642dcc]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004022c0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004615e0
lea esi, [0x643360]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x413d01
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 0x413e63
lea edx, [0x5dd29c]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x413e0b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.004615d0
mov ecx, 5
call fcn.004615d0
lea eax, [0x5197a0]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004352b0
nop
call fcn.00460140
jmp fcn.00413c60
Function at 0x427280
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4273f0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00425010
mov eax, dword [esp + 4]
test eax, eax
je 0x4273d9
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.00422d90
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.00409680
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x427317
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42737d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x42732c
cmp byte [ebp + 6], dl
je 0x427337
cmp esi, ebx
ja 0x42737d
jne 0x427315
cmp byte [ebp + 6], dl
jbe 0x427315
jmp 0x42737d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409880
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 0x427374
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x427374
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.00427180
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409880
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 0x4273d0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4273d0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x51b1f9]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004352b0
nop
call fcn.00460140
jmp fcn.00427280
Function at 0x427870
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42798c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x427905
cmp cl, 2
je 0x4278ad
cmp cl, 3
jne 0x427975
mov byte [eax + 8], 1
jmp 0x427971
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042caa0
nop
lea eax, [0x627398]
mov dword [esp], eax
call fcn.00409680
nop
mov eax, dword [0x627364]
sub eax, dword [0x627348]
mov dword [0x627364], eax
mov eax, dword [0x627354]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x627354], ecx
nop
lea eax, [0x627398]
mov dword [esp], eax
call fcn.00409880
jmp 0x427971
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.00413c60
nop
lea eax, [0x627398]
mov dword [esp], eax
call fcn.00409680
nop
mov eax, dword [0x62733c]
sub eax, dword [0x627320]
mov dword [0x62733c], eax
mov eax, dword [0x62732c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x62732c], ecx
nop
nop
lea eax, [0x627398]
mov dword [esp], eax
call fcn.00409880
add esp, 0x14
ret
lea eax, [0x5164d0]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004352b0
nop
call fcn.00460140
jmp fcn.00427870
Function at 0x4501f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x450377
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x45036d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45024c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45024c
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 0x45025f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x450342
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 0x450334
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 0x45032b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x4502b6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x4502ff
mov eax, 1
cmp eax, ecx
ja 0x4502ed
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.00461640
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x450326
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 0x4502f2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x4502bb
call fcn.004615e0
xor eax, eax
mov ecx, eax
call fcn.004615d0
call fcn.00461640
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x450368
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 0x450339
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x450264
call fcn.004615e0
xor eax, eax
mov ecx, eax
call fcn.004615d0
nop
call fcn.00460140
jmp fcn.004501f0
Function at 0x454660
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x454760
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00454ef0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x4f98c0]
mov dword [esp], ecx
call fcn.0040b720
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x627430]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00453ee0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00453300
add esp, 0x28
ret
call fcn.00460140
jmp fcn.00454660
Function at 0x457cd0
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 0x457d6f
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.00461727
lea ecx, [0x457d80]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00460030
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00460140
jmp fcn.00457cd0
Function at 0x461400
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 [0x643140]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45fbcb
je 0x45fc1e
cmp ebx, 0x20
jbe 0x45fc24
cmp ebx, 0x40
jbe 0x45fc6a
jmp 0x45fd0b
test ebx, ebx
je 0x45fc14
add eax, 0x10
test ax, 0xff0
je 0x45fc00
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x5486e0]
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 + 0x5488e0]
jmp 0x45fbe8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45fbe8
pxor xmm1, xmmword [0x643150]
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 [0x643150]
pxor xmm2, xmmword [0x643160]
pxor xmm3, xmmword [0x643170]
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 [0x643150]
pxor xmm2, xmmword [0x643160]
pxor xmm3, xmmword [0x643170]
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 0x45fd6a
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 [0x642d4f], 0
je 0x46141a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45fb90
jmp fcn.004080e0
Function at 0x461420
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40293e
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.004080e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00460140
jmp 0x402900
cmp byte [0x642d4f], 0
je 0x46143b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x45fb90
jmp 0x402900