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

Disassembly:
sub esp, 0x110
push ebx
push ebp
mov ebp, dword [esp + 0x11c]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov ebx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
jne 0x473e84
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
push ebp
mov ecx, ebx
call fcn.00473d60
test eax, eax
jne 0x473e9d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push ebp
mov ecx, ebx
call fcn.00473dd0
cmp eax, 1
je 0x47402a
lea eax, [esp + 0x10]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x473ed6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x1c]
push 0x104
push ecx
push esi
push edx
call edi
test eax, eax
jne 0x473f52
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x473fd2
mov eax, dword [esp + 0x14]
push str.PackedCatalogItem
push eax
mov ecx, ebx
call fcn.00473c90
mov ecx, dword [esp + 0x14]
test eax, eax
push ecx
je 0x473fe9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
inc esi
push 0x104
push edx
push esi
push eax
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x473ef2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
xor esi, esi
push 0x104
push edx
push esi
push eax
mov dword [esp + 0x28], esi
call edi
test eax, eax
jne 0x473fa0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push ebp
push edx
push eax
mov ecx, ebx
call fcn.00473940
test eax, eax
je 0x473fd2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
inc esi
push 0x104
push ecx
push esi
push edx
call edi
test eax, eax
je 0x473f6e
cmp dword [esp + 0x18], 1
jb 0x473fd2
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
dec ecx
push closesocket
push ecx
push ebp
push str.FileName
mov ecx, ebx
call fcn.00473820
cmp eax, 1
je 0x47401b
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x473ff9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
jmp 0x473fd2
push ebp
mov ecx, ebx
call fcn.00474040
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x47402a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x110
ret 4
Function at 0x474040
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x114]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
jne 0x474072
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
push esi
mov ecx, edi
call fcn.00473dd0
test eax, eax
jne 0x47408f
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10c
ret 4
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4740b6
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x474104
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.00473ae0
test eax, eax
jne 0x4740ed
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
inc esi
push 0x104
push edx
push esi
push eax
call ebx
test eax, eax
je 0x4740d3
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push closesocket
mov ecx, edi
call fcn.004738b0
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x474127
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x10c
ret 4

Function at 0x48da4f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48da87
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048bb06
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048bade
jmp 0x48da93
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48f144
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48f186
call fcn.00494bf4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48f186
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48f17d
xor eax, eax
jmp 0x48f18e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048f194
pop edi
pop esi
pop ebx
ret 4
Function at 0x495124
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x495152
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x495170
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049508a
jmp 0x495170
mov eax, dword [esi + 0x14]
test eax, eax
je 0x495170
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049508a
test edi, edi
mov eax, edi
jne 0x49515a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x1923700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0192378f
jae 0x192370e
xor ecx, ecx
call fcn.0192378f
jae 0x192373d
xor eax, eax
call fcn.0192378f
jae 0x192374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0192378f
adc al, al
jae 0x192372f
jne 0x1923779
stosb byte es:[edi], al
jmp 0x1923711
call fcn.0192379b
sub ecx, ebx
jne 0x1923756
call fcn.01923799
jmp 0x1923775
lodsb al, byte [esi]
shr eax, 1
je 0x1923783
adc ecx, ecx
jmp 0x1923772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.01923799
cmp eax, 0x7d00
jae 0x1923772
cmp ah, 5
jae 0x1923773
cmp eax, 0x7f
ja 0x1923774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1923711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x90e7f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x144000]
push edi
or ebp, 0xffffffff
jmp 0x90e812
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x90e819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90e808
mov eax, 1
add ebx, ebx
jne 0x90e82b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x90e83c
jne 0x90e85b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90e85b
dec eax
add ebx, ebx
jne 0x90e848
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x90e820
add ebx, ebx
jne 0x90e857
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x90e8ad
xor ecx, ecx
sub eax, 3
jb 0x90e873
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x90e8e2
sar eax, 1
mov ebp, eax
jmp 0x90e87e
add ebx, ebx
jne 0x90e87e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90e84c
inc ecx
add ebx, ebx
jne 0x90e88c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90e84c
add ebx, ebx
jne 0x90e899
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x90e88e
jne 0x90e8aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x90e88e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x90e8cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x90e8be
jmp 0x90e80e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x90e8cc
add edi, ecx
jmp 0x90e80e
pop esi
mov edi, esi
mov ecx, 0x6319
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x90e8ea
cmp byte [edi], 0x25
jne 0x90e8ea
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 0x90e8ef
lea edi, [esi + 0x50b000]
mov eax, dword [edi]
or eax, eax
je 0x90e967
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x50ff68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5100bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x90e91c
mov ecx, edi
jns 0x90e94b
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 + 0x5100c4]
or eax, eax
je 0x90e961
mov dword [ebx], eax
add ebx, 4
jmp 0x90e939
call dword [esi + 0x5100c0]
mov ebp, dword [esi + 0x5100c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x90e99b
sub esp, 0xffffff80
jmp 0x4e93af
Function at 0x7e243c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [ebp + 0xd2779c8], 0x8088405
inc edx
mov dword [ebp + 0xd2779c8], edx
mul edx
ret

Function at 0x7e281c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push esi
push edi
xor ecx, ecx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x100]
lodsb al, byte [esi]
or al, al
je 0x7e2845
inc ecx
test cl, 3
je 0x7e2842
shl eax, 8
jmp 0x7e2832
stosd dword es:[edi], eax
jmp 0x7e2832
mov al, 0x80
push ecx
inc ecx
test cl, 3
je 0x7e2853
shl eax, 8
jmp 0x7e2848
stosd dword es:[edi], eax
xor eax, eax
jmp 0x7e285c
stosd dword es:[edi], eax
add ecx, 4
cmp ecx, 0x3c
jb 0x7e2858
pop eax
shl eax, 3
stosd dword es:[edi], eax
sub ecx, 0xc
mov eax, dword [edi - 0x3c]
push ecx
mov ecx, eax
mov edx, eax
ror eax, 7
ror ecx, 0x12
shr edx, 3
xor eax, ecx
xor eax, edx
push eax
mov eax, dword [edi - 8]
mov ecx, eax
mov edx, eax
ror eax, 0x11
ror ecx, 0x13
shr edx, 0xa
xor eax, ecx
xor eax, edx
add dword [esp], eax
pop eax
add eax, dword [edi - 0x40]
pop ecx
add eax, dword [edi - 0x1c]
stosd dword es:[edi], eax
loop 0x7e2869
call int.007e28c6
out 9, al
push 0xffffffffffffff85
scasb al, byte es:[edi]
mov ebx, 0x3c6ef372
cmp dh, ch
dec edi
movsd dword es:[edi], dword [esi]
jg 0x7e290a
push cs
push ecx
mov word [eax + 5], gs
wait
stosd dword es:[edi], eax
fld dword [ebx - 0x1f32e6e1]
pop ebx
invalid

