joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51b6e2
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 2]
mov dword [esp + 0x10], edi
lea esp, [esp + 0x10]
jmp 0x51b76d
push word [esp + 2]
jno 0x51b6cc
jo 0x51b6f3
inc ebx
fisttp qword [ebp + 0x14]
out 0x57, eax
lodsb al, byte [esi]
mov edi, 0x224648d
lea esp, [esp + 2]
mov dword [esp + 0x10], edi
lea esp, [esp + 0x10]
jmp 0x51b76d
pushfd
jmp 0x51ad51

Function at 0x51b789
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dl, 0x19
sub esp, 9
setno bl
mov dx, word [esp]
lea esp, [esp + 1]
jmp 0x51b799
lea edx, [eax + edi]
cpuid
mov cx, word [esp]
bswap ecx
xchg dword [esp], ecx
jmp 0x51b773
lea ecx, [ecx + 0xe]
rdtsc
bsr ax, si
mov di, 0x254c
mov di, 0xa364
mov edi, dword [esp]
jmp 0x51b7d9
push dword [esp + 0xc]
ret 0x10
xchg dword [esp + 8], ecx
mov edx, 0x932ae90a
mov cl, byte [esp]
mov edx, 0x35747863
rdtsc
pushfd
jmp 0x51b7c3

Function at 0x51de54
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0508678
jmp 0x51de5d
mov dword [esp], edi
pushfd
jmp 0x51cd5d
jmp 0x51dea4
neg si
mov ax, 0xf007
jmp 0x51de8a
mov ebp, dword [esp + 0x2c]
shr eax, 0x1a
jb 0x51df07
lea ecx, [esp + ecx]
mov edi, 0x8ead9c5b
xchg bl, ah
jmp 0x51dedb
or eax, ebx
je 0x51de7c
neg si
mov ax, 0xf007
jmp 0x51de8a
lea esi, reloc.RASAPI32.dll_RasHangUpA
dec ax
jle 0x51dee0
cpuid
jmp 0x51deea
mov edi, 0x8ead9c5b
xchg bl, ah
lea edi, [esp]
jmp 0x51deb1
cpuid
bswap eax
jmp 0x51df42
bswap eax
jmp 0x51df42
setnp al
mov dx, 0x370f
lea ecx, [esp + ecx]
jmp 0x51ded4
sub esp, 0xc0
mov esi, esp
mov bx, bp
cpuid
jmp 0x51deee

