joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a9a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ad9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ad9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ad9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ad9
cmp dword [ecx + 0x74], 0xe
jbe 0x401ad9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401060
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, ebx
mov ebx, ebx
xor eax, ebx
xor esi, esi
xor esi, esi
mov ebx, eax
mov ebx, eax
xor eax, eax
xor esi, eax
or esi, 0xf
sbb edx, 0x68
inc edi
ror edi, 0x44
rcr edi, 0xeb
dec ebx
ror ebx, 0x3a
and eax, 0x7a
dec eax
neg esi
inc ebx
neg edx
not esi
inc ebx
dec esi
bswap edx
imul eax
mov esi, 0xee
inc edi
rol esi, 0x17
imul ebx
inc eax
rcr edi, 0x9c
inc eax
mov edx, 0xee
inc esi
bswap edx
not esi
add ebx, 0x7c
rcr eax, 0x3e
or eax, 0x40
and esi, 0x81
dec ebx
neg esi
dec edi
sub edi, 0x87
or edx, 0x19
sub esi, 0xda
rcl edi, 0xa
sbb edi, 0x5a
mov edx, 0xe1
rcr edi, 0x1d
inc ebx
bswap esi
rcr edx, 0x21
add edx, 0xa7
inc esi
imul eax
not edx
imul esi
xor ecx, ecx
xor edi, edi
xor ebx, eax
xor ebx, eax
xor esi, ebx
mov esi, esi
mov ebx, esi
mov eax, esi
not eax
ror ebx, 0xc3
sub edx, 0x7b
imul esi
bswap edi
or esi, 0xbe
bswap edx
bswap ebx
rol eax, 0xba
and edi, 0x3d
not edi
bswap eax
not edx
and edi, 0xc5
inc edi
mov eax, 0x9c
add edi, 0xc5
neg eax
ror ebx, 0x6e
imul edx
sub eax, 0xde
rcr ebx, 0xce
rcr eax, 0x16
and eax, 0x1f
imul edx
imul edi
inc ebx
rcl edx, 0x5e
mov ebx, 0x8f
inc esi
neg esi
bswap edi
or edx, 0xf3
inc ebx
or ebx, 0xd8
and edx, 0x17
neg ebx
dec edi
dec esi
rcl eax, 0x86
sub esi, 0x15
rcr edi, 0x3e
add esi, 0xca
dec edx
dec eax
inc eax
not ebx
add ebx, 0x4f
dec eax
add edi, 0xea
xor eax, esi
xor ebx, esi
xor esi, eax
xor ebx, esi
mov eax, eax
xor esi, eax
xor ebx, ebx
xor ebx, ebx
mov eax, esi
mov ecx, dword [ebp + 0xc]
sub ebx, 0x82
and eax, 0x61
or eax, 0xb8
inc edi
inc eax
not ebx
inc esi
bswap esi
rol edx, 0x17
not eax
sbb esi, 0x4e
neg edi
or edi, 0x5e
ror ebx, 0xab
imul edx
dec esi
and esi, 0x1a
rcr esi, 0xae
inc ebx
imul edx
not edx
inc esi
not edi
sub eax, 0xd6
inc eax
add eax, 0x5d
bswap ebx
sbb esi, 0x5b
not eax
and edi, 0xa0
or edx, 0x3a
dec ebx
sub esi, 0x4f
ror esi, 0x65
rol eax, 0x37
sub ebx, 0x68
rcl ebx, 0x3f
dec ebx
bswap esi
and edx, 0xb9
sbb eax, 0x6d
bswap edi
rcl esi, 0x9e
inc eax
neg edi
rcr edi, 0xec
add eax, 0x9b
inc ebx
add edx, 0xc2
inc edi
mov edi, dword [ebp + 8]
mov eax, esi
xor eax, esi
mov ebx, eax
mov ebx, ebx
mov ebx, esi
xor ebx, eax
mov eax, eax
mov eax, ebx
xor eax, esi
not byte [edi]
xor eax, eax
xor eax, esi
mov eax, esi
mov ebx, eax
mov ebx, esi
xor eax, ebx
xor ebx, esi
mov esi, ebx
mov esi, eax
mov eax, eax
xor esi, eax
xor esi, esi
add byte [edi], 0xff
sub byte [edi], 0x4a
xor ebx, esi
xor esi, ebx
mov ebx, esi
xor esi, ebx
mov eax, esi
xor ebx, eax
mov esi, esi
mov eax, eax
mov esi, eax
imul byte [edi]
inc edi
loop 0x40123b
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404200
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40423f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40423f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40423f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40423f
cmp dword [ecx + 0x74], 0xe
jbe 0x40423f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x409d93
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x409e30
push ebx
push esi
call fcn.00409d5c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00409cf0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x409ddd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x409e2f
push edi
push eax
call fcn.0040a9b0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x409dfd
call fcn.00408851
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x409e2e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00409cf0
add esp, 0x20
test eax, eax
jne 0x409e1c
push edi
call fcn.00408851
jmp 0x409e24
push ebx
call fcn.00408851
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40b12d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b040
push 0x41b038
push str.FlsAlloc
push 0x1f
call fcn.0040afec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b161
push dword [ebp + 8]
mov ecx, esi
call dword [0x413154]
call esi
jmp 0x40b167
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b1ab
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b050
push 0x41b048
push str.FlsGetValue
push 0x21
call fcn.0040afec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b1e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x413154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b1ea
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b058
push 0x41b050
push str.FlsSetValue
push 0x22
call fcn.0040afec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b224
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x413154]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x410680
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x382e6af2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xf1a204f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x10]
push ebx
call sym.Argon2Ref.exe_argon2_ctx
add esp, 8
test eax, eax
jne 0x401a37
mov esi, dword [ebx + 4]
xor dl, dl
test esi, esi
je 0x401a24
mov edi, dword [ebp + 0xc]
cmp esi, 0x20
jb 0x401a15
mov edx, dword [ebx]
mov ecx, esi
and ecx, 0xffffffe0
xorps xmm3, xmm3
xorps xmm2, xmm2
nop
movups xmm0, xmmword [eax + edi]
movups xmm1, xmmword [edx + eax]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + eax + 0x10]
por xmm3, xmm1
movups xmm1, xmmword [eax + edi + 0x10]
add eax, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp eax, ecx
jb 0x4019b0
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd edx, xmm2
cmp eax, esi
jae 0x401a24
mov ebx, dword [ebx]
mov cl, byte [ebx + eax]
xor cl, byte [eax + edi]
inc eax
or dl, cl
cmp eax, esi
jb 0x401a17
movzx eax, dl
dec eax
and eax, 0x100
neg eax
sbb eax, eax
and eax, 0x23
add eax, 0xffffffdd
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402ea0
Capabilities:
Encode data using xor