Function at 0x7e67ab
Capabilities:
Encode data using xor

Disassembly:
sub eax, eax
dec eax
inc edi
mov ecx, 0xefb5
imul ecx, edx
xor byte [edi - 1], cl
inc edi
sub byte [edi - 2], dh
nop
xchg ecx, edx
xchg dh, dl
wait
dec edi
sub eax, 0xfffffff8
not esi
not cl
cmp eax, 0x33697
nop
jbe 0x7e67ae
add al, 0
lea ecx, [eax]
ret

Function at 0x7e6808
Capabilities:
Encode data using xor

Disassembly:
xchg al, al
mov esi, 0x41cb87c7
xchg ah, ah
sbb eax, eax
add esp, 8
adc eax, eax
push dword [ecx + 2]
pop edi
add edi, ebx
add edx, edx
add edx, ebx
mov esi, dword [ecx + 0xa]
nop
mov ax, word [edx + esi]
shl eax, 0x10
shr eax, 0xe
push dword [eax + edi]
add dword [esp], ebx
mov eax, dword [esp - 4]
pop esi
inc cl
jmp eax
lea ecx, [ebx + 9]
push 0xffffffffffffffff
push dword [ecx + 0x33]
pop edx
jmp 0x7e696a
ret
add ecx, dword [edx + ebx + 0x78]
pop edx
mov edi, dword [ecx + 0x17]
not esi
dec esi
inc edx
lea eax, [eax]
dec esi
mov eax, dword [edi + ebx]
xor esi, ecx
add edi, 4
lea esi, [eax + ebx - 3]
xchg ah, ah
mov ah, 0x4d
cmp edx, dword [ecx + 0xf]
mov ah, al
xchg al, ah
jae 0x7e68e0
push ebx
xor eax, eax
push ecx
imul eax, eax, 0xf
movzx ecx, byte [esi + 3]
xchg ebx, ebx
or ebx, eax
nop
sub esi, 0xffffffee
and ebx, eax
sub eax, ecx
mov bh, 0x91
xor bh, bl
lea esi, [esi - 0x11]
cmp byte [esi + 3], 0xa
jae 0x7e699a
adc ebx, edx
add al, 0
xor eax, dword [esp + 0xc]
pop ecx
sbb esi, 0x53
pop ebx
lea edx, [edx]
xor eax, 0xa7422a2
lea esi, [ebp - 0x141f2657]
jne 0x7e6975
nop
mov ah, 0xad
dec esi
xor eax, esi
sub ecx, 0xffffffef
jmp 0x7e675c
Function at 0x7e6829
Capabilities:
Encode data using xor