Function at 0x51eaaf
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 0xc]
ret 0x10
xchg dword [esp + 0xc], ebx
mov bx, word [esp]
add dl, 0xc0
lea eax, [ebp*4]
not eax
shl eax, cl
jmp 0x51e404
mov edx, 0xfaf49659
lea edx, [ecx*4]
rdtsc
mov ax, word [esp]
sub esp, 0xd
lea esp, [esp + 1]
jmp 0x51e41f
xchg dword [esp], ebx
mov eax, 0xd18a585d
rdtsc
sbb ax, 0x5272
mov eax, 0xee8ffda5
lea ebx, [ebx + 0x28]
jmp 0x51e4bd
lea edx, reloc.RASAPI32.dll_RasHangUpA
rdtsc
inc edx
mov dx, word [esp]
mov bh, 0x9a
jmp 0x51e59a
Function at 0x545c1f
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x54599b
dec dword [ebp + 0x14]
test ecx, ecx
pushfd
jmp 0x545943
mov ax, word [esp]
bswap eax
jmp 0x54592d
mov ecx, dword [ebp + 0x14]
jmp 0x54517c
call fcn.00545973
push ecx
jecxz 0x545230
push ss
in eax, 0x54
test eax, 0x2cddba24
wait
rcl dword [eax - 0x2d]
dec edx
in eax, 0x66
push eax
push ax
call 0x5451d3
adc al, 0xff
je 0x5451fa
add al, 0x8d
and al, 2
jmp 0x54597f
lea edx, [esp - 0x37]
jmp 0x5458df
pushfd
lea esp, [esp + 4]
jmp 0x5458bb
call fcn.005090a0
lea edi, [edx + 0x67]
bswap eax
mov edi, dword [esp]
jmp 0x5458f3
mov edx, esi
lea ecx, [ebp - 0xc9]
lea esp, [esp + 4]
lea ecx, reloc.RASAPI32.dll_RasHangUpA
jmp 0x54589c
lea esp, [esp + 4]
mov dword [ebp + 0x14], 0x30c
bswap esi
jmp 0x5459cd
lea eax, reloc.RASAPI32.dll_RasHangUpA
jmp 0x5451cb
lea esp, [esp + 4]
jne 0x545177
mov al, 0x77
mov dword [ebp + 0x14], 0x104
bswap eax
jmp 0x545187
push edi
mov edi, ebp
lea edi, [edi + 0x14]
mov ecx, dword [edi]
jmp 0x5459a4
mov byte [eax], 0
inc eax
jmp 0x54519f
pop edi
sub esp, 8
lea esp, [esp + 0x10]
dec dword [ebp + 0x14]
jmp 0x545af1
lea eax, reloc.RASAPI32.dll_RasHangUpA
lea esi, [eax + edx]
mov esi, dword [esp]
pop esi
jmp 0x54519f
test ecx, ecx
jne 0x5451b5
call fcn.005459b4
movzx esi, byte [eax + 6]
lea ebx, [ebx*4]
jmp 0x545c37
or bh, 0x1b
jmp 0x545b59
mov eax, ecx
add eax, 4
mov dword [eax], edx
pop eax
mov bp, bx
jmp 0x545b36
movzx edx, byte [eax + 8]
jmp 0x545b90
mov bh, byte [esp]
xor edx, esi
push eax
jmp 0x545b4c
push bx
push word [esp + 1]
jmp 0x545bb2
movzx esi, byte [eax + 9]
stc
dec bp
shl edx, 8
jmp 0x545b7a
shl edx, 8
jmp 0x545bc1
xor edx, esi
btc esi, edi
lea esp, [esp + 4]
movzx esi, byte [eax + 0xa]
jmp 0x545b9c
xor edx, esi
stc
mov bx, word [esp]
jmp 0x545bff
movzx esi, byte [eax + 7]
shl edx, 8
not bx
dec bp
jmp 0x545b72
shl edx, 8
mov bx, word [esp]
shr ebp, cl
jmp 0x545c0e
movzx esi, byte [eax + 0xb]
xchg bp, di
clc
mov bh, 0x2b
setb bh
jmp 0x545be9
xor edx, esi
shl di, 0xf
sub esp, 0
bswap ebp
call 0x545c1f
fsub st(1), st(0)
jp 0x545c25
add byte [eax], al
sub dh, byte [ebx + 0x72b54623]
mov bl, 0x23
inc esi
mov ch, 0x72
xor byte [edx + ebp + 0x260cbc4d], dh
mov eax, dword [reloc.RASAPI32.dll_RasHangUpA]
pushal
shl edx, 8
xor edx, esi
mov si, 0x46d8
mov esi, dword [esp]
jmp 0x545bdb
Function at 0x545dd5
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, edi
mov edi, 0x6c7bf52c
lea edi, [ebp*4]
jmp 0x545db2
neg bp
movzx edi, byte [edi*4 + 0x514680]
fisttp qword [edi]
mov dh, 0x3c
mov ebp, 0x514680
rcr bp, 0
pushal
jmp 0x545d74
bswap ebp
mov ebp, dword [esp]
call fcn.00545dd5
jo 0x545d8c
jp 0x545dc7
in al, dx
pop edi
xchg ecx, eax
adc byte [ebx + 0x66d4a50a], dl
mov edi, 0xfa8bf625
mov di, 0xf625
mov edi, edx
bsr ebp, ebp
and edi, esi
jmp 0x545d9c
mov ebp, 0x6c7da60e
jmp 0x545de2
retf
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
mov bp, word [esp]
jmp 0x545dbf
add ebp, 0x938358f2
call 0x545dee
adc ah, byte [esi - 1]
je 0x545e16
add dword [ebp - reloc.RASAPI32.dll_RasHangUpA], ecx
and al, 4
call fcn.00545e21
xchg esp, eax
or eax, 0xd717e49d
push es
sahf
or al, 0x6b
cmpsb byte [esi], byte es:[edi]
outsd dx, dword [si]
mov edi, edx
mov bp, bx
shr edi, 0x18
lea ebp, [ecx*4]
sub al, 0x8d
add byte [eax], al
add byte [eax], al
jmp 0x545d8a