Disassembly:
lea eax, [edx + 0x3f8]
push esi
lea esi, [ecx + 0x3f8]
cmp ecx, eax
ja 0x402ed7
cmp esi, edx
jb 0x402ed7
sub edx, ecx
mov esi, 0x80
nop dword [eax]
mov eax, dword [ecx + edx]
lea ecx, [ecx + 8]
xor dword [ecx - 8], eax
mov eax, dword [ecx + edx - 4]
xor dword [ecx - 4], eax
sub esi, 1
jne 0x402ec0
pop esi
ret
lea esi, [edx + 0x30]
sub edx, ecx
lea eax, [ecx + 0x10]
mov ecx, 0x10
lea eax, [eax + 0x40]
lea esi, [esi + 0x40]
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [esi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
sub ecx, 1
jne 0x402ee4
pop esi
ret
Function at 0x4034e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, edx
mov eax, 0xaaaaaaab
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mul ecx
shr edx, 1
lea esi, [edx*4]
lea eax, [edx + edx*2]
mov dword [ebp - 0x10], esi
mov edx, ecx
sub edx, eax
sub edx, 1
je 0x403515
sub edx, 1
jne 0x40351b
inc esi
add esi, 2
mov dword [ebp - 0x10], esi
cmp ebx, esi
ja 0x403529
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
xor esi, esi
test ecx, ecx
je 0x40365d
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
dec ecx
shl edx, 8
inc ebx
add esi, 8
mov dword [ebp + 0xc], ecx
add edx, eax
mov dword [ebp + 8], ebx
cmp esi, 6
jb 0x4035e0
sub esi, 6
mov ebx, edx
mov ecx, esi
shr ebx, cl
and ebx, 0x3f
mov dword [ebp - 4], ebx
lea eax, [ebx - 0x1a]
add ebx, 0xffffffcc
shr eax, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, eax
xor ecx, 0x3e
shr ebx, 8
neg ecx
xor eax, 0x3f
shr ecx, 8
neg eax
not cl
shr eax, 8
and cl, 0xfb
not al
or cl, al
mov eax, dword [ebp - 4]
and ecx, 0xffffff2f
mov dword [ebp - 8], ecx
lea ecx, [eax - 0x3e]
sub al, 4
shr ecx, 8
and cl, al
mov al, bl
not al
and cl, al
mov al, byte [ebp - 0xc]
or byte [ebp - 8], cl
not al
mov ecx, dword [ebp - 4]
add ecx, 0x47
and cl, al
mov eax, dword [ebp - 8]
and cl, bl
or al, cl
mov ecx, dword [ebp - 4]
add cl, 0x41
and cl, byte [ebp - 0xc]
or al, cl
mov byte [edi], al
inc edi
cmp esi, 6
jae 0x403554
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ecx, ecx
jne 0x403538
test esi, esi
je 0x40365d
mov ecx, 6
sub ecx, esi
shl edx, cl
and edx, 0x3f
mov ecx, edx
xor ecx, 0x3e
neg ecx
lea eax, [edx - 0x1a]
shr ecx, 8
shr eax, 8
lea ebx, [edx - 0x34]
mov dword [ebp - 0xc], eax
not cl
mov eax, edx
shr ebx, 8
xor eax, 0x3f
and cl, 0xfb
neg eax
shr eax, 8
not al
or cl, al
lea eax, [edx - 4]
and ecx, 0xffffff2f
mov dword [ebp + 0xc], ecx
lea ecx, [edx - 0x3e]
shr ecx, 8
and cl, al
mov al, bl
not al
and cl, al
mov al, byte [ebp - 0xc]
or byte [ebp + 0xc], cl
not al
lea ecx, [edx + 0x47]
add dl, 0x41
and dl, byte [ebp - 0xc]
and cl, al
mov eax, dword [ebp + 0xc]
and cl, bl
or al, cl
or al, dl
mov byte [edi], al
inc edi
mov eax, dword [ebp - 0x10]
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405830
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push str.Error:__s_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00405700
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x900e460
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x90cf2a5
call fcn.09006dd9
cmp byte [ebp + 0x10], 0
mov edi, dword [ebp + 8]
push 0x1a
pop esi
push 0x2b
pop eax
cmove esi, eax
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, esi
or eax, 0x8000
cmp byte [ebp + 0xc], bl
push ebx
push ebx
cmovne esi, eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x900e4bc
xor al, al
jmp 0x900e50c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0900e8b2
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], ebx
push str.Adobe
call fcn.0900f2c5
test al, al
je 0x900e4ff
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.090cb1b9
mov ecx, edi
call fcn.09011cd1
mov bl, al
lea ecx, [ebp - 0x230]
call fcn.090cb1b9
mov al, bl
call fcn.09006f96
ret