Disassembly:
push 8
xor cl, 0x9a
xchg cl, dh
adc ch, 0xd8
call dword [esp + 0x58]
or ah, dh
inc dword [ebp - 0x3c5]
call dword [esp + 0x58]
inc ecx
push esp
call dword [esp + 0x5c]
xor dl, al
call dword [esp + 0x5c]
call dword [esp + 0x58]
call edi
cmp esi, eax
je fcn.007e6829
and ecx, edx
xchg edx, edx
push eax
dec dl
rdtsc
or ecx, 0xf2b166e3
xor ch, al
or ecx, eax
inc ecx
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x408e7a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x417004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
push ebx
push 0x4011e0
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0x417888
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x408ef9
mov ecx, dword [ebp - 8]
mov byte [ebp - 0x14], bl
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x408ebe
push dword [ebp - 0x14]
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 8]
lea ecx, [ebp - 0x30]
call fcn.0040ab33
add esp, 0xc
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x18]
push eax
call fcn.00408c64
pop ecx
xor ecx, ecx
inc ecx
cmp dword [eax], 3
jne 0x408efc
jmp 0x408efe
mov ecx, dword [ebp - 0x14]
mov bl, 1
test cl, 1
je 0x408f0b
lea ecx, [ebp - 0x30]
call fcn.00409f74
mov ecx, esi
test bl, bl
je 0x408f18
push 0x406dcc
jmp 0x408f1b
push dword [ebp - 8]
call fcn.00409e33
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b323
leave
ret

Function at 0x409936
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x417004]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
lea ecx, [ebp - 0x6c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ecx
push 0x20019
push ebx
movzx eax, al
push 0x406e10
sub eax, 0x7fffffff
mov dword [ebp - 0x6c], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409998
push 0x406dcc
mov ecx, esi
call fcn.00409e33
cmp dword [ebp - 0x6c], ebx
je 0x409a40
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409a40
push edi
push 0x64
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], ebx
push ebx
push eax
call fcn.0040d000
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x406db8
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409a25
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x409a25
cmp dword [ebp - 0x70], 1
jne 0x409a25
shr edi, 1
cmp edi, 0x32
jae 0x409a25
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x406db8
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [edi + edi]
mov edx, eax
cmp word [ebp + ecx - 0x6a], bx
je 0x409a16
lea eax, [edi + 1]
cmp eax, 0x32
jae 0x409a16
cmp ecx, 0x64
jae 0x409a52
xor eax, eax
mov word [ebp + ecx - 0x68], ax
lea eax, [ebp - 0x68]
test edx, edx
je 0x409a22
mov eax, 0x406dcc
push eax
jmp 0x409a2a
push 0x406dcc
mov ecx, esi
call fcn.00409e33
cmp dword [ebp - 0x6c], ebx
je 0x409a3f
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b323
leave
ret 8
call fcn.0040b453
int3
Function at 0x40a81b
Capabilities:
Terminate process

Disassembly:
cmp ecx, 0x1000
jb 0x40a850
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe fcn.00407e4d
push eax
lfence
call fcn.0040b52e
pop ecx
mov ecx, eax
test ecx, ecx
je 0x40a84b
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
lfence
mov dword [eax - 4], ecx
ret
jmp fcn.0040dda4
test ecx, ecx
je 0x40a85f
push ecx
lfence
call fcn.0040b52e
pop ecx
ret
xor eax, eax
ret

Function at 0x40bf73
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040bb97
push eax
push esi
push dword [ebp + 8]
call fcn.0040bb4c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040bb97
push eax
push esi
push dword [ebp + 8]
call fcn.0040bb4c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040bb87
xchg byte [edi - 0x52], al
mov byte es:[ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040bb87
int1
or byte [ebx - 0x68], dh
lea eax, [ebp - 0x84]
push eax
call fcn.0040bb97
push eax
push esi
push dword [ebp + 8]
call fcn.0040bb4c
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x40c380
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0040baf8
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x40c0f7
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0040baf8
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x40c0c4
call fcn.0040bb87
jge 0x40c166
mov ebp, 0x3c7e8b14
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x40c376
add eax, esi
mov dword [ebp - 0x44], eax
cmp al, 0x31
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c29a
Capabilities:
Inspect section memory permissions

Disassembly:
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
invalid
je 0x40c2c1
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40c2ca
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40c2d4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40c2b6

Function at 0x40c2ba
Capabilities:
Inspect section memory permissions

Disassembly:
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4

Function at 0x40c425
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.0040bb97
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040bb4c
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
Function at 0x40d000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040bb87
add byte [ebx + 0x14], dl
xchg dword [ebp - 0x72b7b], ecx
call dword [eax - 0x18]
pop ss
jmp 0x40d07e
invalid
Function at 0x40dda4
Capabilities:
Terminate process

Disassembly:
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.0040bb87
cmp eax, 0xffe02262
jne 0x40ddbe
push dword [ebp + 4]
push dword [ebp]
call fcn.0040c387
in eax, 0xff
jmp [edx + 0x17]
push 0x17

Function at 0x416610
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41663d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41663d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret