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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004d88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x338
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x343]
mov byte [ebp - 0x344], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x43]
mov byte [ebp - 0x44], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push eax
call fcn.10002c80
add esp, 4
jbe 0x100041d0
add byte [eax + 0x58], dl
push eax
pop eax
ja 0x100041d0
pop esi
fisubr dword [ecx + 0x7a96ed64]
dec esp
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x143]
mov byte [ebp - 0x144], bl
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 1
push ecx
push 1
stosw word es:[edi], ax
push ebx
push 0x1000612c
push 0x80000001
mov dword [ebp - 0x14], 0xff
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x10004262
jp 0x10004237
push eax
mov ax, 0xea42
pop eax
jnp 0x10004237
pop eax
mov edx, 0xb7bc9ea5
jb 0x10004258
jp 0x100041be
test cl, 0x87
xor esp, esi
cwde
push edx
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x144]
push edx
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
push ecx
push ebx
push 0x10006158
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
add bx, ax
mov bx, 0x6602
and bh, dl
pop ebx
test esi, esi
je 0x10004278
mov byte [ebp - 0x144], 0x20
push ebx
push edx
test bl, 0x3e
sub dh, cl
mov dh, ah
pop edx
pop ebx
mov edx, dword [0x100060d0]
lea ecx, [ebp - 0x144]
push ecx
mov ecx, dword [0x100060cc]
xor eax, eax
and edx, 0xffff
mov ax, word [0x100060ce]
push edx
mov edx, dword [ebp + 8]
and ecx, 0xffff
push eax
push ecx
mov ecx, dword [0x100060c8]
lea eax, [ebp - 0x44]
push edx
push eax
push ecx
lea edx, [ebp - 0x344]
push 0x10006164
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
push ecx
push edx
sub ecx, eax
test esi, ecx
xor cl, ch
cmp dh, 0x74
or ch, 0x3d
cmp dl, bl
test ecx, 0x5962
or cx, bx
or edx, eax
cmp ch, cl
pop edx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.10002590
lea eax, [ebp - 0x344]
lea ecx, [ebp - 0x24]
push eax
mov dword [ebp - 4], 0
call fcn.10001c20
mov dword [ebp + 8], eax
pushaw
push ecx
test bl, ah
or ch, 0x47
pop ecx
popaw
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ecx
push 0x100060d4
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.10001970
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ddcf
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00414bc1
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41de07
xor eax, eax
jmp 0x41de33
cmp esi, dword [ebp - 4]
je 0x41de30
cmp dword [ebp + 0xc], 0
je 0x41de30
push dword [edi + 0x9c]
call fcn.0041d9dd
push dword [edi + 0x9c]
mov esi, eax
call fcn.00410327
pop ecx
pop ecx
cmp esi, eax
je 0x41de03
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x7ffe5321
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
stc
add eax, 0
cld
and bh, 0xff
stc
push edx
cdq
pop edx
clc
and bh, 0xff
clc
and bh, 0xff
clc
push edx
cdq
pop edx
nop
add eax, 0
nop
lea esp, [esp]
stc
pushal
inc eax
popal
cld
pushal
inc eax
popal
clc
pushal
inc eax
popal
cld
pushal
inc eax
popal
clc
pushal
inc eax
popal
cld
and bh, 0xff
stc
push edx
cdq
pop edx
cld
push edx
cdq
pop edx
cld
lea esp, [esp]
cld
push edx
cdq
pop edx
cld
push edx
cdq
pop edx
stc
add eax, 0
nop
add eax, 0
cld
add eax, 0
clc
add eax, 0
clc
add eax, 0
stc
and bh, 0xff
clc
lea esp, [esp]
stc
lea esp, [esp]
cld
pushal
inc eax
popal
stc
push edx
cdq
pop edx
stc
add eax, 0
nop
pushal
inc eax
popal
cld
and bh, 0xff
cld
lea esp, [esp]
clc
add eax, 0
stc
push edx
cdq
pop edx
cld
cld
stc
cld
call 0x7ffe53bc
pop edx
stc
pushal
inc eax
popal
inc esi
dec esi
stc
xor dx, dx
cld
cld
add edx, 0xd5e0
cld
pushal
inc eax
popal
cld
pushal
inc eax
popal
nop
add eax, 0
nop
xor ecx, ecx
pushal
inc eax
popal
clc
pushal
inc eax
popal
push es
pop ds
cld
mov cl, 0x1e
stc
xor byte [ecx + edx], 0x78
loop 0x7ffe53eb
cld
nop
push dword fs:[0x24]
add eax, 0
pop dword [edx + 0xa]
clc
push edx
cdq
pop edx
nop
push edx
cdq
pop edx
cld
nop
stc
clc
mov cl, 0xff
nop
push edx
cdq
pop edx
stc
add eax, 0
clc
pushal
inc eax
popal
cld
push edx
loop 0x7ffe541b
lea esp, [esp]
cld
stc
clc
mov dword [edx + 0x11], 0xffffacbb
add eax, 0
clc
add eax, 0
stc
cld
mov ecx, dword [eax + 0x2c]
nop
and bh, 0xff
nop
clc
mov dword [edx + 0x1b], ecx
cld
push edx
cdq
pop edx
clc
pushal
inc eax
popal
cld
mov dword [edx + 0x100], ecx
lea esp, [esp]
cld
push edx
cdq
pop edx
add al, 0
clc
mov dword [eax + 0x2c], esp
stc
add eax, 0
nop
and bh, 0xff
nop
push 0
clc
nop
push 0
pushal
inc eax
popal
cld
nop
push 0
nop
lea esp, [esp]
stc
and bh, 0xff
stc
clc
clc
nop
push 0
stc
pushal
inc eax
popal
cld
pushal
inc eax
popal
nop
push 0x30
cld
clc
push 0x20
pushal
inc eax
popal
cld
lea esp, [esp]
cld
and al, 0xff
stc
push 0
lea esp, [esp]
cld
add eax, 0
cld
add eax, 0
stc
push 0
and bh, 0xff
cld
push edx
cdq
pop edx
cld
nop
cld
clc
add edx, 0xffff7f31
cld
pushal
inc eax
popal
clc
cld
cld
stc
push edx
stc
pushal
inc eax
popal
clc
pushal
inc eax
popal
cld
clc
cld
push edx
lea esp, [esp]
nop
pushal
inc eax
popal
pushal
inc eax
popal
push 0
add eax, 0
call dword [edx + 0x8212]
cld
and bh, 0xff
cld
cld
nop
clc
add esp, 0x3f8
cld
lea esp, [esp]
add eax, 0
xor eax, eax
lea esp, [esp]
nop
pushal
inc eax
popal
push edx
cdq
pop edx
inc eax
and bh, 0xff
stc
push es
pop ds
cld
ret 0xc
Function at 0x40c5f0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c7be
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c61b
mov eax, 0x7000000
jmp 0x40c623
test eax, eax
je 0x40c799
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.00469a50
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, [0x10115a0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40c7b1
cmp ecx, 0x21
jae 0x40c7a5
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.004631f0
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.004632c0
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 [0xc2b554]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xc2b674]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c774
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xc2b75c]
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.00469b30
mov eax, ecx
mov ecx, 0x21
call fcn.00469c10
nop
call fcn.00468690
jmp fcn.0040c5f0
Function at 0x4162c0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4164d4
sub esp, 0x18
mov eax, dword [0x10a62dc]
test eax, eax
jne 0x4164bd
nop
lea eax, [0x10a62c4]
mov dword [esp], eax
call fcn.0040a440
mov eax, dword [0x10a62c8]
test eax, eax
je 0x416309
cmp dword [eax + 8], 0xcc
jne 0x41637f
mov edx, dword [0x10a62bc]
test edx, edx
jne 0x416361
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x10ab910]
mov dword [esp + 8], eax
call fcn.0040c7d0
mov eax, dword [esp + 0xc]
mov dword [0x10a62bc], eax
mov ecx, dword [0x10a6280]
mov dword [eax], ecx
mov eax, dword [0x10a62bc]
mov dword [0x10a6280], eax
movzx eax, byte [0x10a6b40]
test al, al
jne 0x416361
xor eax, eax
jmp 0x416469
mov edx, dword [0x10a62bc]
mov ebx, dword [edx + 4]
mov dword [0x10a62bc], ebx
mov ebx, dword [0x10a62c8]
mov dword [edx + 4], ebx
mov dword [0x10a62c8], edx
mov edx, dword [0x10a62c8]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x416451
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.00402580
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x10a66d0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x4163dd
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x4163ea
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00469aa0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x10a66d0]
test edx, edx
jne 0x416416
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 0x416437
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00469aa0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00469aa0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00469aa0
mov byte [0x10a61bf], 1
nop
lea eax, [0x10a62c4]
mov dword [esp], eax
call fcn.0040a640
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00469b30
lea esi, [0x10a6b40]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x416361
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 0x4164b3
lea edx, [0x1007738]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41645b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00469b20
mov ecx, 5
call fcn.00469b20
lea eax, [0xb4a54f]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043b580
nop
call fcn.00468690
jmp fcn.004162c0
Function at 0x42a4e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42a5fc
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x42a575
cmp cl, 2
je 0x42a51d
cmp cl, 3
jne 0x42a5e5
mov byte [eax + 8], 1
jmp 0x42a5e1
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042fd30
nop
lea eax, [0x108a804]
mov dword [esp], eax
call fcn.0040a440
nop
mov eax, dword [0x108a7d0]
sub eax, dword [0x108a7b4]
mov dword [0x108a7d0], eax
mov eax, dword [0x108a7c0]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x108a7c0], ecx
nop
lea eax, [0x108a804]
mov dword [esp], eax
call fcn.0040a640
jmp 0x42a5e1
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.004162c0
nop
lea eax, [0x108a804]
mov dword [esp], eax
call fcn.0040a440
nop
mov eax, dword [0x108a7a8]
sub eax, dword [0x108a78c]
mov dword [0x108a7a8], eax
mov eax, dword [0x108a798]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x108a798], ecx
nop
nop
lea eax, [0x108a804]
mov dword [esp], eax
call fcn.0040a640
add esp, 0x14
ret
lea eax, [0xb40957]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043b580
nop
call fcn.00468690
jmp fcn.0042a4e0
Function at 0x458100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x458287
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x45827d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45815c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45815c
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 0x45816f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x458252
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 0x458244
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 0x45823b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x4581c6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x45820f
mov eax, 1
cmp eax, ecx
ja 0x4581fd
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.00469b90
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x458236
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 0x458202
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x4581cb
call fcn.00469b30
xor eax, eax
mov ecx, eax
call fcn.00469b20
call fcn.00469b90
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x458278
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 0x458249
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x458174
call fcn.00469b30
xor eax, eax
mov ecx, eax
call fcn.00469b20
nop
call fcn.00468690
jmp fcn.00458100
Function at 0x45fe10
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 0x45feaf
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.00469d47
lea ecx, [0x45fec0]
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.00468580
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00468690
jmp fcn.0045fe10
Function at 0x469950
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 [0x10a6920]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46811b
je 0x46816e
cmp ebx, 0x20
jbe 0x468174
cmp ebx, 0x40
jbe 0x4681ba
jmp 0x46825b
test ebx, ebx
je 0x468164
add eax, 0x10
test ax, 0xff0
je 0x468150
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0xc328a0]
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 + 0xc32aa0]
jmp 0x468138
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x468138
pxor xmm1, xmmword [0x10a6930]
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 [0x10a6930]
pxor xmm2, xmmword [0x10a6940]
pxor xmm3, xmmword [0x10a6950]
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 [0x10a6930]
pxor xmm2, xmmword [0x10a6940]
pxor xmm3, xmmword [0x10a6950]
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 0x4682ba
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 [0x10a61c7], 0
je 0x46996a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x4680e0
jmp fcn.00408e00
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x575d6aa4
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x2e741ca2
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219