Function at 0x545e21
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x545e65
lea esp, [esp + 0x28]
xor eax, dword [ecx]
neg di
bswap edi
sub esp, 0x16
lea esp, [esp + 2]
jmp 0x545e4f
lea esp, [esp + 0x14]
lea edi, [ecx + 0x10]
jmp 0x545e87
and edi, ebp
xor eax, edi
mov di, ax
neg di
jmp 0x545e23
mov esi, edi
mov dword [esi], eax
pop esi
bts ax, ax
jmp 0x545ea6
xor ebx, eax
stc
sub esp, 0x14
push esi
jmp 0x545e71
mov dword [ecx + 0x14], ebx
lea ebx, [esp + ecx]
jmp 0x545eaf
mov eax, dword [ecx + 8]
push esi
clc
xor eax, ebx
jmp 0x545e90
mov dword [ecx + 0x18], eax
xor edx, eax
mov ebx, dword [esp]
ror bx, cl
jmp 0x545f0c
mov dword [esi], edx
pop esi
bswap ebx
jmp 0x545ee6
mov ebx, 0xf75b2e5c
stc
add ebx, 0x8f63028
pushal
jmp 0x545f14
push esi
mov esi, ecx
add esi, 0x1c
jmp 0x545ebc
lea esp, [esp + 0x20]
lea esp, [esp + 0x18]
jmp 0x5094ee

Function at 0x546123
Capabilities:
Encrypt data using aes