Function at 0x9011cd1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x9011cd9
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9011ce8
xor al, al
ret
shr eax, 4
and al, 1
ret

Function at 0x901e790
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov byte [ecx + 0x58], 0
ret
Function at 0x90582d8
Capabilities:
Get memory capacity

Disassembly:
push 0x28
mov eax, 0x90d2348
call fcn.0900620a
mov esi, ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x20
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x24]
xor edx, edx
sub eax, dword [ebp - 0x20]
sub eax, dword [esi + 8]
sbb edx, dword [esi + 0xc]
js 0x9058343
jg 0x905830d
test eax, eax
jb 0x9058343
mov ecx, dword [esi + 4]
imul edi, ecx, 3
test edx, edx
jg 0x9058343
jl 0x905831d
cmp eax, edi
ja 0x9058343
cmp eax, ecx
jbe 0x9058337
and dword [ebp - 4], 0
sub eax, ecx
mov ecx, dword [esi]
push eax
call fcn.090cb1b9
jmp 0x9058343
jae 0x9058343
sub ecx, eax
push ecx
mov ecx, dword [esi]
call fcn.090cb1b9
call fcn.09006fcf
ret
Function at 0x9079b47
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x148
mov eax, 0x90d3869
call fcn.09006dd9
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14c]
push eax
xor ebx, ebx
mov esi, 0x20019
push esi
push ebx
push str.SOFTWARE
push 0x80000002
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x140], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x9079ba6
mov dword [ebp - 0x14c], ebx
jmp 0x9079d25
lea eax, [ebp - 0x148]
push eax
push esi
push ebx
push str.Adobe
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x9079bcf
mov dword [ebp - 0x148], ebx
jmp 0x9079d25
lea eax, [ebp - 0x144]
push eax
push esi
push ebx
push str.Color
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x9079bf8
mov dword [ebp - 0x144], ebx
jmp 0x9079d25
lea eax, [ebp - 0x13c]
push eax
push esi
push ebx
push str.Monitor
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x9079c21
mov dword [ebp - 0x13c], ebx
jmp 0x9079d25
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x104
push eax
lea eax, [ebp - 0x120]
mov esi, ebx
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push str.Primary_Monitor
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9079c73
cmp dword [ebp - 0x154], 4
jne 0x9079c73
mov esi, dword [ebp - 0x120]
cmp esi, 0x3e7
ja 0x9079d25
push esi
push str.Monitor_u
lea eax, [ebp - 0x1c]
push 0xb
push eax
call fcn.090cb1b9
add esp, 0x10
lea eax, [ebp - 0x140]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x9079cb3
mov dword [ebp - 0x140], ebx
jmp 0x9079d3a
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x104
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push str.Monitor_Profile
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9079d25
cmp dword [ebp - 0x154], 1
jne 0x9079d25
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x138]
call fcn.0901904e
lea eax, [ebp - 0x138]
mov dword [ebp - 4], ebx
push eax
mov ecx, edi
call fcn.090cb1b9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.090cb1b9
mov bl, 1
cmp dword [ebp - 0x140], 0
je 0x9079d3a
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x13c], 0
je 0x9079d4f
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x144], 0
je 0x9079d64
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x148], 0
je 0x9079d79
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14c], 0
je 0x9079d8e
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.09006f96
ret
Function at 0x907c6ab
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90d3926
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1430
call fcn.090cde60
mov eax, dword [0x91154f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x1424], edi
mov dword [ebp - 0x1430], eax
mov dword [ebp - 0x1428], eax
mov dword [ebp - 0x143c], edi
call fcn.09018f87
xor ecx, ecx
push 0xf
mov eax, ecx
mov dword [ebp - 4], ecx
pop esi
mov dword [ebp - 0x142c], eax
mov dword [ebp - 0x1420], esi
xor edx, edx
mov edi, ecx
div esi
mov dword [ebp - 0x141c], edi
lea esi, [ebp - 0x416]
mov dword [ebp - 0x1434], eax
mov eax, edi
xor edx, edx
div dword [ebp - 0x1420]
mov edi, ecx
mov dword [ebp - 0x1438], eax
mov edx, dword [ebp - 0x1434]
mov byte [esi - 1], dl
xor edx, edx
mov byte [esi], al
mov eax, edi
div dword [ebp - 0x1420]
mov edx, 0xff
mov byte [esi + 1], al
add edi, edx
mov eax, dword [ebp - 0x1438]
add esi, 4
cmp edi, 0xff0
jb 0x907c753
mov edi, dword [ebp - 0x141c]
add edi, edx
mov dword [ebp - 0x141c], edi
cmp edi, 0xff0
jb 0x907c741
push ecx
mov ecx, dword [ebp - 0x1424]
lea esi, [edx + 1]
push 0x5058595a
push 0x706c6162
push esi
lea eax, [ebp - 0x1418]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.090cb1b9
push esi
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.090cb1b9
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x141c], esi
movzx eax, word [ebp + esi - 0xc16]
movzx ecx, word [ebp + esi - 0x1416]
sub ecx, eax
mov eax, ecx
movzx ecx, word [ebp + esi - 0x1414]
cdq
mov edi, eax
movzx eax, word [ebp + esi - 0xc14]
sub ecx, eax
xor edi, edx
mov eax, ecx
sub edi, edx
mov ecx, dword [ebp - 0x141c]
cdq
mov esi, eax
xor esi, edx
movzx eax, word [ebp + ecx - 0xc12]
sub esi, edx
movzx ecx, word [ebp + ecx - 0x1412]
sub ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0x1428]
cdq
xor eax, edx
sub eax, edx
cmp ecx, edi
cmovl ecx, edi
cmp ecx, esi
cmovl ecx, esi
mov esi, dword [ebp - 0x141c]
cmp ecx, eax
cmovl ecx, eax
add esi, 8
mov dword [ebp - 0x1428], ecx
mov dword [ebp - 0x141c], esi
cmp esi, 0x800
jb 0x907c7e0
cmp ecx, 0xa
ja 0x907c89c
mov eax, dword [ebp - 0x142c]
mov esi, dword [ebp - 0x1420]
add eax, 0xff
mov dword [ebp - 0x142c], eax
push 0
pop ecx
cmp eax, 0xff0
jb 0x907c729
mov byte [ebp - 0x1430], 1
mov ecx, dword [ebp - 0x1424]
or dword [ebp - 4], 0xffffffff
call fcn.090190fb
mov al, byte [ebp - 0x1430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x90a249d
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90d3fd3
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f0
call fcn.090cde60
mov eax, dword [0x91154f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13e8], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x13e4], esi
mov eax, dword [esi + 4]
add eax, 0xa0
push eax
call fcn.090cb1b9
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x90a2522
push 0
push 0x9c4
push 0xf424
push dword [esi + 4]
call fcn.090cb1b9
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x13ec], esi
call fcn.09018f87
and dword [ebp - 4], 0
lea edi, [ebp - 0x48]
push 0xc
pop ecx
mov eax, ecx
mov dword [ebp - 0x13dc], 0x18
xor edx, edx
add ecx, 0x8000
div dword [ebp - 0x13dc]
mov word [edi], ax
lea edi, [edi + 2]
cmp ecx, 0xc800c
jb 0x90a2539
and dword [ebp - 0x13e0], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13dc], eax
movzx eax, word [eax]
lea ecx, [ebp - 0x13cc]
xor edx, edx
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13d4], edx
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x13d8]
mov ax, word [ebp + edi*2 - 0x48]
inc edi
mov word [ecx - 2], dx
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 8
cmp edi, 0x19
jb 0x90a2595
mov edx, dword [ebp - 0x13d4]
inc edx
mov dword [ebp - 0x13d4], edx
cmp edx, 0x19
jb 0x90a2588
mov ecx, dword [ebp - 0x13e4]
lea eax, [ebp - 0x13d0]
push 0
push 0x434d594b
push 0x504c4142
push 0x271
push eax
push eax
call fcn.090cb1b9
mov eax, dword [ebp - 0x13e8]
lea ecx, [ebp - 0x1400]
mov edi, dword [ebp - 0x13e0]
push 1
push 0x9c4
push edi
push dword [eax]
call fcn.090cb1b9
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 1
call fcn.090067dd
lea esi, [ebp - 0x13d0]
mov dword [ebp - 0x13d8], 0x19
lea edi, [eax + 2]
mov dword [ebp - 0x13d4], 0x19
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
movzx eax, cx
imul eax, eax, 0xff
shr ecx, 0x10
add eax, 0x4000
shr eax, 0xf
mov byte [edi - 2], al
imul eax, ecx, 0xff
mov ecx, 0x4000
add eax, ecx
shr eax, 0xf
mov byte [edi - 1], al
movzx eax, dx
imul eax, eax, 0xff
shr edx, 0x10
add eax, ecx
shr eax, 0xf
mov byte [edi], al
imul eax, edx, 0xff
add eax, ecx
shr eax, 0xf
mov byte [edi + 1], al
add edi, 4
sub dword [ebp - 0x13d4], 1
jne 0x90a2631
sub dword [ebp - 0x13d8], 1
jne 0x90a2627
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 0
call fcn.090068a7
mov edi, dword [ebp - 0x13e0]
mov eax, dword [ebp - 0x13dc]
add edi, 0x9c4
mov esi, dword [ebp - 0x13e4]
add eax, 2
mov dword [ebp - 0x13dc], eax
mov dword [ebp - 0x13e0], edi
cmp edi, 0xf424
jb 0x90a2571
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.090190fb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4