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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xbf914
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0008364c
call fcn.000c1670
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xbf8fe
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0xbf8fe
mov esi, dword [edx + 0x50]
add esi, ecx
mov ecx, esi
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.00083bdc
lea eax, [ebp - 4]
call fcn.00083a78
mov ecx, dword [esi]
mov edx, dword [ebp - 8]
call fcn.00086ccc
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.000836a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbf91b
lea eax, [ebp - 4]
call fcn.0008364c
ret

Function at 0xbf924
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.0008411c
xor eax, eax
push ebp
push 0xbf9f7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.000c1670
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xbf9ca
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0xbf9ca
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.00083bdc
lea eax, [ebp - 0x10]
call fcn.00083a78
mov ecx, dword [ebx]
mov edx, esi
call fcn.00086ccc
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00083a78
push eax
lea eax, [ebp - 0x14]
call fcn.000c07d0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
pop ecx
call fcn.000b3b0c
mov ebx, eax
test ebx, ebx
je 0xbf9d1
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbf9fe
lea eax, [ebp - 0x14]
call fcn.00083c58
lea eax, [ebp - 0x10]
call fcn.0008364c
lea eax, [ebp - 4]
call fcn.00083c58
ret
Function at 0xbfa08
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0xbfa10
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.0008411c
xor eax, eax
push ebp
push 0xbfbf3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [edi], eax
xor ebx, ebx
call fcn.000c1670
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xbfba1
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0xbfba1
mov ebx, dword [edx + 0x50]
add ebx, ecx
add ebx, 4
mov edx, dword [edx + 0x50]
add edx, eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
lea eax, [ebp - 0xc]
call fcn.00083bdc
lea eax, [ebp - 0xc]
call fcn.00083a78
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
mov edx, ebx
call fcn.00086ccc
mov esi, 1
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.000836e4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
push edi
push 1
push 1
lea ecx, [ebp - 0x1c]
mov edx, 0xbfc0c
mov eax, 0xbfc18
call fcn.000c136c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00083dd8
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
call fcn.00083a78
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000b3b0c
mov ebx, eax
test ebx, ebx
jne 0xbfb41
push 0xea60
call fcn.00086b70
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.000836e4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
push edi
push 1
push 0
lea ecx, [ebp - 0x24]
mov edx, 0xbfc2c
mov eax, 0xbfc38
call fcn.000c136c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00083dd8
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
call fcn.00083a78
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000b3b0c
mov ebx, eax
test ebx, ebx
jne 0xbfb84
push 0xea60
call fcn.00086b70
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.000836e4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
push edi
push 1
push 0
lea eax, [ebp - 0x10]
call fcn.00083a78
push eax
lea eax, [ebp - 0x28]
call fcn.000c07d0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 4]
pop ecx
call fcn.000b3b0c
mov ebx, eax
test ebx, ebx
jne 0xbfba1
cmp esi, 5
je 0xbfba1
push 0xea60
call fcn.00086b70
inc esi
cmp esi, 6
jne 0xbfa9b
test ebx, ebx
je 0xbfba8
mov dword [ebp - 8], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbfbfa
lea eax, [ebp - 0x28]
call fcn.00083c58
lea eax, [ebp - 0x24]
call fcn.0008364c
lea eax, [ebp - 0x20]
call fcn.00083c58
lea eax, [ebp - 0x1c]
call fcn.0008364c
lea eax, [ebp - 0x18]
call fcn.00083c58
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00083670
lea eax, [ebp - 4]
call fcn.00083c58
ret
Function at 0xc0464
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0xc053f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0008364c
test esi, esi
je 0xc04b6
mov eax, esi
and eax, 0xf
cdq
xor eax, edx
sub eax, edx
mov dl, byte [eax + 0xd1fac]
lea eax, [ebp - 4]
call fcn.000837f4
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov eax, ebx
call fcn.000838f4
shr esi, 4
test esi, esi
jne 0xc048b
cmp dword [ebx], 0
jne 0xc04d8
jmp 0xc04cb
mov ecx, dword [ebx]
mov eax, ebx
mov edx, 0xc0554
call fcn.000838f4
mov eax, dword [ebx]
call fcn.000838a8
cmp edi, eax
jg 0xc04bd
jmp 0xc0529
mov eax, dword [ebx]
call fcn.000838a8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x2d
jne 0xc051e
mov eax, dword [ebx]
call fcn.000838a8
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00083af0
mov edx, ebx
mov ecx, 1
mov eax, 0xc0560
call fcn.00083b38
jmp 0xc051e
mov ecx, dword [ebx]
mov eax, ebx
mov edx, 0xc0554
call fcn.000838f4
mov eax, dword [ebx]
call fcn.000838a8
cmp edi, eax
jg 0xc0510
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc0546
lea eax, [ebp - 4]
call fcn.0008364c
ret
Function at 0xc6dfc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0xc6ea3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00083c58
call fcn.000c1670
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xc6e57
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0xc6e57
mov esi, dword [edx + 0x50]
add esi, ecx
mov ecx, esi
mov esi, dword [edx + 0x50]
add esi, eax
add esi, 4
add esi, dword [ecx]
lea eax, [ebp - 4]
mov edx, esi
call fcn.00083d80
mov eax, dword [ebp - 4]
call fcn.00083df8
cmp eax, 0xa
jge 0xc6e7e
call fcn.000869c0
mov edx, eax
lea eax, [ebp - 8]
call fcn.00083d80
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.000c02a8
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.000c02a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc6eaa
lea eax, [ebp - 8]
mov edx, 2
call fcn.00083c70
ret
Function at 0x9001690
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x90de124]
jne 0x900169a
repz ret
jmp fcn.0909ebfc

