joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100601e9
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x101dc30a
call fcn.1005d984
mov ebx, ecx
call fcn.1004155f
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.10002700
mov esi, str.WanNengWBInfo.ini
push esi
call fcn.1008133f
pop ecx
push eax
push esi
mov ecx, edi
call fcn.10004340
push str.guanf
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.1005ee55
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.100040e0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.10002690
push str.guanf
mov ecx, esi
call fcn.100218cf
test eax, eax
jne 0x100602d8
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10079740
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x10060289
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.guanf
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x100602ba
xor eax, eax
jmp 0x100602c7
lea eax, [ebp - 0x218]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10002750
jmp 0x100602dd
mov edi, str.guanf
push edi
mov ecx, esi
call fcn.100218cf
test eax, eax
jne 0x100603a0
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10079740
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.10004160
and dword [ebp - 4], 0
push str.WanNengWBInfo.ini
call fcn.1008133f
pop ecx
push eax
push str.WanNengWBInfo.ini
lea ecx, [ebp - 0x230]
call fcn.10004340
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x10060371
xor eax, eax
jmp 0x1006037e
lea eax, [ebp - 0x218]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10002750
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push 0
push 1
call fcn.10002690
push edi
mov ecx, esi
call fcn.100218cf
test eax, eax
jne 0x100603dc
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.1005edf2
push eax
mov ecx, esi
call fcn.100040e0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.10002690
call fcn.1005d93f
ret
Function at 0x10061f53
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.1008133f
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1005da2d
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.1008131d
add esp, 0x10
call fcn.1005532e
test al, al
je 0x10061fa6
push edx
push ebp
pop esp
pop edx
push esi
pop esi
pop edx
push eax
pop edx
pop ebx
pop ebx
pop esp
pop edx
push edi
push esp
push edi
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x10062070
cmp word [edi + ebx*2], 0x5c
jne 0x10062061
call fcn.1005507c
test al, al
je 0x10061fe1
push ebp
pop ebp
push eax
push esp
pop ebp
push ebx
pop ebp
push esi
pop ebx
push edi
pop eax
pop esp
push esi
push eax
push ebp
pop eax
pop esi
push ecx
push ebx
push edx
call fcn.10054e99
test al, al
je 0x1006200b
push ebp
push ecx
push edi
push edx
push ebx
push ecx
pop esp
pop ebx
pop ebp
pop edx
pop ecx
pop edi
pop ebx
push esp
push eax
push edi
pop ebx
push edi
pop ebx
push eax
pop edx
push ebp
pop ecx
pop eax
pop eax
pop ebx
push ebx
pop ebx
push esp
push ebp
mov edi, dword [ebp - 4]
call fcn.10054f68
test al, al
je 0x10062036
push esi
push esp
push esp
push eax
pop ebx
pop esi
push ebp
push ecx
push eax
push esp
push esp
push edi
pop ebp
pop ebx
push edi
pop ecx
pop esi
push edi
push ecx
push esp
pop ebp
pop ecx
pop ebp
push eax
pop ebp
pop edi
push ecx
pop ebp
pop eax
pop ecx
push ecx
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
xor eax, eax
push edi
movzx esi, word [edi + ebx*2]
mov word [edi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006205a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10062080
mov eax, dword [ebp - 8]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x10061fb9
xor esi, esi
inc esi
push edi
call fcn.1005d5e4
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x10062070
Function at 0x10062084
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10288294]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x218], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.100634bc
lea eax, [ebp - 0x20c]
push eax
call fcn.1008133f
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.10054e0f
test al, al
je 0x100620fb
pop esp
push ecx
pop ebx
push ecx
pop ecx
pop edi
pop ecx
pop esi
push ebx
pop esp
pop ecx
push esi
push edx
push edx
push ebx
push edi
push ebx
push esi
pop esp
pop edx
push ebp
pop eax
push ebx
push edx
push ebp
mov ebx, dword [ebp - 0x210]
cmp dword [ebp - 0x214], 0
je 0x10062207
mov esi, 0x102704b4
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.100813e6
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.100813e6
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.100813e6
add esp, 0x18
call fcn.100553b8
test al, al
je 0x1006215b
pop ebx
pop ecx
push ecx
push edx
pop ebp
push edx
pop esp
push ecx
pop ecx
push esp
push ecx
push esp
pop esi
pop eax
push esp
push ebp
push edi
pop ecx
pop ebx
push ebp
pop edi
push ebx
push esi
push ebx
push ebx
pop ebp
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10062179
lea eax, [ebp - 0x20c]
push eax
call fcn.10061f53
pop ecx
call fcn.10054ede
test al, al
je 0x10062196
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.10055190
test al, al
je 0x100621bb
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.100553b8
test al, al
je 0x100621d9
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
cmp word [ebp - 0x20c], 0
jne 0x100621e7
xor eax, eax
jmp 0x100621f4
lea eax, [ebp - 0x20c]
push eax
call fcn.1008133f
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10002750
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d919
mov esp, ebp
pop ebp
ret
Function at 0x10062e04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10288294]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10297e30], 0
push ebx
push esi
push edi
je 0x10062e8c
call fcn.10054ede
test al, al
je 0x10062e40
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.10055190
test al, al
je 0x10062e65
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.100553b8
test al, al
je 0x10062f83
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
jmp 0x10062f83
call fcn.100553b8
test al, al
je 0x10062eb0
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10079740
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10062f20
lea eax, [ebp - 0x20c]
push eax
call fcn.10091dcb
lea eax, [ebp - 0x20c]
mov dword [esp], 0x101f2d28
push eax
call fcn.10079f32
pop ecx
pop ecx
test eax, eax
jne 0x10062f19
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.10079f32
pop ecx
pop ecx
test eax, eax
je 0x10062f20
mov byte [0x10297e30], 1
call fcn.1005521a
test al, al
je 0x10062f3b
pop ecx
push ecx
push esi
push edx
push eax
pop esi
push eax
push ebx
pop ebx
push esi
push eax
push eax
push edi
push ebp
pop esi
push esp
pop eax
push esp
call fcn.10054ede
test al, al
je 0x10062f5f
push edx
push esi
push esi
push edi
push esi
push edi
pop edi
push esi
push ecx
push esp
push esp
push edx
push ecx
pop esp
push esp
push ebx
pop edi
pop edx
pop ebp
pop ebx
pop esi
push esp
pop ebx
pop edx
pop eax
pop esi
push ebx
call fcn.10054ede
test al, al
je 0x10062f83
push ebx
pop ebp
pop edi
push esi
pop esp
pop ecx
pop ebx
pop edi
pop eax
pop edi
pop edi
push edx
pop eax
pop ecx
push eax
push edi
push ecx
pop edi
pop esi
push ebp
push esp
push esi
push edx
push edi
push esi
push edx
push ebp
mov ecx, dword [ebp - 4]
mov al, byte [0x10297e30]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1005d919
mov esp, ebp
pop ebp
ret
Function at 0x10062f99
Capabilities:
Get common file path

