joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7f2f0afe
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
push esi
push edi
je 0x7f2f0b21
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
jmp 0x7f2f0bc0
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x7f2f0b37
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2f0bc0
mov eax, dword [esi]
imul eax, dword [0x7f30b088]
push eax
mov dword [ebp + 0xc], eax
call fcn.7f2d55af
test eax, eax
mov edi, dword [ebp + 0xc]
je 0x7f2f0b63
cmp edi, ebx
je 0x7f2f0b63
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
test edi, edi
jbe 0x7f2f0b6b
test ebx, ebx
je 0x7f2f0b30
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x7f2f0bbe
cmp dword [ebp + 8], eax
je 0x7f2f0bbe
cmp dword [ebp + 0xc], eax
je 0x7f2f0bbe
push dword [esi]
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp + 8]
call fcn.7f2daf04
inc eax
pop ecx
mov dword [esi], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x7f2f0e8c
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x7f30bacc], 0
push ebx
push esi
push edi
je 0x7f2f0eae
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x7f2f0f2f
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffff
jbe 0x7f2f0f13
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f0ef3
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f0ef3
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2f0ef5
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2f0f17
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0xc]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x7f2f0f25
cmp dword [ebp + 0xc], 0
je 0x7f2f0f25
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x7f2f0f2f
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x7f2f0f3e
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x7f30bacc], 0
push ebx
push esi
push edi
je 0x7f2f0f5d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x7f2f0fcc
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffff
jbe 0x7f2f0fc2
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f0fa2
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f0fa2
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2f0fa4
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2f0fc2
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0xc]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x7f2f0fdb
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
push esi
push edi
je 0x7f2f1004
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x7f2f1099
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x7f2f101a
push 0x57
pop eax
jmp 0x7f2f1099
mov eax, dword [0x7f30b088]
imul eax, edi
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f1048
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f1048
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
test edi, edi
jbe 0x7f2f105f
test ebx, ebx
jne 0x7f2f105f
push 0x3e9
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2f1099
imul esi, edi
push esi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x7f2f1096
test edi, edi
jbe 0x7f2f1096
mov esi, dword [ebp + 0x10]
push edi
push esi
push 0xffffffffffffffff
push ebx
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and word [esi + edi*2 - 2], 0
mov eax, dword [ebp + 0x14]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x7f2f10a8
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x7f30bacc], edi
je 0x7f2f10e0
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x7f2f1228
mov ebx, dword [ebp + 0x14]
cmp ebx, edi
je 0x7f2f1127
mov eax, dword [ebx]
shl eax, 1
push eax
mov dword [ebp + 0x14], eax
call fcn.7f2d55af
test eax, eax
je 0x7f2f1110
cmp dword [ebp + 0x14], edi
je 0x7f2f1110
mov eax, dword [ebp + 0x14]
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 4], esp
jmp 0x7f2f1113
mov dword [ebp - 4], edi
cmp dword [ebp + 0x14], edi
jbe 0x7f2f112d
cmp dword [ebp - 4], edi
jne 0x7f2f112d
mov eax, 0x3e9
jmp 0x7f2f1228
mov dword [ebp + 0x14], edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x20]
cmp eax, edi
je 0x7f2f116c
mov eax, dword [eax]
shl eax, 1
push eax
mov dword [ebp - 0xc], eax
call fcn.7f2d55af
test eax, eax
je 0x7f2f115d
cmp dword [ebp - 0xc], edi
je 0x7f2f115d
mov eax, dword [ebp - 0xc]
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 8], esp
jmp 0x7f2f1160
mov dword [ebp - 8], edi
cmp dword [ebp - 0xc], edi
jbe 0x7f2f1172
cmp dword [ebp - 8], edi
jne 0x7f2f1172
jmp 0x7f2f111d
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
push dword [ebp + 0x24]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
lea eax, [ebp + 0x14]
push dword [ebp + 0x18]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, edi
mov dword [ebp + 0x24], eax
jne 0x7f2f1225
cmp dword [ebp + 0x10], edi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
je 0x7f2f11dc
cmp ebx, edi
je 0x7f2f11e2
push dword [ebx]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [ebp - 4]
push edi
push dword [0x7f30bac8]
call esi
cmp dword [ebp + 0x14], edi
je 0x7f2f11cf
cmp eax, edi
jne 0x7f2f11d3
mov dword [ebp + 0x24], 0x6f
cmp eax, edi
je 0x7f2f11d6
dec eax
jmp 0x7f2f11d8
xor eax, eax
mov dword [ebx], eax
jmp 0x7f2f11e2
cmp ebx, edi
je 0x7f2f11e2
mov dword [ebx], edi
cmp dword [ebp + 0x1c], edi
je 0x7f2f121c
mov ebx, dword [ebp + 0x20]
cmp ebx, edi
je 0x7f2f1225
push dword [ebx]
push dword [ebp + 0x1c]
push 0xffffffffffffffff
push dword [ebp - 8]
push edi
push dword [0x7f30bac8]
call esi
cmp dword [ebp + 0x14], edi
je 0x7f2f1211
cmp eax, edi
jne 0x7f2f1215
mov dword [ebp + 0x24], 0x6f
cmp eax, edi
je 0x7f2f1218
lea edi, [eax - 1]
mov dword [ebx], edi
jmp 0x7f2f1225
mov eax, dword [ebp + 0x20]
cmp eax, edi
je 0x7f2f1225
mov dword [eax], edi
mov eax, dword [ebp + 0x24]
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x7f2f17c5
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x7f30bacc], 0
je 0x7f2f17da
pop ebp
jmp dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push esi
push dword [ebp + 0x34]
mov esi, dword [ebp + 0x2c]
push dword [ebp + 0x30]
push esi
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test esi, esi
je 0x7f2f180c
shl dword [esi], 1
pop esi
pop ebp
ret 0x30
Function at 0x7f2f1a95
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x7f30bacc], 0
push ebx
push esi
push edi
je 0x7f2f1abe
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
jmp 0x7f2f1bcd
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x7f2f1acd
push 0x57
pop eax
jmp 0x7f2f1bcd
mov eax, dword [eax]
imul eax, dword [0x7f30b088]
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffff
mov dword [ebp - 4], eax
jbe 0x7f2f1b41
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f1b1e
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f1b1e
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2f1b20
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2f1b3e
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0xc]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 4]
push eax
call fcn.7f2d55af
xor esi, esi
test eax, eax
je 0x7f2f1b62
cmp dword [ebp - 4], esi
je 0x7f2f1b62
mov eax, dword [ebp - 4]
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov esi, esp
cmp dword [ebp - 4], 0
jle 0x7f2f1b6c
test esi, esi
je 0x7f2f1b75
test ebx, ebx
jne 0x7f2f1b7c
cmp dword [ebp + 0xc], ebx
je 0x7f2f1b7c
mov eax, 0x3e9
jmp 0x7f2f1bcd
lea eax, [ebp - 4]
push eax
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, eax
test edi, edi
jne 0x7f2f1bcb
test ebx, ebx
jne 0x7f2f1ba1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
add eax, eax
mov dword [ecx], eax
jmp 0x7f2f1bcb
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
shr eax, 1
push eax
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push 0
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x7f2f1bc7
mov eax, dword [ebp - 4]
push 0x7a
pop edi
add eax, eax
mov dword [ebx], eax
mov eax, edi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x7f2f1bdc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor eax, eax
cmp dword [0x7f30bacc], eax
push esi
push edi
je 0x7f2f1c0d
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x7f2f1d6f
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffff
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
jbe 0x7f2f1c78
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f1c58
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f1c58
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2f1c5a
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2f1c7c
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0xc]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x7f2f1c8c
cmp dword [ebp + 0xc], 0
je 0x7f2f1c8c
mov eax, 0x3e9
jmp 0x7f2f1d6f
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
cmp eax, edi
je 0x7f2f1cb6
mov dword [eax], ecx
cmp dword [ebp + 0xc], edi
jne 0x7f2f1d6c
cmp dword [ebp + 0x1c], edi
je 0x7f2f1d6c
cmp ecx, edi
jbe 0x7f2f1d59
cmp ecx, 2
jbe 0x7f2f1cda
cmp ecx, 7
jne 0x7f2f1d59
push dword [ebp - 4]
call fcn.7f2d55af
test eax, eax
je 0x7f2f1cfa
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x7f2f1cfa
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov edi, esp
cmp dword [ebp - 4], 0
jbe 0x7f2f1d08
test edi, edi
je 0x7f2f1c82
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx]
lea esi, [ecx + ecx]
cmp esi, eax
jbe 0x7f2f1d39
test eax, eax
je 0x7f2f1d55
mov dword [ebp + 0xc], 0xea
jmp 0x7f2f1d55
cmp dword [ebp + 0x18], 0
je 0x7f2f1d55
shr eax, 1
push eax
push dword [ebp + 0x18]
push ecx
push edi
push 0
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebx], esi
jmp 0x7f2f1d6c
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call esi
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x7f2f20c3
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
push esi
push edi
je 0x7f2f20f0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
jmp 0x7f2f21f2
mov eax, dword [ebp + 0xc]
cmp eax, 0xffff
jbe 0x7f2f2159
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f2135
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f2135
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 4], esp
jmp 0x7f2f2138
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x7f2f2161
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp - 4]
push edi
push dword [ebp + 0xc]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f215c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jne 0x7f2f2170
cmp dword [ebp + 0xc], ebx
je 0x7f2f2170
mov eax, 0x3e9
jmp 0x7f2f21f2
mov ebx, dword [ebp + 0x14]
cmp ebx, 0xffff
jbe 0x7f2f21d5
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f21b5
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f21b5
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2f21b7
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2f21d9
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0x14]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x7f2f21df
cmp dword [ebp + 0x14], 0
jne 0x7f2f2166
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x7f2f2201
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
push esi
push edi
je 0x7f2f2231
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x7f2f2361
mov eax, dword [ebp + 0xc]
cmp eax, 0xffff
jbe 0x7f2f229a
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f2276
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f2276
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 4], esp
jmp 0x7f2f2279
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x7f2f22a2
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp - 4]
push edi
push dword [ebp + 0xc]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f229d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jne 0x7f2f22b1
cmp dword [ebp + 0xc], ebx
je 0x7f2f22b1
mov eax, 0x3e9
jmp 0x7f2f2361
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jbe 0x7f2f234b
cmp eax, 2
jbe 0x7f2f22ca
cmp eax, 7
jne 0x7f2f234b
cmp dword [ebp + 0x18], 0xffff
jbe 0x7f2f2346
cmp eax, 7
push dword [ebp + 0x18]
jne 0x7f2f22e2
call fcn.7f2d41e3
jmp 0x7f2f22e8
call fcn.7f2daf04
pop ecx
mov edi, eax
inc edi
lea ebx, [edi + 1]
mov eax, ebx
imul eax, dword [0x7f30b088]
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f231f
mov eax, ebx
imul eax, esi
test eax, eax
je 0x7f2f231f
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2f2321
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2f22a7
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0x18]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push ebx
push dword [ebp + 0x14]
jmp 0x7f2f2352
push 0x57
pop eax
jmp 0x7f2f2361
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x7f2f3fe2
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
push esi
push edi
je 0x7f2f4008
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.MPR.dll_WNetAddConnectionW
jmp 0x7f2f4152
mov eax, dword [ebp + 8]
cmp eax, 0xffff
jbe 0x7f2f4071
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f404d
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f404d
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 4], esp
jmp 0x7f2f4050
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x7f2f4074
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp - 4]
push edi
push dword [ebp + 8]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f4074
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffff
jbe 0x7f2f40dd
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f40b9
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f40b9
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp + 8], esp
jmp 0x7f2f40bc
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x7f2f40e0
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f40e0
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 0xffff
jbe 0x7f2f4143
push dword [ebp + 0x10]
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f4123
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2f4123
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
xor eax, eax
cmp ebx, eax
je 0x7f2f4146
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 0x10]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2f4146
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call sub.MPR.dll_WNetAddConnectionA
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7f2f726a
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x7f30bacc], 0
push ebx
push esi
push edi
je 0x7f2f7291
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
jmp 0x7f2f733e
cmp dword [ebp + 0x10], 0x20c
ja 0x7f2f72a9
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2f733e
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff
jbe 0x7f2f730e
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2f72ee
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2f72ee
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2f72f0
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2f7312
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 8]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test ebx, ebx
jne 0x7f2f7318
cmp dword [ebp + 8], 0
jne 0x7f2f72a2
mov eax, dword [ebp + 0x14]
or word [eax], 0xffff
or word [eax + 2], 0xffff
add eax, 0x20c
push eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffdf4
push eax
push dword [ebp + 0xc]
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x7f2f8f60
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
cmp dword [0x7f30bacc], 0
mov eax, dword [0x7f30b094]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
je 0x7f2f8fc1
mov eax, dword [0x7f30ba8c]
test eax, eax
jne 0x7f2f8fa0
push 0x7f2d34e0
call fcn.7f2d458a
test eax, eax
mov dword [0x7f30ba8c], eax
je 0x7f2f8fb2
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push ebx
call eax
jmp 0x7f2f90df
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2f90df
push edi
push 0x58
xor eax, eax
test esi, esi
pop ecx
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
je 0x7f2f8fdc
mov eax, dword [esi + 8]
mov dword [ebp - 0x260], eax
test byte [ebp + 0x18], 8
mov edi, 0x104
jne 0x7f2f9040
cmp ebx, 0xffff
jbe 0x7f2f9031
push ebx
call fcn.7f2daf04
cmp eax, edi
pop ecx
ja 0x7f2f9031
xor eax, eax
push eax
push eax
push edi
lea ecx, [ebp - 0x108]
push ecx
push 0xffffffffffffffff
push ebx
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 0x18]
lea eax, [ebp - 0x268]
push 0x160
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
jmp 0x7f2f9053
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2f90de
push dword [ebp + 0x18]
lea eax, [ebp - 0x268]
push 0x160
push eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
mov dword [ebp - 0x26c], eax
je 0x7f2f90d8
test esi, esi
je 0x7f2f90d8
test byte [ebp + 0x19], 0x12
mov eax, dword [ebp - 0x268]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esi], eax
mov eax, dword [ebp - 0x264]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x260]
mov dword [esi + 8], eax
je 0x7f2f90a7
push edi
lea eax, [esi + 0xc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x25c]
push eax
push 0
push dword [0x7f30bac8]
call ebx
jmp 0x7f2f90ac
and word [esi + 0xc], 0
test byte [ebp + 0x19], 4
je 0x7f2f90d0
push 0x50
add esi, 0x214
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x158]
push eax
push 0
push dword [0x7f30bac8]
call ebx
jmp 0x7f2f90d8
and word [esi + 0x214], 0
mov eax, dword [ebp - 0x26c]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.7f2fed53
leave
ret 0x14

Function at 0x7f2fe6fd
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x7f30bacc], 0
je 0x7f2fe731
mov eax, dword [0x7f30ba1c]
test eax, eax
jne 0x7f2fe727
push 0x7f2d36d4
call fcn.7f2d4139
test eax, eax
mov dword [0x7f30ba1c], eax
je 0x7f2fe72a
pop ebp
jmp eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
pop ebp
jmp sym.unicows.dll_GetWindowsDirectoryW