Disassembly:
xor ecx, edx
rol dl, cl
lea edx, [eax + edx]
mov dx, 0x142e
jmp 0x54613f
Function at 0x54662f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
pushal
sub esp, 0x1a
pushal
lea esp, [esp + 2]
jmp 0x54668a
and edx, 0x43228020
mov edx, dword [esi + 4]
jmp 0x546619
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x5466a8
mov ebx, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
mov edi, edx
shr edi, 0x18
jmp 0x546655
push eax
mov eax, esi
mov dword [eax], edi
pop eax
jmp 0x54666b
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x546752
and edi, ecx
jmp 0x546692
bsf ebx, edi
setnp bl
not bx
jmp 0x546737
push word [esp + 1]
and ebx, ecx
lea esp, [esp + 4]
xor edi, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x5466d2
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
push bx
cmc
jmp 0x5466e8
and edx, ecx
jmp 0x5467d7
movzx ebx, byte [esi + 9]
push cx
mov byte [esp], ah
lea esp, [esp + 2]
jmp 0x546721
and ebx, ecx
lea esp, [esp + 0x5c]
xor edi, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
mov bx, 0x6a79
jmp 0x546711
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
stc
jmp 0x5467aa
lea esp, [esp + 1]
lea esp, [esp + 0x10]
xor edi, dword [edx*4 + reloc.RASAPI32.dll_RasHangUpA]
mov dh, 0xf3
jmp 0x546765
popal
pushal
push word [esp + 7]
push word [esp + 0x13]
jmp 0x5467b6
pushal
ror esi, cl
sets al
mov dword [esp], edx
stc
jmp 0x546794
shr edi, 0x18
pushfd
mov edi, dword [edi*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x5467e8
mov edx, dword [edx*4 + reloc.RASAPI32.dll_RasHangUpA]
and edx, ecx
sub esp, 0x11
add esp, 0
jmp 0x546781
and edi, ecx
push ebx
mov ebx, edi
jmp 0x546836
and ebx, ecx
lea esp, [esp + 0x3c]
xor edi, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
mov bl, cl
inc bx
jmp 0x546820
btc ebx, ecx
lea ebx, [esp + ecx]
jmp 0x5468f5
lea ebx, [ebx*4]
lea ebx, reloc.RASAPI32.dll_RasHangUpA
mov edi, dword [ebx]
pop ebx
sub esp, 0x14
jmp 0x5467ef
movzx ebx, byte [esi + 0xd]
pushfd
mov dword [esp], esp
call 0x546859
imul esp, dword [ecx], reloc.RASAPI32.dll_RasHangUpA
call fcn.0054689c
xchg edx, eax
add byte [esi + 0x2cb600f1], dl
mov ebp, 0x70c7342d
or al, 0x9f
out 0x11, al
nop
adc edx, dword [ebp + ecx*4 + 0x64]
and al, 4
push esp
lea esp, [esp + 4]
xor edi, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
mov bl, cl
bt bx, dx
jmp 0x54684b
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
and ebx, ecx
jmp 0x546872
Function at 0x54689c
Capabilities:
Encrypt data using aes

Disassembly:
mov edx, dword [edx*4 + reloc.RASAPI32.dll_RasHangUpA]
stc
jmp 0x5468be
jmp 0x546886
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x5468ce
and edx, ecx
pushfd
lea esp, [esp + 0x10]
xor edi, dword [edx*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x54689e
mov edi, edx
cmc
call 0x5468d7
and cl, al
out dx, eax
sbb cl, ch
mov dl, 0
add byte [eax], al
mov edx, edi
jmp 0x54691d
and ebx, ecx
jmp 0x54694e
lea edx, [edx*4]
lea edx, reloc.RASAPI32.dll_RasHangUpA
mov edi, dword [edx]
pop edx
jmp 0x546907
mov ebx, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
and edx, ecx
mov edx, dword [edx*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x546975
lea esp, [esp + 4]
xor edi, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
movzx ebx, byte [esi + 0xe]
jmp 0x54692f
and edx, ecx
jmp 0x546b4a
and ebx, ecx
xor edi, dword [ebx*4 + reloc.RASAPI32.dll_RasHangUpA]
jmp 0x54695f

Function at 0x546ac5
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
pop edx
jne 0x509c11
je 0x509c27
push edx
mov edx, esi
lea edx, [edx + 0xc]
mov dword [edx], edi
jmp 0x5469b7
lea esp, [esp + 4]
dec dword [ebp - 4]
jmp 0x5469e5

Function at 0x546cf5
Capabilities:
Encrypt data using aes
Encrypt data using speck

Disassembly:
jmp 0x546d29
jmp 0x546d3f
jb 0x509c59
cmp al, 0x5a
jbe 0x509c9b
ja 0x509c59
and byte [ebx + 0x4b54623], dh
and dword ss:[eax - 0x5d], esp
push word [esp + 3]
pop word [esp]
lea esp, [esp + 4]
cmp al, 0x41
jmp 0x546cf7

Function at 0x546e13
Capabilities:
Encrypt data using aes
Encrypt data using speck

Disassembly:
clc
add esp, 0
jmp 0x546e60
lea esp, [esp + 4]
mov byte [ebp - 1], bl
call 0x546e19
mov word [0xa117e49d], cs
push ds
sahf
or al, 0x6b
cmpsb byte [esi], byte es:[edi]
adc ch, byte [edi + 0x76]
popal
mov al, byte [0x860f1ae3]
pop ss
cld
dec dword [edi]
xchg dword [edi], esp
Function at 0x546eb0
Capabilities:
Encrypt data using aes
Encrypt data using speck

Disassembly:
call 0x546f1c
aad 0xf8
int1
push ds
adc ebp, edx
xor al, 0x76
cmc
jae 0x509dc0
and eax, 0x7ac3e648
push ebp
add byte [esi - 0x57], bl
enter 0x3b6b, 0xffffffffffffffe8
lea esp, [esp + 4]
jmp 0x546ed2
jb 0x509d67
cmp bl, 0x7a
jbe 0x509da6
ja 0x509d67
mov cl, 0x21
inc eax
mov bl, 2
cmp byte [edx + 0x2b24720], dh
cmp dh, byte [edi + 0x9b14227]
sub cl, byte [ebp - 0x7fefdb9c]
sti
pop edx

Function at 0x5470cd
Capabilities:
Encrypt data using aes

Disassembly:
cmp cl, 0x39
ja 0x547053
jmp 0x54764d
jmp 0x547663
loopne 0x5470ba
adc eax, esp
and dword [esi + reloc.RASAPI32.dll_RasHangUpA], eax
nop
in al, dx
inc esi
jno 0x5470c2
jae 0x54703c
call 0x547669
adc dword [esi], eax
add byte [eax], al
jbe 0x547042
jle 0x547075
call 0x955a08b9
cld
bswap esi
xor al, 0x27
dec esi
fnstcw word [eax]
lea esp, [esp + 4]
cmp dl, 0x2f
jmp 0x5470c1
push 0xffffffffffffff99
adc eax, 0x166f06d
invalid
lea esp, [esp + 4]
jne 0x509ce6
je 0x509def
ret 0xd747
outsb dx, byte [esi]
or eax, edi
dec esp
push ebp
les esi, [edi + 0xf]
je 0x509def
test byte [eax], ch
sub eax, 0xfa80fffc
cmp eax, 0xffd5eb57
push dword [esp]
cmp dl, 0x3d
push edi
jmp 0x5470a2
lea esp, [esp + 8]
jb 0x509e1b
jae 0x547107
pop ebp
fdiv qword [edx + 0x15]
in al, 0x27
lodsd eax, dword [esi]
sub dword [ecx - reloc.RASAPI32.dll_RasHangUpA], edi
sub esp, 0xf
push bp
mov dword [esp + 1], edx
lea esp, [esp + 1]
jmp 0x5470f1
jmp 0x54757e
lea esp, [esp + 4]
cmp dl, 0x5a
push di
lea esp, [esp + 2]
jmp 0x5475d7
movzx edx, dl
call fcn.005475b4
lea esp, [esp + 4]
cmp cl, 0x2b
jmp 0x547610
lea esp, [esp + 4]
cmp cl, 0x2f
pushal
mov dword [esp + 8], eax
jmp 0x54761d
jne 0x5478e3
push 0x3e
jmp 0x546c6b
lea esp, [esp + 0x20]
jne 0x546c43
push 0x3f
jmp 0x546c6b
pop ecx
jmp 0x547127
pushfd
mov word [esp + 1], bx
jmp 0x5475fa

Function at 0x5472d5
Capabilities:
Encrypt data using aes

Disassembly:
mov bl, byte [ebp - 1]
jmp 0x546a79
lea esp, [esp + 8]
jmp 0x5472bf
Function at 0x547dad
Capabilities:
Encode data using base64

Disassembly:
cmp edi, 0x34
call fcn.00547db0
insb byte es:[edi], dx
jg 0x50a020
int1
or esp, dword [esi - reloc.RASAPI32.dll_RasHangUpA]
invalid
call 0xe9cb6366
movsd dword es:[edi], dword [esi]
invalid
not cx
jmp 0x547dc6
lea esp, [esp + 4]
cmp edi, 0x1a
jae 0x509fcf
mov ch, byte [esp]
not cx
jmp 0x547d74
clc
jmp 0x547d8a
lea ecx, [edi + 0x41]
jmp 0x509ffb

Function at 0x547db0
Capabilities:
Encode data using base64

Disassembly:
pushal
mov word [esp + 0x12], cx
lea esp, [esp + 0x20]
jmp 0x50a00b
mov byte [edx + 2], cl
jmp 0x5478c3
cmp edi, eax
jmp 0x547e10
xor ecx, ecx
jmp 0x547875
pushal
pushal
mov word [esp + 0x27], si
cmp edi, eax
jmp 0x547dfa
lea esp, [esp + 4]
jmp 0x547dce
jae 0x547854
mov cl, byte [esp]
lea ecx, [edi + 0x47]
jmp 0x509ffb
lea esp, [esp + 0x40]
setne cl
jmp 0x547e1e
jae 0x54786d
lea ecx, [edi - 4]
jmp 0x509ffb
lea ecx, [ecx*4 + 0x2b]
jmp 0x509ffb

Function at 0x5fafd0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
lea esp, [esp + 1]
push word [esp]
jmp 0x5fb038
lea esp, [esp + 1]

Function at 0x5fb071
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.005fa1b8
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x5fb083
mov dword [esp], esi
pushal
pop dword [esp + 9]
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0x5fb04e
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x5fa1b3
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x401443
pop dword [ebp - 0x10]
mov eax, 0xf801ca97
add eax, 0x83e49ac
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x5588ad9
add dword [ebp - 0x20], 0x48f9ba72
mov dword [ebp - 0x1c], 0x118e42e3
add dword [ebp - 0x1c], 0x20a50962
mov dword [ebp - 0x18], 0x11e87272
sub dword [ebp - 0x18], 0xc59c2e44
mov dword [ebp - 0x14], 0x4f4116f
add dword [ebp - 0x14], 0xfb0bee91
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x11d6c592
sub dword [ebp - 0x20], 0x9d645c3c
mov dword [ebp - 0x1c], 0x5e6dba06
add dword [ebp - 0x1c], 0xe2fea76f
mov dword [ebp - 0x18], 0x65441d4f
sub dword [ebp - 0x18], 0x1d4b0e3
mov dword [ebp - 0x14], 0x4970e245
sub dword [ebp - 0x14], 0x4970e245
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x4456fb8a
sub eax, 0x44167a8a
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3bc06
push 0
call eax
mov ecx, 0x55d8
mov edi, eax
mov esi, 0xf6efb0ee
sub esi, 0xf6a8ccee
add esi, dword [ebp - 0x10]
mov ebx, 0x433b8755
sub ebx, 0x3a897c09
add dword [ebp - 0xc], esi
mov edx, dword [esi]
xor dword [ebp - 4], edx
sub edx, ebx
xor dword [ebp - 4], edi
mov dword [edi], edx
add dword [ebp - 4], esi
add edi, 0xe3f0502a
add edi, 0x1c0fafda
add esi, 0xf6522f88
add esi, 0x9add07c
loop 0x40155a
add eax, 0xb0baec4c
sub eax, 0xb0b9a219
mov ebx, eax
add eax, 0xde38091e
sub eax, 0xde380919
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x403018
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
call fcn.00403098
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp + 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 8], esp
je 0x40305f
push 0x2d
push 0x40a12fd
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 8], esp
push 0xffffffff
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
cmp dword [ebp - 8], esp
je 0x403090
push 0x67
push 0x40a12fd
push 6
call fcn.004517d0
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
Function at 0x406750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
je 0x40677c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jmp 0x406861
cmp dword [ebp + 8], 0
je 0x4067c8
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0x100000
push 2
mov ebx, 0xc8
call fcn.00452480
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0040692c
mov dword [ebp - 4], eax
jmp 0x406861
push 0x48b2ec
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call fcn.00403cc4
add esp, 8
cmp eax, 0
je 0x406850
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x18]
call fcn.00406998
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x40680e
mov eax, 0
jmp 0x406926
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0x100000
push 2
mov ebx, 0xc8
call fcn.00452480
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.0040692c
mov dword [ebp - 4], eax
jmp 0x406861
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
call fcn.00403018
cmp dword [ebp - 4], 0
je 0x406915
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40689c
push 0x2a0
push 0x40a10f1
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp + 0x24], 0
jne 0x4068b0
mov dword [ebp + 0x20], 0xffffffff
mov dword [ebp - 0xc], esp
push dword [ebp + 0x20]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4068df
push 0x316
push 0x40a10f1
push 6
call fcn.004517d0
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x406915
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x406915
push 0x36d
push 0x40a10f1
push 6
call fcn.004517d0
add esp, 0xc
cmp dword [ebp - 8], 1
mov eax, 0
sete al
jmp 0x406926
mov esp, ebp
pop ebp
ret 0x20
Function at 0x408e4c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
cmp dword [ebp - 4], esp
je 0x408e83
push 0x12
push 0x409a75e
push 6
call fcn.004517d0
add esp, 0xc
jmp 0x408e88
mov esp, ebp
pop ebp
ret 4

Function at 0x40b480
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [0x58e904], 0
jle 0x40b5ca
mov dword [ebp - 8], esp
push dword [0x58e904]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x40b4cc
push 0x6d
push 0x40a132c
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x40b51c
mov dword [ebp - 8], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
cmp dword [ebp - 8], esp
je 0x40b508
push 0xb6
push 0x40a132c
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
sete al
jmp 0x40b613
mov dword [ebp - 8], esp
push 1
push dword [0x58e904]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x40b550
push 0xe4
push 0x40a132c
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 8], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
cmp dword [ebp - 8], esp
je 0x40b57f
push 0x132
push 0x40a132c
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push dword [0x58e904]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x40b5c5
push 0x15e
push 0x40a132c
push 6
call fcn.004517d0
add esp, 0xc
jmp 0x40b60b
mov dword [ebp - 8], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
cmp dword [ebp - 8], esp
je 0x40b5f9
push 0x1ad
push 0x40a132c
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40b613
mov esp, ebp
pop ebp
ret 8

Function at 0x40b828
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
nop
nop
cmp dword [ebp - 4], esp
je 0x40b85d
push 0x24
push 0x40a1733
push 6
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x40b871
mov esp, ebp
pop ebp
ret 4