joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10062f34
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x101def80
call fcn.1005d8df
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x28c], ebx
test eax, eax
je 0x10063121
push eax
lea ecx, [ebp - 0x40]
call fcn.10002590
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.10061258
mov edi, 0x22c
lea eax, [ebp - 0x284]
push edi
push 0
push eax
call fcn.10078730
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp esi, 0xffffffff
je 0x10063111
call fcn.1005516d
test al, al
je 0x10062fb6
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 0x1006308e
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x10062ff5
lea eax, [ebp - 0x260]
push eax
call fcn.100802ff
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.100026f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.10061258
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002077c
test eax, eax
je 0x10063049
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10060767
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.1002077c
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x10063050
mov byte [ebp - 0x285], 1
test bl, 1
je 0x10063064
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.10002630
cmp byte [ebp - 0x285], 0
jne 0x10063127
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10002630
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10062fce
call fcn.10055281
test al, al
je 0x100630be
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.10054d1d
test al, al
je 0x100630e0
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.10054fcf
test al, al
je 0x10063105
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.10002630
mov eax, esi
call fcn.1005d89a
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.10002630
jmp 0x10063113
Function at 0x10063954
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x244
mov eax, 0x101df006
call fcn.1005d8df
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.10078730
add esp, 0xc
call fcn.1005509e
test al, al
je 0x100639a7
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 0x10063aaf
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 0x10063aa1
call fcn.1005516d
test al, al
je 0x100639f1
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 0x10063a21
lea eax, [ebp - 0x218]
push eax
call fcn.100802ff
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100026f0
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1006fd0f
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.10002630
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x250]
call fcn.10063426
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.1001d28d
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 0x100639bb
call fcn.1005d89a
ret
Function at 0x10064937
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.10055281
test al, al
je 0x10064958
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.10054f8a
test al, al
je 0x10064980
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.10054da7
test al, al
je 0x1006499f
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 0x10064aa2
mov esi, dword [ebp + 8]
mov al, byte [ebx + esi]
cmp al, 0x3d
jne 0x100649be
inc edx
cmp edx, 2
jg 0x100649ff
cmp al, 0x7f
ja 0x100649ff
movzx eax, al
mov al, byte [eax + 0x101f1228]
cmp al, 0x7f
je 0x100649ff
cmp al, 0x40
jae 0x100649d7
test edx, edx
jne 0x100649ff
inc ecx
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 0xc]
jl 0x100649b1
test ecx, ecx
je 0x10064aa2
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x10064a07
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x10064a01
push 0xffffffffffffffee
pop eax
jmp 0x10064aa4
call fcn.1005523c
test al, al
je 0x10064a28
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 0x10064a9d
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov cl, byte [eax + 0x101f1228]
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 0x10064a94
xor eax, eax
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x10064a7f
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp esi, 1
jle 0x10064a8c
mov eax, ecx
shr eax, 8
mov byte [edx], al
inc edx
cmp esi, 2
jle 0x10064a94
mov byte [edx], cl
inc edx
dec ebx
inc edi
test ebx, ebx
jg 0x10064a3e
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 0x10064aab
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 0x10064abf
xor eax, eax
jmp 0x10064bfd
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 0x10064ae8
dec edx
sub edx, 1
jne 0x10064aea
add eax, 2
jmp 0x10064aea
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x10064afd
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x10064bfc
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x10064b93
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 + 0x101f11e8]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x101f11e8]
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 + 0x101f11e8]
mov byte [edi + 2], al
mov al, byte [esi + 0x101f11e8]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x10064b28
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 0x10064b96
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x10064bef
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x10064bab
movzx ecx, byte [eax + 1]
jmp 0x10064bad
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x101f11e8]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x101f11e8]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x10064be4
and ecx, 0xf
mov al, byte [ecx*4 + 0x101f11e8]
mov byte [edi + 2], al
jmp 0x10064be8
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 0x10067b0f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x101df514
call fcn.1005d8ab
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.1006ab1b
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.1006ab4f
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x10067b4f
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 0x10067baf
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 0x10067b8a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10067baf
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.1006ab2e
call fcn.1005d885
ret 0xc
Function at 0x10068037
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x101df5af
call fcn.1005d8df
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.10078730
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 0x1006812e
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x100680b3
lea eax, [ebp - 0x218]
push eax
call fcn.100802ff
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100026f0
and dword [ebp - 4], 0
push 0x1026de1c
call fcn.100802ff
pop ecx
push eax
push 0x1026de1c
lea ecx, [ebp - 0x230]
call fcn.100042e0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.10067c9a
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x1006811f
call fcn.10002630
mov eax, edi
jmp 0x100681e0
or dword [ebp - 4], 0xffffffff
call fcn.10002630
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x100681de
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x10068175
lea eax, [ebp - 0x218]
push eax
call fcn.100802ff
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.100026f0
mov esi, 0x1026de1c
mov dword [ebp - 4], 1
push esi
call fcn.100802ff
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.100042e0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.10067c9a
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.10002630
test esi, esi
je 0x100681de
mov eax, esi
jmp 0x100681e0
xor eax, eax
call fcn.1005d89a
ret 4
Function at 0x100681e8
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x10285294]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
jne 0x10068210
xor eax, eax
jmp 0x10068346
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10068209
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10078730
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10068334
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1006830e
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.10078730
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10068302
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.10078f22
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x1006833c
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10068279
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d874
mov esp, ebp
pop ebp
ret 4
Function at 0x10068e34
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10285294]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x10068e59
xor eax, eax
jmp 0x10068eec
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.10078730
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10068eea
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x10068ec8
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.100863ee
pop ecx
pop ecx
test eax, eax
je 0x10068eda
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10068ea7
jmp 0x10068edd
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1005d874
mov esp, ebp
pop ebp
ret 4
Function at 0x100692ea
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x101df735
call fcn.1005d8df
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.10078730
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x10069355
lea eax, [ebp - 0x218]
push eax
call fcn.100802ff
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.100026f0
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.100802ff
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.100042e0
xor ebx, ebx
cmp word [esi], bx
jne 0x1006938f
mov eax, ebx
jmp 0x10069396
push esi
call fcn.100802ff
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.100042e0
mov esi, str..lnk
push esi
call fcn.100802ff
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.100042e0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x100694a4
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.10078730
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.10078730
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.100802dd
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.100679f5
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.10078730
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.100802ff
pop ecx
test eax, eax
jne 0x10069492
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.100802dd
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x100694a4
xor esi, esi
inc esi
jmp 0x100694a6
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.10002630
mov eax, esi
call fcn.1005d89a
ret 4
Function at 0x100694be
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10285294]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x10294f28]
test al, al
jne 0x10069557
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10078730
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1006954e
lea eax, [ebp - 0x20c]
push eax
call fcn.10090dbc
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.10078f22
pop ecx
pop ecx
test eax, eax
jne 0x10069546
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.10078f22
pop ecx
pop ecx
test eax, eax
je 0x1006954e
mov byte [0x10294f28], bl
jmp 0x10069554
mov bl, byte [0x10294f28]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005d874
mov esp, ebp
pop ebp
ret
Function at 0x1006a020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10285294]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.10078730
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1006a08b
lea eax, [ebp - 0x20c]
push 0x1026de1c
push eax
call fcn.100803a6
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.10069565
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d874
mov esp, ebp
pop ebp
ret 4

Function at 0x1006a4e2
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.10054f8a
test al, al
je 0x1006a510
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
call fcn.10054e31
test al, al
je 0x1006a537
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1006abc5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push str.kernel32.dll
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.10055281
test al, al
je 0x1006abf8
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.10054f8a
test al, al
je 0x1006ac20
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.10054da7
test al, al
je 0x1006ac3f
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
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x1006ac4e
xor eax, eax
jmp 0x1006ad18
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push dword [ebx]
call esi
push str.IsWow64Process
push dword [ebx]
mov dword [ebx + 8], eax
call esi
push str.Wow64DisableWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
push str.Wow64RevertWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0x18], eax
call esi
push str.GetSystemWow64DirectoryW
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
push str.advapi32.dll
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
call fcn.10054f8a
test al, al
je 0x1006acc2
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
call fcn.10054e31
test al, al
je 0x1006ace9
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
mov esi, dword [ebp - 4]
cmp dword [esi + 4], 0
je 0x1006ac47
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret