joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414c70
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414e6e
sub esp, 0x18
mov eax, dword [0x11884ac]
test eax, eax
jne 0x414e57
nop
nop
lea eax, [0x118849c]
mov dword [esp], eax
call fcn.0040a920
mov eax, dword [0x11884a0]
test eax, eax
je 0x414cb8
cmp dword [eax + 8], 0xcc
jne 0x414d2e
mov edx, dword [0x11884a4]
test edx, edx
jne 0x414d10
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x118e4f0]
mov dword [esp + 8], eax
call fcn.0040c4b0
mov eax, dword [esp + 0xc]
mov dword [0x11884a4], eax
mov ecx, dword [0x11884a8]
mov dword [eax], ecx
mov eax, dword [0x11884a4]
mov dword [0x11884a8], eax
movzx eax, byte [0x1188fc0]
test al, al
jne 0x414d10
xor eax, eax
jmp 0x414e28
mov edx, dword [0x11884a4]
mov ebx, dword [edx + 4]
mov dword [0x11884a4], ebx
mov ebx, dword [0x11884a0]
mov dword [edx + 4], ebx
mov dword [0x11884a0], edx
mov edx, dword [0x11884a0]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x414e07
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.00479c20
mov eax, dword [0x1188b08]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x414d80
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x414dc0
call fcn.00474d00
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x118849c]
mov dword [esp], eax
call fcn.0040ab40
nop
lea eax, [0x1188498]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00479da0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00474d20
lea edx, [0x1108468]
movzx ebx, byte [edx + eax]
lea ebp, [0x1188fc0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x414d10
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x414e11
mov ecx, 5
call fcn.00474d10
lea eax, [0xb128f2]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046dfe0
nop
call fcn.00473890
jmp fcn.00414c70
Function at 0x419e90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419f19
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00479ad0
movzx eax, byte [esp + 0xc]
test al, al
je 0x419efe
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x419f02
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.00419f30
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0041a4e0
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0xb1290a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046dfe0
nop
call fcn.00473890
jmp fcn.00419e90
Function at 0x429d30
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x429f0a
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x429e35
cmp cl, 1
je 0x429dc4
cmp cl, 2
jne 0x429ef3
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00479b70
nop
nop
lea eax, [0x1174b08]
mov dword [esp], eax
call fcn.0040a920
mov eax, dword [0x1174afc]
sub eax, dword [0x1174ae0]
nop
mov dword [0x1174afc], eax
mov eax, dword [0x1174aec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1174aec], ecx
nop
lea eax, [0x1174b08]
mov dword [esp], eax
call fcn.0040ab40
jmp 0x429eef
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.00414c70
nop
nop
lea eax, [0x1174b08]
mov dword [esp], eax
call fcn.0040a920
mov eax, dword [0x1174a5c]
sub eax, dword [0x1174a40]
nop
mov dword [0x1174a5c], eax
mov eax, dword [0x1174a4c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1174a4c], ecx
nop
lea eax, [0x1174b08]
mov dword [esp], eax
call fcn.0040ab40
jmp 0x429eef
cmp cl, 3
je 0x429e97
cmp cl, 4
jne 0x429e48
mov byte [eax + 8], 1
jmp 0x429eef
cmp cl, 5
jne 0x429ef3
nop
nop
lea eax, [0x1174b08]
mov dword [esp], eax
call fcn.0040a920
mov eax, dword [0x1174ad4]
sub eax, dword [0x1174ab8]
nop
mov dword [0x1174ad4], eax
mov eax, dword [0x1174ac4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1174ac4], ecx
nop
lea eax, [0x1174b08]
mov dword [esp], eax
call fcn.0040ab40
jmp 0x429eef
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042f330
nop
nop
lea eax, [0x1174b08]
mov dword [esp], eax
call fcn.0040a920
mov eax, dword [0x1174a84]
sub eax, dword [0x1174a68]
nop
mov dword [0x1174a84], eax
mov eax, dword [0x1174a74]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1174a74], ecx
nop
nop
lea eax, [0x1174b08]
mov dword [esp], eax
call fcn.0040ab40
add esp, 0x14
ret
lea eax, [0xb09e2c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0046dfe0
nop
call fcn.00473890
jmp fcn.00429d30
Function at 0x42f400
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42f582
sub esp, 0x24
mov eax, dword [0x1188f9c]
test eax, eax
je 0x42f52d
mov eax, dword [esp + 0x38]
cmp eax, 5
jg 0x42f538
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x42f486
cmp ecx, ebx
je 0x42f486
mov ecx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov esi, dword [edx + 0x178]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0045c3b0
mov eax, dword [esp + 0x14]
jmp 0x42f4b0
mov ecx, dword [edx + 0x178]
mov ebx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00472b40
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
cmp eax, edx
ja 0x42f531
mov ecx, dword [ebx + 0x178]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0042fe40
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x1188680]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42f529
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42f529
mov dword [ebx + 8], 0xfffffade
add esp, 0x24
ret
add esp, 0x24
ret
mov ecx, eax
call fcn.00474d50
call fcn.0043a850
lea eax, [0xb08f04]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043b0b0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043aed0
call fcn.0043a8b0
lea eax, [0xb0be78]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0046dfe0
nop
call fcn.00473890
jmp fcn.0042f400
Function at 0x436b00
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 8
mov dword [esp + 0x30], 0
mov eax, dword [0x1188680]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x1b0], 8
lea ecx, [esp + 0x10]
mov dword [eax + 0x1b4], ecx
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.004367e0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
add esp, 8
ret
Function at 0x458650
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45874c
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
test byte [eax], al
nop
nop
mov dword [esp], eax
call fcn.0040a920
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x458693
call fcn.004584f0
mov eax, dword [esp + 0x10]
inc dword [eax + 8]
movzx ecx, byte [eax + 5]
test cl, 1
je 0x4586e7
test cl, 4
je 0x4586e7
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
test ebx, ebx
setg bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
seta dl
and ebp, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4586e7
and ecx, 0xfffffffb
mov byte [eax + 5], cl
mov ecx, dword [eax + 0x2c]
test byte [ecx], al
add ecx, 0x14
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.00479bb0
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 5]
nop
test cl, 1
jne 0x458725
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
test edx, edx
setg dl
sete bl
test ecx, ecx
seta cl
and ebx, ecx
or ebx, edx
test bl, bl
je 0x458725
movzx ecx, byte [eax + 6]
test cl, cl
je 0x45871e
mov ecx, dword [eax + 8]
test ecx, ecx
seta cl
jmp 0x458727
mov ecx, 1
jmp 0x458727
xor ecx, ecx
mov byte [esp + 0xf], cl
mov dword [esp], eax
call fcn.004562e0
movzx eax, byte [esp + 0xf]
test al, al
je 0x458748
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00456e20
add esp, 0x14
ret
call fcn.00473890
jmp fcn.00458650
Function at 0x461f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46219a
sub esp, 0x68
movzx eax, byte [esp + 0x88]
test al, al
je 0x46214a
mov ecx, dword [esp + 0x8c]
test ecx, ecx
sete dl
mov ebx, dword [esp + 0x90]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46205a
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x34], ebx
movzx eax, al
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x19
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.0045e850
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x4620dc
mov edx, dword [esp + 0x78]
mov dword [esp + 0x48], edx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x80]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x54], esi
movzx eax, al
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x30
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 4
call fcn.0045e850
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x89]
test bl, bl
je 0x462131
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x44], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0x22
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.0045e850
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x68
ret
call fcn.0043a850
lea eax, [0xb08094]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043b0b0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.0043ada0
call fcn.0043aa50
call fcn.0043a8b0
lea eax, [0xb345df]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.0046dfe0
nop
call fcn.00473890
jmp fcn.00461f90
Function at 0x468500
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
test eax, eax
je 0x468600
mov eax, dword [0x1188680]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [eax + 0x98]
mov edx, dword [eax + 0x9c]
lea ebx, [eax + 0x1d0]
mov dword [esp + 0x30], ebx
lea ebp, [eax + 0x318]
mov dword [esp + 0x2c], ebp
add ecx, 1
mov dword [eax + 0x98], ecx
adc edx, 0
mov dword [eax + 0x9c], edx
mov ecx, dword [eax + 0xa8]
mov dword [ecx], 0
call fcn.0046e300
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004371b0
mov eax, dword [esp + 0x28]
mov byte [eax + 0x8c], 1
inc dword [eax + 0xa0]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call fcn.00474920
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x28]
mov byte [ecx + 0x8c], 0
dec dword [ecx + 0xa0]
nop
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.00479cf0
lea edi, [esp + 0xc]
mov esi, dword [esp + 0x30]
call fcn.00475414
call fcn.0046e480
mov eax, dword [0x1188680]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
test byte [eax], al
lea edi, [eax + 0x1d0]
lea esi, [esp + 0xc]
call fcn.00475414
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
add esp, 0x34
ret
lea eax, [0xb04f72]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0046dfe0
nop
int3
Function at 0x471170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4712ea
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4712e0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4711ca
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4711ca
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 0x4711dd
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x4712b7
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 0x4712ab
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 0x4712a2
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x471230
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x471273
mov eax, 1
cmp eax, ecx
ja 0x471267
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00474d80
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x47129d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x47126c
mov ecx, dword [esp + 0xc]
jmp 0x471235
call fcn.00474d20
xor eax, eax
mov ecx, eax
call fcn.00474d10
call fcn.00474d80
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x4712db
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x4712b0
mov ecx, dword [esp + 0x18]
jmp 0x4711e2
call fcn.00474d20
xor eax, eax
mov ecx, eax
call fcn.00474d10
nop
call fcn.00473890
jmp fcn.00471170
Function at 0x472b40
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x472bdb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x1188680]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00474f37
lea ecx, [0x45c2f0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.004737a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00473890
jmp fcn.00472b40
Function at 0x474b40
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 [0x1188e60]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x4732cb
je 0x47331e
cmp ebx, 0x20
jbe 0x473324
cmp ebx, 0x40
jbe 0x47336a
jmp 0x47340b
test ebx, ebx
je 0x473314
add eax, 0x10
test ax, 0xff0
je 0x473300
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0xd4d0a0]
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 + 0xd4d1a0]
jmp 0x4732e8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x4732e8
pxor xmm1, xmmword [0x1188e70]
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 [0x1188e70]
pxor xmm2, xmmword [0x1188e80]
pxor xmm3, xmmword [0x1188e90]
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 [0x1188e70]
pxor xmm2, xmmword [0x1188e80]
pxor xmm3, xmmword [0x1188e90]
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 0x47346a
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 [0x118840d], 0
je 0x474b5a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x473290
jmp fcn.00409420
Function at 0x4031b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e6020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403250
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403230
xor eax, eax
push ebp
push 0x403229
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40326c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403230
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4e6020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e6020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ffc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ed04c], 0
je 0x40405d
cmp word [0x4ed220], 0xd7b2
jne 0x404025
cmp dword [0x4ed228], 0
jbe 0x404025
mov eax, 0x4ed21c
call dword [0x4ed238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4e606c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404084
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e6030], 0
jne 0x404079
push 0
push 0x4e6064
push 0x4e606c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4041b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027f0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4ed04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404178
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc