joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56de6d
Capabilities:
Check if file exists

Disassembly:
push 0x40
mov eax, 0x59f0af
call fcn.005693c7
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.0056e119
mov esi, dword [ebp - 0x4c]
jmp 0x56df1d
push esi
lea ecx, [ebp - 0x40]
call fcn.00402a71
push str.Dict
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004117f1
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56df01
push 0x611980
call fcn.00578706
pop ecx
push eax
push ebx
push 0x611980
lea ecx, [ebp - 0x28]
call fcn.00403968
cmp eax, 0xffffffff
jne 0x56df01
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0041271e
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00403628
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00403628
add esi, 0x18
cmp esi, dword [ebp - 0x48]
jne 0x56de9b
lea ecx, [ebp - 0x4c]
call fcn.0040c264
call fcn.00569382
ret 4

Function at 0x56df36
Capabilities:
Enumerate files on windows

Disassembly:
push 0x67c
mov eax, 0x59f0df
call fcn.005693c7
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x420]
mov ebx, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.0056f390
push edi
lea eax, [ebp - 0x420]
push 0x5a35bc
push eax
call fcn.00408d5e
add esp, 0x18
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x56e076
lea eax, [ebp - 0x688]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x56e076
push 0x2e
pop eax
cmp word [ebp - 0x65c], ax
je 0x56df92
cmp word [ebp - 0x65a], 0
je 0x56df92
cmp word [ebp - 0x65a], ax
jne 0x56dfd1
cmp word [ebp - 0x658], 0
je 0x56df92
test byte [ebp - 0x688], 0x10
je 0x56df92
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f390
lea eax, [ebp - 0x65c]
push eax
push edi
lea eax, [ebp - 0x218]
push 0x5a0b04
push eax
call fcn.00408d5e
and dword [ebp - 0x428], 0
xor eax, eax
add esp, 0x1c
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
je 0x56e039
lea eax, [ebp - 0x218]
push eax
call fcn.00578706
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00403772
and dword [ebp - 4], 0
lea eax, [ebp - 0x438]
push eax
mov ecx, ebx
call fcn.004115d9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
push 0
push 1
call fcn.00403628
jmp 0x56df92
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.00569382
ret 8
Function at 0x56e085
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 8], 7
mov esi, 0x611eec
mov word [ebp - 0x1c], ax
xor edi, edi
push esi
mov dword [ebp - 0xc], edi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00403772
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push edi
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56e0fb
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call fcn.00403628
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056935c
mov esp, ebp
pop ebp
ret

Function at 0x56e14d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x62aa54]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x418]
mov ebx, str.WnWBImeDictFile
push eax
push ebx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x56e2a0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push eax
push ebx
push 1
push 0x5a06d8
push dword [ebp - 0x418]
call edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0056f390
add esp, 0xc
mov ebx, str.WnDictInst.exe
push ebx
call fcn.0056b1cb
mov ecx, eax
call fcn.0056cf59
push eax
lea eax, [ebp - 0x414]
push 0x5a0ac0
push eax
call fcn.00408d5e
add esp, 0x10
lea eax, [ebp - 0x414]
push 0x104
push eax
push 1
push str.DefaultIcon
push dword [ebp - 0x418]
call edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056f390
add esp, 0xc
push ebx
call fcn.0056b1cb
mov ecx, eax
call fcn.0056cf59
push eax
lea eax, [ebp - 0x20c]
push str.__s_s___install
push eax
call fcn.00408d5e
lea eax, [ebp - 0x20c]
push 0x611f94
push eax
call fcn.00578f16
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 1
push str.shellopencommand_
push dword [ebp - 0x418]
call edi
push dword [ebp - 0x418]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x41c]
push eax
push str..wncl
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x56e29f
push 0x104
push str.WnWBImeDictFile
push 1
push 0x5a06d8
push dword [ebp - 0x41c]
call edi
push dword [ebp - 0x41c]
call ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0056935c
mov esp, ebp
pop ebp
ret

