joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0f58
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a0f6f
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043aed8
mov eax, dword [0x4ace84]
cmp byte [eax], 0
jne 0x4a0f9c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4ad0c0]
cmp word [eax + 2], 0
jne 0x4a0fb6
mov eax, dword [0x4ad0c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a3050
mov eax, dword [0x4ad194]
cmp word [eax + 2], 0
jne 0x4a0fd0
mov eax, dword [0x4ad194]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a3260
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x445718]
call fcn.0044a720
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a3810
mov dl, 1
mov eax, dword [0x424558]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x424558]
call fcn.00404d78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x448db0]
call fcn.00451518
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a11b0
mov eax, dword [0x4acfc0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004519ac
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a3af8
mov dl, 1
mov eax, dword [0x424558]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4acfc0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00411ab8
test eax, eax
je 0x4a10e1
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041189c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00411a9c
test eax, eax
je 0x4a10f9
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406a20
push ebx
push 0x4a2a20
call fcn.00496c68
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4ace84]
cmp byte [eax], 0
jne 0x4a114a
mov eax, ebx
call fcn.004a1324
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a3d24
mov eax, ebx
call fcn.004a4958
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a11a7
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a15f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a169a
cmp dword [ebx + 0x94], 0
jne 0x4a1694
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a1544
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a1694
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a165a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a1694
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042f32c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a1669
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a18b8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b3280]
cmp dword [eax + 0x170], 0
je 0x4a1a1d
test bl, bl
jne 0x4a196b
cmp dword [esi + 0x9c], 0
jne 0x4a1960
mov eax, esi
call fcn.004a47a8
push eax
push 0x4a17c4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a1931
mov eax, dword [0x4b3280]
cmp byte [eax + 0xd3], 0
je 0x4a1931
mov eax, dword [esi + 0xd8]
call fcn.00407e3c
mov edi, eax
cmp edi, 0
jl 0x4a1931
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a191a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a1960
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f32c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a1940
inc dword [esi + 0x9c]
jmp 0x4a1a1d
cmp dword [esi + 0x9c], 0
jle 0x4a1a1d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a1a1d
cmp dword [esi + 0x44], 0
je 0x4a19c8
mov eax, dword [0x4b3280]
cmp byte [eax + 0xd3], 0
je 0x4a19c8
mov eax, dword [esi + 0xd8]
call fcn.00407e3c
mov edi, eax
cmp edi, 0
jl 0x4a19c8
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a19b1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a19f7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f32c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a19d7
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x494b40]
call fcn.00407ffc
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a266c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a26d7
cmp byte [ebx + 0xd3], 0
jne 0x4a26d7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406974
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a26c4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a26e4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406838
jmp 0x4a26e4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406838
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a3f0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a3f7a
mov eax, esi
call fcn.0047c68c
test al, al
je 0x4a3f7a
mov eax, dword [ebx + 0x84]
call fcn.0047c2e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a3f7a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a3f6e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047c2e0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004732b4
jmp 0x4a3f7a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a3d44
pop esi
pop ebx
ret
Function at 0x40bea0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c06e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40becb
mov eax, 0x7000000
jmp 0x40bed3
test eax, eax
je 0x40c049
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.00464290
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, [0x89f9e0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40c061
cmp ecx, 0x21
jae 0x40c055
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.0045d220
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.0045d2f0
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 [0x73b288]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x73b358]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c024
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x73b3c8]
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.00464370
mov eax, ecx
mov ecx, 0x21
call fcn.00464440
nop
call fcn.00462ed0
jmp fcn.0040bea0
Function at 0x415060
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415284
sub esp, 0x18
mov eax, dword [0x8f4f1c]
test eax, eax
jne 0x41526d
nop
lea eax, [0x8f4f08]
mov dword [esp], eax
call fcn.00409c90
mov eax, dword [0x8f4f0c]
test eax, eax
je 0x4150a9
cmp dword [eax + 8], 0xcc
jne 0x41511f
mov edx, dword [0x8f4f00]
test edx, edx
jne 0x415101
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x8fa250]
mov dword [esp + 8], eax
call fcn.0040c080
mov eax, dword [esp + 0xc]
mov dword [0x8f4f00], eax
mov ecx, dword [0x8f4ec4]
mov dword [eax], ecx
mov eax, dword [0x8f4f00]
mov dword [0x8f4ec4], eax
movzx eax, byte [0x8f5660]
test al, al
jne 0x415101
xor eax, eax
jmp 0x415219
mov edx, dword [0x8f4f00]
mov ebx, dword [edx + 4]
mov dword [0x8f4f00], ebx
mov ebx, dword [0x8f4f0c]
mov dword [edx + 4], ebx
mov dword [0x8f4f0c], edx
mov edx, dword [0x8f4f0c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x415201
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.00402180
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x8f52e0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41517d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41518a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.004642e0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x8f52e0]
test edx, edx
jne 0x4151b6
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 0x4151d7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.004642e0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.004642e0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.004642e0
nop
lea eax, [0x8f4f08]
mov dword [esp], eax
call fcn.00409e90
nop
lea eax, [0x8f4f04]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402300
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00464370
lea esi, [0x8f5660]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x415101
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 0x415263
lea edx, [0x899234]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41520b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00464360
mov ecx, 5
call fcn.00464360
lea eax, [0x6da212]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00436a50
nop
call fcn.00462ed0
jmp fcn.00415060
Function at 0x428960
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428ad0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00426670
mov eax, dword [esp + 4]
test eax, eax
je 0x428ab9
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.004243f0
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.00409c90
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x4289f7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x428a5d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x428a0c
cmp byte [ebp + 6], dl
je 0x428a17
cmp esi, ebx
ja 0x428a5d
jne 0x4289f5
cmp byte [ebp + 6], dl
jbe 0x4289f5
jmp 0x428a5d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409e90
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 0x428a54
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x428a54
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.00428860
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409e90
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 0x428ab0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x428ab0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x6dc5bd]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00436a50
nop
call fcn.00462ed0
jmp fcn.00428960
Function at 0x428f50
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42906c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x428fe5
cmp cl, 2
je 0x428f8d
cmp cl, 3
jne 0x429055
mov byte [eax + 8], 1
jmp 0x429051
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042e240
nop
lea eax, [0x8d94b8]
mov dword [esp], eax
call fcn.00409c90
nop
mov eax, dword [0x8d9484]
sub eax, dword [0x8d9468]
mov dword [0x8d9484], eax
mov eax, dword [0x8d9474]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x8d9474], ecx
nop
lea eax, [0x8d94b8]
mov dword [esp], eax
call fcn.00409e90
jmp 0x429051
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.00415060
nop
lea eax, [0x8d94b8]
mov dword [esp], eax
call fcn.00409c90
nop
mov eax, dword [0x8d945c]
sub eax, dword [0x8d9440]
mov dword [0x8d945c], eax
mov eax, dword [0x8d944c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x8d944c], ecx
nop
nop
lea eax, [0x8d94b8]
mov dword [esp], eax
call fcn.00409e90
add esp, 0x14
ret
lea eax, [0x6d6241]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00436a50
nop
call fcn.00462ed0
jmp fcn.00428f50
Function at 0x4521d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452357
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x45234d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45222c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45222c
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 0x45223f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x452322
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 0x452314
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 0x45230b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x452296
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x4522df
mov eax, 1
cmp eax, ecx
ja 0x4522cd
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.004643d0
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x452306
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 0x4522d2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x45229b
call fcn.00464370
xor eax, eax
mov ecx, eax
call fcn.00464360
call fcn.004643d0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x452348
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 0x452319
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x452244
call fcn.00464370
xor eax, eax
mov ecx, eax
call fcn.00464360
nop
call fcn.00462ed0
jmp fcn.004521d0
Function at 0x456720
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x456820
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.00456fb0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x693e80]
mov dword [esp], ecx
call fcn.0040bd30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x8d9550]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00455fa0
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.004553c0
add esp, 0x28
ret
call fcn.00462ed0
jmp fcn.00456720
Function at 0x459d90
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 0x459e2f
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.00464577
lea ecx, [0x459e40]
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.00462dc0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00462ed0
jmp fcn.00459d90
Function at 0x464190
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 [0x8f5440]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46295b
je 0x4629ae
cmp ebx, 0x20
jbe 0x4629b4
cmp ebx, 0x40
jbe 0x4629fa
jmp 0x462a9b
test ebx, ebx
je 0x4629a4
add eax, 0x10
test ax, 0xff0
je 0x462990
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x73de20]
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 + 0x73e020]
jmp 0x462978
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x462978
pxor xmm1, xmmword [0x8f5450]
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 [0x8f5450]
pxor xmm2, xmmword [0x8f5460]
pxor xmm3, xmmword [0x8f5470]
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 [0x8f5450]
pxor xmm2, xmmword [0x8f5460]
pxor xmm3, xmmword [0x8f5470]
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 0x462afa
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 [0x8f4e7a], 0
je 0x4641aa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x462920
jmp fcn.004085d0
Function at 0x4641b0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x402c5e
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.004085d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00462ed0
jmp 0x402c20
cmp byte [0x8f4e7a], 0
je 0x4641cb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x462920
jmp 0x402c20