Function at 0x9013f61
Capabilities:
Check os version

Disassembly:
push 0x118
mov eax, 0x90a2736
call fcn.09004c60
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x124], edi
call fcn.0900373e
lea eax, [ebp - 0x4c]
xor ebx, ebx
push eax
mov edx, esi
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.09015738
pop ecx
test al, al
jne 0x9013fbf
lea eax, [ebp - 0x4c]
push eax
call fcn.0906031b
pop ecx
test al, al
jne 0x9013fbf
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.090167a9
mov eax, esi
call fcn.09005591
ret
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
je 0x9014150
cmp dword [ebp - 0x110], 6
sbb al, al
inc al
je 0x9014150
push str.CDMP
lea ecx, [ebp - 0x4c]
call fcn.090168fc
test al, al
je 0x9014150
lea ecx, [ebp - 0x68]
call fcn.0900373e
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
call fcn.0902ca43
pop ecx
test al, al
je 0x901411d
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.09056076
mov esi, str..icc
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.0902ca43
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x9014065
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.0902ca43
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 3
call fcn.090183d0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.0902ca43
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x68]
call fcn.0902ca43
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0902ca43
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x90140e1
lea eax, [ebp - 0x68]
push eax
push edi
call fcn.090178a6
pop ecx
pop ecx
lea ecx, [ebp - 0x11c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.0901978b
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.0902ca43
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
jmp 0x9014141
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 3
call fcn.0901978b
mov dword [ebp - 4], 2
jmp 0x901410e
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0902ca43
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.0905855e
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
test al, al
je 0x901414b
mov esi, dword [ebp - 0x120]
call fcn.090167a9
jmp 0x9013fab
call fcn.090167a9
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.090178a6
pop ecx
pop ecx
mov esi, eax
jmp 0x9013fab
Function at 0x902ca43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x902ca52
pop dword [ebp - 0x24]
mov eax, 0x1e5d22cd
add eax, 0xeaa5a785
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x7399b7cc
add dword [ebp - 0x34], 0xdab88d7f
mov dword [ebp - 0x30], 0x9bebdbf3
add dword [ebp - 0x30], 0x96477052
mov dword [ebp - 0x2c], 0x838b8e40
sub dword [ebp - 0x2c], 0x373f4a12
mov dword [ebp - 0x28], 0x476fce8c
add dword [ebp - 0x28], 0xb8903174
lea eax, [ebp - 0x34]
push eax
mov eax, 0xfba13adc
add eax, 0xd6925e8
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xbe7cff90
sub dword [ebp - 0x34], 0x4a0a963a
mov dword [ebp - 0x30], 0x8be8a995
sub dword [ebp - 0x30], 0x4a7c4820
mov dword [ebp - 0x2c], 0x4e268f92
add dword [ebp - 0x2c], 0x1548dcda
mov dword [ebp - 0x28], 0x609dc83d
add dword [ebp - 0x28], 0x9f6237c3
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x5d404
push 0
call eax
mov ecx, 0x4a37
mov edx, eax
mov esi, 0x870c841e
add esi, 0x82020de2
add esi, dword [ebp - 0x24]
mov ebx, 0x55ceab0a
add dword [ebp - 8], esi
mov edi, dword [esi]
xor dword [ebp - 0x10], edi
sub edi, ebx
xor dword [ebp - 0x10], ecx
mov dword [edx], edi
add edx, 0x5ceda6a6
add edx, 0xa312595e
add esi, 0x560555b6
add esi, 0xa9faaa4e
loop 0x902cb63
add eax, 0x11baf
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe6790558
sub ecx, 0xdd790558
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x90422dc
Capabilities:
Get memory capacity

Disassembly:
push 0x28
mov eax, 0x90a0c3e
call fcn.09004c60
lea eax, [ebp - 0x34]
push eax
mov esi, ecx
mov dword [ebp - 0x34], 0x20
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
xor edi, edi
sub eax, dword [esi + 8]
sbb edi, dword [esi + 0xc]
js 0x904234b
jg 0x9042311
test eax, eax
jb 0x904234b
mov ecx, dword [esi + 4]
mov edx, ecx
xor ebx, ebx
imul edx, edx, 3
cmp edi, ebx
jg 0x904234b
jl 0x9042325
cmp eax, edx
ja 0x904234b
cmp ecx, eax
jae 0x904233f
and dword [ebp - 4], 0
sub eax, ecx
mov ecx, dword [esi]
push eax
call fcn.0902ca43
jmp 0x904234b
jbe 0x904234b
sub ecx, eax
push ecx
mov ecx, dword [esi]
call fcn.0902ca43
call fcn.09005591
ret

Function at 0x90423b0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov byte [ecx + 0x58], al
ret
Function at 0x90556d5
Capabilities:
Check if file exists
Get file attributes

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

Function at 0x90563e9
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x90a0dde
call fcn.0900621d
mov edi, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 0x10], bl
push 0x208
sete al
push ebx
lea esi, [eax - 1]
lea eax, [ebp - 0x218]
and esi, 0xffffffef
push eax
add esi, 0x2b
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp byte [ebp + 0xc], bl
je 0x905642e
or esi, 0x8000
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
je 0x9056447
xor al, al
jmp 0x9056497
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.09015b83
push dword [ebp + 0xc]
lea ecx, [ebp - 0x234]
push str.Adobe
mov dword [ebp - 4], ebx
call fcn.0905636c
test al, al
je 0x905648a
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.0902ca43
mov ecx, edi
call fcn.090556d5
mov bl, al
lea ecx, [ebp - 0x234]
call fcn.090167a9
mov al, bl
call fcn.0900804d
ret
Function at 0x906031b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x158
mov eax, 0x90a26eb
call fcn.0900621d
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x164], eax
xor ebx, ebx
lea eax, [ebp - 0x154]
push eax
mov edi, 0x20019
push edi
push ebx
push str.SOFTWARE
push 0x80000002
mov byte [ebp - 0x13d], bl
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x14c], ebx
call esi
test eax, eax
je 0x9060388
mov dword [ebp - 0x154], ebx
jmp 0x9060557
lea eax, [ebp - 0x148]
push eax
push edi
push ebx
push str.Adobe
push dword [ebp - 0x154]
call esi
test eax, eax
je 0x90603ad
mov dword [ebp - 0x148], ebx
jmp 0x9060557
lea eax, [ebp - 0x150]
push eax
push edi
push ebx
push str.Color
push dword [ebp - 0x148]
call esi
test eax, eax
je 0x90603d2
mov dword [ebp - 0x150], ebx
jmp 0x9060557
lea eax, [ebp - 0x144]
push eax
push edi
push ebx
push str.Monitor
push dword [ebp - 0x150]
call esi
test eax, eax
je 0x90603f7
mov dword [ebp - 0x144], ebx
jmp 0x9060557
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
push str.Primary_Monitor
push dword [ebp - 0x144]
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9060452
cmp dword [ebp - 0x15c], 4
jne 0x9060452
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x160], eax
cmp eax, 0x3e7
ja 0x9060557
push dword [ebp - 0x160]
lea eax, [ebp - 0x1c]
push str.Monitor_u
push 0xb
push eax
call fcn.0902ca43
add esp, 0x10
lea eax, [ebp - 0x14c]
push eax
push edi
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x144]
call esi
test eax, eax
je 0x90604dc
mov dword [ebp - 0x14c], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x144], ebx
je 0x90604a0
push dword [ebp - 0x144]
call esi
cmp dword [ebp - 0x150], ebx
je 0x90604b0
push dword [ebp - 0x150]
call esi
cmp dword [ebp - 0x148], ebx
je 0x90604c0
push dword [ebp - 0x148]
call esi
cmp dword [ebp - 0x154], ebx
je 0x90604d0
push dword [ebp - 0x154]
call esi
mov al, byte [ebp - 0x13d]
call fcn.0900804d
ret
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
push str.Monitor_Profile
push dword [ebp - 0x14c]
mov dword [ebp - 0x158], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9060557
cmp dword [ebp - 0x15c], 1
jne 0x9060557
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0905592d
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 4], ebx
call fcn.0902ca43
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.090167a9
mov byte [ebp - 0x13d], 1
cmp dword [ebp - 0x14c], ebx
je 0x906048a
push dword [ebp - 0x14c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x9060490
Function at 0x9063086
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 0x90a2ae1
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f8
call fcn.0909ea10
mov eax, dword [0x90de124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov eax, dword [esi + 4]
add eax, 0x78
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x13e8], edi
mov dword [ebp - 0x13e4], esi
call fcn.0902ca43
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x906310a
mov eax, dword [esi + 4]
push 0
push 0x753
push 0xb71b
push eax
call fcn.0902ca43
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x13ec], esi
call fcn.0900e991
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13d4], 0xc
mov eax, dword [ebp - 0x13d4]
push 0x18
xor edx, edx
pop ecx
div ecx
mov ecx, dword [ebp - 0x13d8]
add dword [ebp - 0x13d4], 0x8000
add dword [ebp - 0x13d8], 2
cmp dword [ebp - 0x13d4], 0xc800c
mov word [ecx], ax
jb 0x906312e
and dword [ebp - 0x13d8], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13e0], eax
jmp 0x906317f
mov edi, dword [ebp - 0x13e8]
mov esi, dword [ebp - 0x13e4]
mov eax, dword [ebp - 0x13e0]
movzx eax, word [eax]
and dword [ebp - 0x13d4], 0
mov dword [ebp - 0x13dc], eax
lea eax, [ebp - 0x13cc]
xor ecx, ecx
mov dx, word [ebp - 0x13dc]
mov word [eax - 2], dx
mov edx, dword [ebp - 0x13d4]
movzx edx, word [ebp + edx*2 - 0x48]
mov word [eax], dx
mov dx, word [ebp + ecx*2 - 0x48]
mov word [eax + 2], dx
inc ecx
add eax, 8
cmp ecx, 0x19
jb 0x906319d
inc dword [ebp - 0x13d4]
cmp dword [ebp - 0x13d4], 0x19
jb 0x906319b
push 0
mov eax, 0x504c4142
push eax
push eax
push 0x271
lea eax, [ebp - 0x13d0]
push eax
push eax
mov ecx, esi
call fcn.0902ca43
push 1
push 0x753
push dword [ebp - 0x13d8]
lea ecx, [ebp - 0x1408]
push dword [edi]
call fcn.0902ca43
lea ecx, [ebp - 0x1408]
mov byte [ebp - 4], 1
call fcn.09005145
lea edi, [ebp - 0x13d0]
lea esi, [eax + 2]
mov dword [ebp - 0x13dc], 0x19
mov dword [ebp - 0x13d4], 0x19
mov eax, dword [edi]
mov ecx, dword [edi + 4]
shr eax, 0x10
imul eax, eax, 0xff
add eax, 0x4000
shr eax, 0xf
mov byte [esi - 2], al
movzx eax, cx
push eax
mov dword [ebp - 0x13f0], ecx
call fcn.0902ca43
mov byte [esi - 1], al
movzx eax, word [ebp - 0x13ee]
push eax
call fcn.0902ca43
mov byte [esi], al
pop ecx
add esi, 3
add edi, 8
dec dword [ebp - 0x13d4]
pop ecx
jne 0x906323a
dec dword [ebp - 0x13dc]
jne 0x9063230
lea ecx, [ebp - 0x1408]
mov byte [ebp - 4], 0
call fcn.09005177
add dword [ebp - 0x13d8], 0x753
add dword [ebp - 0x13e0], 2
cmp dword [ebp - 0x13d8], 0xb71b
jb 0x9063173
mov ecx, dword [ebp - 0x13e4]
or dword [ebp - 4], 0xffffffff
call fcn.0902ca43
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.09001690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x906400a
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 0x90a2cd0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f8
call fcn.0909ea10
mov eax, dword [0x90de124]
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]
mov eax, dword [edi + 4]
add eax, 0x78
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x13ec], esi
mov dword [ebp - 0x13e4], edi
call fcn.0902ca43
cmp dword [esi], 0
pop ecx
pop ecx
jne 0x906408e
mov eax, dword [edi + 4]
push 0
push 0x9c4
push 0xf424
push eax
call fcn.0902ca43
add esp, 0x10
mov dword [esi], eax
mov ecx, edi
mov dword [ebp - 0x13f0], edi
call fcn.0900e991
and dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x13d4], 0xc
mov eax, dword [ebp - 0x13d4]
push 0x18
xor edx, edx
pop esi
div esi
add dword [ebp - 0x13d4], 0x8000
mov word [ecx], ax
add ecx, 2
cmp dword [ebp - 0x13d4], 0xc800c
jb 0x90640ac
and dword [ebp - 0x13dc], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13e0], eax
mov esi, 0x4000
jmp 0x90640f2
mov edi, dword [ebp - 0x13e4]
mov eax, dword [ebp - 0x13e0]
movzx eax, word [eax]
and dword [ebp - 0x13d4], 0
mov dword [ebp - 0x13d8], eax
lea eax, [ebp - 0x13cc]
xor ecx, ecx
mov dx, word [ebp - 0x13d8]
mov word [eax - 2], dx
mov edx, dword [ebp - 0x13d4]
movzx edx, word [ebp + edx*2 - 0x48]
mov word [eax], dx
mov dx, word [ebp + ecx*2 - 0x48]
mov word [eax + 2], dx
inc ecx
add eax, 8
cmp ecx, 0x19
jb 0x9064110
inc dword [ebp - 0x13d4]
cmp dword [ebp - 0x13d4], 0x19
jb 0x906410e
push 0
push 0x434d594b
push 0x50524742
push 0x271
lea eax, [ebp - 0x13d0]
push eax
push eax
mov ecx, edi
call fcn.0902ca43
mov eax, dword [ebp - 0x13ec]
push 1
push 0x9c4
push dword [ebp - 0x13dc]
lea ecx, [ebp - 0x1404]
push dword [eax]
call fcn.0902ca43
lea ecx, [ebp - 0x1404]
mov byte [ebp - 4], 1
call fcn.09005145
lea ecx, [ebp - 0x13d0]
add eax, 2
mov dword [ebp - 0x13d8], 0x19
mov dword [ebp - 0x13d4], ecx
mov dword [ebp - 0x13e8], 0x19
mov ecx, dword [ebp - 0x13d4]
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
movzx edx, di
imul edx, edx, 0xff
add edx, esi
shr edx, 0xf
mov byte [eax - 2], dl
shr edi, 0x10
mov edx, edi
imul edx, edx, 0xff
add dword [ebp - 0x13d4], 8
add edx, esi
shr edx, 0xf
mov byte [eax - 1], dl
movzx edx, cx
shr ecx, 0x10
imul edx, edx, 0xff
imul ecx, ecx, 0xff
add edx, esi
add ecx, esi
shr edx, 0xf
shr ecx, 0xf
mov byte [eax], dl
mov byte [eax + 1], cl
add eax, 4
dec dword [ebp - 0x13e8]
jne 0x90641bc
dec dword [ebp - 0x13d8]
mov ecx, dword [ebp - 0x13d4]
jne 0x90641ac
lea ecx, [ebp - 0x1404]
mov byte [ebp - 4], 0
call fcn.09005177
add dword [ebp - 0x13dc], 0x9c4
add dword [ebp - 0x13e0], 2
cmp dword [ebp - 0x13dc], 0xf424
jb 0x90640ec
mov ecx, dword [ebp - 0x13e4]
or dword [ebp - 4], 0xffffffff
call fcn.0902ca43
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.09001690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4