Function at 0x56e2af
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
call fcn.0056e2bf
mov ecx, esi
pop esi
jmp fcn.0056e14d
Function at 0x58f1d3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058f052

Function at 0x593db4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00593a74
Function at 0x10008730
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x1008705c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0xac], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov eax, dword [edi + 0x10]
add eax, dword [esi + 0x10]
push eax
mov byte [ebp - 0xa8], 0
call fcn.10004900
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0xa8]
call fcn.10005d40
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0xa8]
call fcn.10005d40
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0xa8]
call fcn.10005d40
push eax
lea ecx, [ebp - 0x1c]
call fcn.10005cc0
lea ecx, [ebp - 0xa8]
call fcn.10005f70
cmp dword [ebp - 8], 0x10
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x94], 0xf
cmovae edx, dword [ebp - 0x1c]
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
cmp byte [edx], 0
jne 0x100087f4
xor eax, eax
jmp 0x10008809
mov eax, edx
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10008800
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xa8]
call fcn.10006490
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x90]
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.10009ab0
lea ecx, [ebp - 0xa8]
call fcn.10005f70
cmp byte [ebp - 0x28], 0
jne 0x10008896
lea ecx, [ebp - 0x90]
mov byte [ebp - 0x28], 1
call fcn.10009b60
mov ebx, dword [ebp - 0xac]
lea eax, [ebp - 0x38]
push ecx
push eax
push ebx
call fcn.1000a360
cmp dword [ebx + 0x14], 0x10
jb 0x100088b1
mov eax, dword [ebx]
jmp 0x100088b3
mov eax, ebx
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
lea ecx, [ebp - 0x1c]
call fcn.10005f70
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045320
mov esp, ebp
pop ebp
ret
Function at 0x100089f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1008705c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x68]
push 0x64
push 0
push eax
mov esi, ecx
call fcn.10047830
add esp, 0xc
mov dword [ebp - 0x70], 0x64
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
push str.SoftwareHeinoteInstall
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10008a53
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push edi
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x10008a61
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x68], 0
jne 0x10008a7c
xor ecx, ecx
jmp 0x10008a8b
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008a82
sub ecx, edx
push ecx
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.10006490
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10045320
mov esp, ebp
pop ebp
ret