Disassembly:
push 0x138
mov eax, 0x101e06dd
call fcn.1005d984
mov al, byte [0x10297e31]
test al, al
jne 0x10063062
push 0x104
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.10079740
add esp, 0xc
lea eax, [ebp - 0x114]
xor edi, edi
inc edi
push edi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x1006305d
push str.config_systemprofile
lea ecx, [ebp - 0x12c]
call fcn.1001c909
lea eax, [ebp - 0x114]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x144]
call fcn.1001c909
push dword [ebp - 0x11c]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push esi
cmovae eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x144]
push eax
call fcn.10061920
movzx ecx, byte [0x10297e31]
cmp eax, 0xffffffff
push esi
cmovne ecx, edi
mov byte [0x10297e31], cl
lea ecx, [ebp - 0x144]
push edi
call fcn.1001d2c0
push esi
push edi
lea ecx, [ebp - 0x12c]
call fcn.1001d2c0
mov al, byte [0x10297e31]
call fcn.1005d93f
ret
Function at 0x10063d62
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x101e11a5
call fcn.1005d984
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x28c], ebx
test eax, eax
je 0x10063f4f
push eax
lea ecx, [ebp - 0x40]
call fcn.100025f0
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.10061474
mov edi, 0x22c
lea eax, [ebp - 0x284]
push edi
push 0
push eax
call fcn.10079740
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp esi, 0xffffffff
je 0x10063f3f
call fcn.10055190
test al, al
je 0x10063de4
pop eax
pop ecx
push ebp
push edi
pop ecx
push esp
pop edx
pop ebp
pop edx
pop esp
push eax
push ebx
push ebx
push edx
push esp
push edx
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10063ebc
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x10063e23
lea eax, [ebp - 0x260]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002750
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.10061474
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.100207a1
test eax, eax
je 0x10063e77
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10060983
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.100207a1
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x10063e7e
mov byte [ebp - 0x285], 1
test bl, 1
je 0x10063e92
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.10002690
cmp byte [ebp - 0x285], 0
jne 0x10063f55
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002690
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10063dfc
call fcn.100552a4
test al, al
je 0x10063eec
push esp
push edi
pop ebx
pop ecx
pop esp
pop ebx
pop ebx
push ecx
pop ebp
pop eax
pop ebp
push ebx
pop ebx
pop edx
push ebp
push ebx
pop edi
pop eax
push ebx
push edx
pop edx
pop eax
pop edi
push ebp
pop edx
push ebp
push ebx
pop ebp
push ebx
pop edx
pop esi
call fcn.10054d40
test al, al
je 0x10063f0e
pop edx
push ecx
push ebp
pop edx
push esp
push esp
push edx
push esi
pop eax
push esi
pop ebx
pop ecx
pop esi
pop ebx
push edi
pop edi
push ecx
push esi
pop edi
pop edi
push ecx
push esp
pop ebp
push ebp
push edi
call fcn.10054ff2
test al, al
je 0x10063f33
pop edx
push ecx
pop ebp
pop ebx
pop ebp
pop eax
pop ebx
push edi
push edx
push esi
pop edi
push eax
push edx
push edi
push esi
push esp
pop ebp
push ecx
push edx
pop eax
pop ebp
pop esi
push ecx
pop ecx
push ebx
pop edi
push edi
pop ebp
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10002690
mov eax, esi
call fcn.1005d93f
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.10002690
jmp 0x10063f41
Function at 0x100644d3
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x244
mov eax, 0x101e07c6
call fcn.1005d984
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x24c], 0
push 0x208
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10079740
add esp, 0xc
call fcn.100550c1
test al, al
je 0x10064526
push eax
push esi
push esi
push esi
pop esp
pop eax
pop esi
push ecx
push edi
push ecx
pop edx
push ecx
pop esp
pop esp
push ecx
pop edi
pop ebp
pop ebp
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
jmp 0x1006462e
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10064620
call fcn.10055190
test al, al
je 0x10064570
pop eax
pop ecx
push ebp
push edi
pop ecx
push esp
pop edx
pop ebp
pop edx
pop esp
push eax
push ebx
push ebx
push edx
push esp
push edx
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x100645a0
lea eax, [ebp - 0x218]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10002750
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1006163b
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.10002690
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x250]
call fcn.10063f70
pop ecx
pop ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
push 0
push 1
call fcn.1001d2c0
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1006453a
call fcn.1005d93f
ret
Function at 0x100654b6
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.100552a4
test al, al
je 0x100654d7
pop edx
pop ebx
pop edx
push edx
pop edi
push ecx
pop edx
pop ebp
push edx
push esi
pop ecx
pop eax
pop edx
pop edi
pop edi
push edx
pop ebp
call fcn.10054fad
test al, al
je 0x100654ff
push edx
pop ebp
pop ecx
push edi
push esi
pop esp
push esp
push ebx
pop ebx
pop esi
pop esp
pop eax
push esi
push eax
pop esp
pop edi
pop ecx
push ecx
pop edx
pop esp
pop esp
push esi
pop ebp
pop ebx
push ebp
push edx
pop edx
push edx
push esp
pop edi
push ecx
call fcn.10054dca
test al, al
je 0x1006551e
push ecx
push edi
push ebx
push ebp
push esi
push esp
pop eax
push edx
pop edx
pop ebx
push eax
pop esi
pop esi
push edx
pop eax
pop esp
pop edx
push edi
push esp
push eax
pop ecx
push esp
xor ecx, ecx
xor edx, edx
xor ebx, ebx
cmp dword [ebp + 0xc], ecx
jle 0x10065621
mov esi, dword [ebp + 8]
mov al, byte [ebx + esi]
cmp al, 0x3d
jne 0x1006553d
inc edx
cmp edx, 2
jg 0x1006557e
cmp al, 0x7f
ja 0x1006557e
movzx eax, al
mov al, byte [eax + 0x101f3540]
cmp al, 0x7f
je 0x1006557e
cmp al, 0x40
jae 0x10065556
test edx, edx
jne 0x1006557e
inc ecx
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 0xc]
jl 0x10065530
test ecx, ecx
je 0x10065621
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x10065586
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x10065580
push 0xffffffffffffffee
pop eax
jmp 0x10065623
call fcn.1005525f
test al, al
je 0x100655a7
pop eax
pop esi
pop edx
push esp
push edi
pop edi
pop ebx
push eax
pop eax
push edx
push ebp
push esi
pop ebx
push edx
push ebx
pop ecx
push ecx
push ebp
mov ebx, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
and dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
push 3
pop esi
test ebx, ebx
jle 0x1006561c
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov cl, byte [eax + 0x101f3540]
xor eax, eax
cmp cl, 0x40
sete al
sub esi, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
and eax, 0x3f
shl ecx, 6
or ecx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, 4
jne 0x10065613
xor eax, eax
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x100655fe
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp esi, 1
jle 0x1006560b
mov eax, ecx
shr eax, 8
mov byte [edx], al
inc edx
cmp esi, 2
jle 0x10065613
mov byte [edx], cl
inc edx
dec ebx
inc edi
test ebx, ebx
jg 0x100655bd
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006562a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x1006563e
xor eax, eax
jmp 0x1006577c
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x10065667
dec edx
sub edx, 1
jne 0x10065669
add eax, 2
jmp 0x10065669
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x1006567c
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x1006577b
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x10065712
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
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
mov al, byte [eax + 0x101f3500]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x101f3500]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x101f3500]
mov byte [edi + 2], al
mov al, byte [esi + 0x101f3500]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x100656a7
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x10065715
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x1006576e
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x1006572a
movzx ecx, byte [eax + 1]
jmp 0x1006572c
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x101f3500]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x101f3500]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x10065763
and ecx, 0xf
mov al, byte [ecx*4 + 0x101f3500]
mov byte [edi + 2], al
jmp 0x10065767
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006868e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x101e0d0b
call fcn.1005d950
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.1006b691
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.1006b6c5
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x100686ce
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006872e
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10068709
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1006872e
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.1006b6a4
call fcn.1005d92a
ret 0xc
Function at 0x10068bb6
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x101e0da6
call fcn.1005d984
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.10079740
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x10068cad
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x10068c32
lea eax, [ebp - 0x218]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10002750
and dword [ebp - 4], 0
push 0x102704b4
call fcn.1008133f
pop ecx
push eax
push 0x102704b4
lea ecx, [ebp - 0x230]
call fcn.10004340
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.10068819
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x10068c9e
call fcn.10002690
mov eax, edi
jmp 0x10068d5f
or dword [ebp - 4], 0xffffffff
call fcn.10002690
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x10068d5d
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x10068cf4
lea eax, [ebp - 0x218]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.10002750
mov esi, 0x102704b4
mov dword [ebp - 4], 1
push esi
call fcn.1008133f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.10004340
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.10068819
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.10002690
test esi, esi
je 0x10068d5d
mov eax, esi
jmp 0x10068d5f
xor eax, eax
call fcn.1005d93f
ret 4