Function at 0x10008ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x1008705c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x64
lea eax, [ebp - 0x70]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.10047830
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
push str.SoftwareHeinoteInstall
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10008b0c
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10008b4d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10008b4d
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push edi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [ebp - 0x74]
je 0x10008b36
test eax, eax
je 0x10008b4d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10008b4d
test eax, eax
je 0x10008b41
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
call fcn.1000aa90
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x70], 0
jne 0x10008b68
xor ecx, ecx
jmp 0x10008b79
lea ecx, [ebp - 0x70]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008b70
sub ecx, edx
push ecx
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.10006490
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10045320
mov esp, ebp
pop ebp
ret
Function at 0x10009020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x48
mov edi, ecx
call fcn.100452e8
push 0x48
mov esi, eax
push 0
push esi
call fcn.10047830
add esp, 0x10
mov ecx, esi
call fcn.10008d30
mov edx, dword [ebp + 8]
mov ebx, eax
mov dword [edi + 0x68], ebx
cmp byte [edx], 0
jne 0x10009056
xor ecx, ecx
jmp 0x10009069
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009060
sub ecx, esi
push ecx
push edx
lea ecx, [ebx + 8]
call fcn.10006490
mov eax, dword [edi + 0x68]
push 9
push str.GET_test1
mov dword [eax + 4], 1
mov ecx, dword [edi + 0x68]
add ecx, 0x2c
call fcn.10006490
lea eax, [edi + 0x10]
push eax
push 0
push edi
push 0x100090d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x14], eax
pop edi
pop esi
pop ebx
test eax, eax
je 0x100090bd
cmp eax, 0xffffffff
je 0x100090bd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop ebp
ret 4
Function at 0x10009940
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 8], esi
test esi, esi
je 0x10009a9f
lea ecx, [esi*8]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [esi*8]
lea eax, [ecx + ecx*2]
add eax, eax
sub edx, eax
sub edx, 2
je 0x10009989
sub edx, 2
jne 0x1000998c
add ecx, 2
jmp 0x1000998c
add ecx, 3
mov eax, dword [ebp + 0xc]
inc ecx
cmp dword [eax], ecx
jge 0x100099a1
pop esi
mov dword [eax], ecx
mov eax, 0xfffffff0
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x55555556
imul esi
push edi
mov edi, dword [ebp + 8]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
xor eax, eax
test ecx, ecx
jle 0x10009a36
dec ecx
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
inc eax
mov dword [ebp - 4], eax
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 2], al
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x100099d2
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, esi
jge 0x10009a91
movzx edx, byte [ebx]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jge 0x10009a4b
movzx ecx, byte [ebx + 1]
jmp 0x10009a4d
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 1], al
cmp dword [ebp - 0xc], esi
jge 0x10009a86
and ecx, 0xf
mov al, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_0123456789abcdef]
mov byte [edi + 2], al
jmp 0x10009a8a
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov ecx, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [ebp + 8]
mov byte [edi], 0
pop edi
mov dword [ecx], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000aa90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x1008705c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x30]
push 0x100812a4
push eax
mov dword [ebp - 0x15c], edi
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x10], 0
movups xmmword [ebp - 0x20], xmm0
call fcn.1000a8f0
add esp, 0xc
mov dword [ebp - 0x34], 0xf
cmp byte [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jne 0x1000aaf5
xor eax, eax
jmp 0x1000ab09
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ab00
sub eax, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.10006490
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], 0xf
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100060a0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x150]
cmp dword [ebp - 0x14], 0x10
mov edx, 0x100
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x154], eax
xor eax, eax
nop
mov byte [ecx], al
lea ecx, [ecx + 1]
inc eax
cmp ax, dx
jl 0x1000ab60
xor dl, dl
mov word [ebp - 0x50], 0
xor ebx, ebx
lea esi, [ebp - 0x150]
mov edi, 0x100
mov eax, dword [ebp - 0x154]
lea esi, [esi + 1]
mov cl, byte [esi - 1]
movzx edx, dl
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
movzx eax, byte [ebp + ebx - 0x150]
mov byte [esi - 1], al
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x158]
mov byte [ebp + ebx - 0x150], cl
sub edi, 1
jne 0x1000ab80
mov edi, dword [ebp - 0x15c]
xor esi, esi
test edi, edi
jle 0x1000ac1b
movzx edx, byte [ebp - 0x50]
movzx ebx, byte [ebp - 0x4f]
nop
inc dl
movzx edx, dl
mov cl, byte [ebp + edx - 0x150]
lea eax, [ebx + ecx]
movzx ebx, al
movzx eax, byte [ebp + ebx - 0x150]
mov byte [ebp + edx - 0x150], al
mov byte [ebp + ebx - 0x150], cl
movzx eax, byte [ebp + edx - 0x150]
add al, cl
mov ecx, dword [ebp - 0x160]
movzx eax, al
movzx eax, byte [ebp + eax - 0x150]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x1000abd0
lea ecx, [ebp - 0x28]
call fcn.10005f70
lea ecx, [ebp - 0x48]
call fcn.10005f70
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045320
mov esp, ebp
pop ebp
ret 8
Function at 0x1000aea0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x204]
lea esi, [edi + 0x100]
sub dword [ebp + 8], eax
add ecx, eax
mov bh, byte [edi + 0x209]
sub edx, eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ecx
cmp eax, ecx
jae 0x1000af1a
sub edx, dword [ebp + 8]
mov edi, edx
nop dword [eax]
mov edx, dword [ebp - 4]
movzx ecx, al
add esi, ecx
mov bl, byte [esi]
add bh, bl
movzx ecx, bh
add edx, ecx
movzx ecx, byte [edx]
mov byte [esi], cl
mov byte [edx], bl
movzx ecx, byte [esi]
mov edx, dword [ebp + 8]
add cl, bl
mov esi, dword [ebp - 4]
add edx, eax
movzx ecx, cl
inc eax
movzx ecx, byte [ecx + esi]
xor cl, byte [edi + edx]
mov byte [edx], cl
cmp eax, dword [ebp - 8]
jb 0x1000aee0
mov edi, dword [ebp - 0xc]
mov byte [edi + 0x209], bh
mov dword [edi + 0x204], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000b160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x1000b1cc
mov edx, dword [esi + 0x1c]
lea eax, [edx + 1]
mov dword [esi + 0x1c], eax
cmp edx, 0x186a0
jl 0x1000b1a1
mov eax, dword [esi]
test eax, eax
je 0x1000b192
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [esi + 0x1c], 0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b1a6
mov eax, dword [esi]
sub ecx, edx
cmp eax, 0xffffffff
je 0x1000b1cc
push 0
lea edx, [ebp + 8]
mov dword [ebp + 8], 0
push edx
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret 4
Function at 0x1000bd70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x910
push esi
push edi
push 0x100
lea eax, [ebp - 0x110]
mov esi, ecx
push 0
push eax
or edi, 0xffffffff
call fcn.10047830
add esp, 0xc
lea eax, [ebp - 0x110]
push esi
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push 0x100
push eax
call fcn.10005b80
add esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x110]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000be8e
push 0x800
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.10047830
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc]
add esp, 0xc
mov dword [ebp - 0xc], 0x800
push eax
lea eax, [ebp - 0x910]
push eax
push 0
push 0
push str.PnpInstanceID
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1000be85
push 3
push 0x10081474
lea eax, [ebp - 0x910]
push eax
push 0
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualW]
test eax, eax
je 0x1000be85
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
push 0
push 0
push str.MediaSubType
push dword [ebp - 4]
call esi
cmp eax, 2
je 0x1000be83
test eax, eax
jne 0x1000be85
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x1000be83
cmp eax, 2
jne 0x1000be85
push dword [ebp - 4]
lea edi, [eax - 1]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c140
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a0eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 0
push eax
push 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x13], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.100459df
mov edi, eax
add esp, 4
test edi, edi
je 0x1000c1b2
push ebx
push 0
push edi
call fcn.10047830
add esp, 0xc
mov byte [edi], 0
jmp 0x1000c1b4
xor edi, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x1000c226
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1000c226
mov byte [ebp - 4], 0xc
mov esi, edi
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x14]
nop dword [eax]
lea ecx, [esi + 8]
call fcn.1000bd70
mov ecx, eax
cmp ecx, 1
je 0x1000c203
test ecx, ecx
jne 0x1000c21b
mov ax, word [esi + 0x198]
mov ebx, dword [esi + 0x194]
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x10], ax
test ecx, ecx
je 0x1000c221
mov esi, dword [esi]
test esi, esi
jne 0x1000c1f0
mov esi, dword [ebp - 0x1c]
jmp 0x1000c229
mov ebx, dword [ebp - 0x14]
push 0x200
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.10047830
mov eax, dword [ebp - 0x10]
add esp, 0xc
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [ebp - 0x10]
push eax
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
shr ebx, 8
shr eax, 0x10
movzx eax, al
push eax
movzx eax, bl
push eax
movzx eax, byte [ebp - 0x14]
push eax
lea eax, [ebp - 0x228]
push str._02X__02X__02X__02X__02X__02X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 0x20
mov word [esi], ax
cmp word [ebp - 0x228], ax
jne 0x1000c29e
xor ecx, ecx
jmp 0x1000c2b6
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c2a7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.10008110
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xf
test edi, edi
je 0x1000c2e8
push edi
mov byte [ebp - 4], 0x18
call fcn.100459da
add esp, 4
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret