joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10341be
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1063194]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x10657b8], edi
jne 0x10342da
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call fcn.010219e0
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x1034225
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x10657b8], edi
pop esi
je 0x10342ad
dec eax
jne 0x10342da
cmp dword [ebp - 0x11c], 5
jne 0x103429a
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x103428e
dec eax
je 0x103427b
dec eax
je 0x1034261
mov dword [0x10657b8], 0x14
jmp 0x10342da
cmp word [ebp - 0xc], 1
jb 0x1034272
mov dword [0x10657b8], 0x10
or dword [0x10657b8], 4
jmp 0x10342da
cmp word [ebp - 0xc], 2
jb 0x1034272
mov dword [0x10657b8], 8
jmp 0x1034272
mov dword [0x10657b8], 4
jmp 0x10342da
cmp dword [ebp - 0x11c], 4
ja 0x10342ec
mov dword [0x10657b8], 2
cmp dword [ebp - 0x11c], 4
jne 0x10342da
cmp dword [ebp - 0x118], edi
je 0x10342d0
cmp dword [ebp - 0x118], 0xa
je 0x10342d0
cmp dword [ebp - 0x118], 0x5a
jne 0x10342da
mov dword [0x10657b8], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x10657b8]
xor ecx, ebp
pop edi
call fcn.01021557
leave
ret
mov dword [0x10657b8], 0x20
jmp 0x10342da

Function at 0x10342fd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1063194]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1034351
push 3
lea eax, [ebp - 0x44]
push 0x1007a30
push eax
call fcn.0102fa18
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.01021557
leave
ret

Function at 0x1034366
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1063194]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x10657bc]
jne 0x1034401
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x1007960
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1034400
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x1007a18
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x1034400
push 3
push dword [esi*8 + 0x10077b0]
lea eax, [ebp - 0xc]
push eax
call fcn.010543e3
add esp, 0xc
test eax, eax
je 0x10343f2
inc esi
cmp esi, 0x1c
jb 0x10343d1
jmp 0x1034400
mov ax, word [esi*8 + 0x10077b4]
mov word [0x10657bc], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x10657bc]
xor ecx, ebp
call fcn.01021557
leave
ret
Function at 0x1035240
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1063194]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x10352aa
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x10352a1
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.01021557
leave
ret

Function at 0x1035328
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1063194]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
mov edi, 0x270f
call fcn.010219e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1035412
cmp dword [ebp - 0x108], 2
jne 0x10353e2
cmp dword [ebp - 0x114], 4
ja 0x103538e
push 2
jmp 0x10353df
cmp dword [ebp - 0x114], 5
jne 0x10353be
cmp dword [ebp - 0x110], 0
jne 0x10353a4
push 3
jmp 0x10353df
cmp dword [ebp - 0x110], 1
jne 0x10353b1
push 4
jmp 0x10353df
cmp dword [ebp - 0x110], 2
jne 0x1035412
push 5
jmp 0x10353df
cmp dword [ebp - 0x114], 6
jne 0x1035412
cmp dword [ebp - 0x110], 0
jne 0x10353d4
push 6
jmp 0x10353df
cmp dword [ebp - 0x110], 1
jne 0x1035412
push 7
pop edi
jmp 0x1035412
cmp dword [ebp - 0x108], 1
jne 0x1035412
cmp dword [ebp - 0x114], 4
jne 0x1035412
cmp dword [ebp - 0x110], 0
je 0x103540f
cmp dword [ebp - 0x110], 0xa
je 0x103540f
cmp dword [ebp - 0x110], 0x5a
jne 0x1035412
xor edi, edi
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.01021557
leave
ret

Function at 0x1035522
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x103553b
xor al, al
jmp 0x1035540
shr eax, 4
and al, 1
pop ebp
ret 4

Function at 0x1035549
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1035562
xor al, al
jmp 0x1035569
shr eax, 4
not al
and al, 1
pop ebp
ret 4

Function at 0x1035572
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x103558f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1035595
shr eax, 3
and eax, 2
pop ebp
ret 4
Function at 0x103559e
Capabilities:
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1063194]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x80
push dword [esi]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x103561c
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x20c]
push ecx
xor ebx, ebx
push ebx
push 0x100a654
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1035614
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x20c]
push ecx
push eax
call edi
test eax, eax
je 0x1035614
push 4
push ebx
lea eax, [ebp - 0x20c]
push eax
jmp 0x1035619
push 4
push ebx
push dword [esi]
call edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.01021557
leave
ret 4
Function at 0x1035f52
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
mov ebx, 0x100a670
cmp edi, esi
je 0x1035ff2
push edi
call fcn.01021488
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x1035ff2
push eax
push edi
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1035fe4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x1001678
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1035fe4
cmp dword [ebp + 0xc], esi
je 0x1035fe4
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
call fcn.01015a11
add esp, 0x18
mov dword [ebp - 4], 1
push dword [ebp - 0xc]
call fcn.010213a1
pop ecx
cmp dword [ebp - 4], esi
jne 0x1036007
cmp dword [ebp + 0xc], esi
je 0x1036007
push esi
push esi
push esi
push esi
push ebx
push dword [ebp + 0xc]
call fcn.01015a11
add esp, 0x18
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10364e8
Capabilities:
Copy file

Disassembly:
push 0x14
mov eax, 0x1055ef3
call fcn.01021eb9
lea ecx, [ebp - 0x1c]
call fcn.010151da
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.010151da
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.010151da
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.010151da
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.010151da
mov byte [ebp - 4], 4
cmp dword [ebp + 0x14], ebx
jne 0x103657b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.01015174
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.01015174
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01015174
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.01015174
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.01015174
xor eax, eax
call fcn.01021fa5
ret 0x10
mov ecx, dword [ebp + 0x14]
call fcn.01014fc6
mov esi, dword [ebp + 8]
push esi
call fcn.01035549
test al, al
jne 0x103659a
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1036536
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.010362dd
test eax, eax
je 0x1036536
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.010360f6
test al, al
je 0x1036536
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
jne 0x10365e1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.01036032
test al, al
jne 0x10365ea
jmp 0x1036536
push eax
lea ecx, [ebp - 0x14]
call fcn.01015959
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.010360f6
test al, al
je 0x1036536
lea eax, [ebp - 0x10]
push eax
call fcn.01035549
test al, al
jne 0x1036675
push dword [ebp - 0x10]
call fcn.0105287b
test eax, eax
jne 0x1036536
mov eax, dword [esi]
push ebx
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1036675
xor esi, esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.01015174
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.01015174
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01015174
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.01015174
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.01015174
mov eax, esi
jmp 0x1036573
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.01015959
xor esi, esi
inc esi
jmp 0x1036633
Function at 0x1037003
Capabilities:
Delete registry key

Disassembly:
push 0x10
mov eax, 0x105604c
call fcn.01021eb9
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
call fcn.010151da
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x1037042
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01015174
mov eax, esi
call fcn.01021fa5
ret 4
mov ebx, 0x100a718
push ebx
lea ecx, [ebp - 0x1c]
call fcn.010161a7
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
call fcn.010360f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.01015174
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x10370cd
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
push ebx
push edi
call esi
test eax, eax
jne 0x10370d4
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x10370c2
mov dword [ebp - 0x18], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10370d4
mov dword [ebp - 0x18], 1
mov esi, dword [ebp - 0x18]
jmp 0x103702c
Function at 0x10371a4
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x10560cc
call fcn.01021eb9
lea ecx, [ebp - 0x10]
call fcn.010151da
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
call fcn.010151f2
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
call fcn.01036735
test eax, eax
je 0x10371f6
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01015174
mov al, bl
jmp 0x10373a4
lea eax, [ebp - 0x10]
push eax
call fcn.01035522
test al, al
je 0x1037207
mov bl, 1
jmp 0x10371e3
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.0101c247
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
push 3
pop edi
cmp ecx, edi
jl 0x10372a8
test ecx, ecx
jge 0x1037234
push 0x80070057
call fcn.01014415
movzx eax, word [eax]
push eax
call fcn.0102d7aa
pop ecx
push 0x5c
test eax, eax
mov eax, dword [ebp - 0x10]
pop ebx
je 0x1037268
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jl 0x103722a
movzx edx, word [eax + 2]
cmp dx, 0x3a
jne 0x1037268
cmp ecx, 2
jl 0x103722a
movzx ecx, word [eax + 4]
cmp cx, bx
je 0x10372b9
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x103722a
movzx ecx, word [eax]
cmp cx, bx
jne 0x10372a8
cmp edx, 1
jl 0x103722a
movzx eax, word [eax + 2]
cmp ax, bx
jne 0x10372a8
push 2
push ebx
lea ecx, [ebp - 0x10]
call fcn.01035c28
test eax, eax
jl 0x10372a8
inc eax
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.01035c28
mov edi, eax
test edi, edi
jl 0x10372a8
inc edi
jns 0x10372b9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.01014ab9
jmp 0x1037203
push ebx
lea ecx, [ebp - 0x10]
call fcn.010358a2
mov esi, eax
cmp esi, edi
jg 0x10372cc
mov esi, edi
jmp 0x10372cd
inc esi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.01035e50
mov byte [ebp - 4], 3
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.01037176
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.01015174
cmp esi, edi
jle 0x103732c
dec esi
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0101abf3
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.01015959
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01015174
lea eax, [ebp - 0x10]
push eax
call fcn.01035522
test al, al
je 0x10372b9
xor esi, esi
cmp dword [ebp - 0x24], esi
je 0x10372a8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x103738a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.010151f2
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0105038c
push eax
lea eax, [ebp + 8]
push eax
call fcn.010360f6
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10373ac
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.01015174
cmp dword [ebp - 0x14], esi
jne 0x1037341
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.01014ab9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01015174
mov al, 1
call fcn.01021fa5
ret 4
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.01015174
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.01014ab9
jmp 0x10371e1
Function at 0x103743c
Capabilities:
Copy file

Disassembly:
push 0xc
mov eax, 0x1056114
call fcn.01021eb9
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.010151da
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.010151da
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
call fcn.01035549
test al, al
jne 0x10374b6
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.01015174
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.01015174
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01015174
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01015174
xor eax, eax
call fcn.01021fa5
ret 0xc
lea eax, [ebp + 0xc]
push eax
call fcn.010371a4
test al, al
je 0x103747c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.010362dd
test eax, eax
je 0x103747c
push 0x2e
lea ecx, [ebp + 8]
call fcn.010358a2
cmp eax, 0xffffffff
je 0x103747c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.01035c63
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.010155f6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.010360f6
test al, al
jne 0x1037531
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.01015174
jmp 0x103747c
lea eax, [ebp - 0x10]
push eax
call fcn.01035549
test al, al
jne 0x10375a0
push dword [ebp - 0x10]
call fcn.0105287b
test eax, eax
jne 0x1037520
xor esi, esi
push esi
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10375a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.01015174
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.01015174
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.01015174
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01015174
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01015174
mov eax, esi
jmp 0x10374ae
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.01015959
xor esi, esi
inc esi
jmp 0x103755d
Function at 0x103b130
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0
mov eax, 0x1056866
call fcn.01021eb9
mov esi, ecx
and dword [ebp - 4], 0
call fcn.0103aedf
test eax, eax
jne 0x103b163
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.01015174
mov eax, esi
call fcn.01021fa5
ret 8
push 0x100cba8
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
je 0x103b1a7
push 0x100cb80
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
je 0x103b1a7
push 0x100ac9c
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
je 0x103b1a7
push 0x100cb4c
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
jne 0x103b14b
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 8], 0
jne 0x103b1c7
lea ecx, [ebp + 8]
call fcn.01015002
push eax
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor esi, esi
inc esi
jmp 0x103b14d
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
call fcn.01035d59
mov edi, eax
test edi, edi
je 0x103b14b
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push edi
push 7
push 0
lea ecx, [ebp + 8]
call fcn.0101f639
push eax
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call fcn.01021189
xor eax, eax
test esi, esi
sete al
pop ecx
mov esi, eax
jmp 0x103b14d
Function at 0x103b26c
Capabilities:
Copy file
Set file attributes

Disassembly:
push 4
mov eax, 0x105689e
call fcn.01021eb9
mov esi, ecx
mov dword [ebp - 4], 1
xor edi, edi
cmp dword [esi + 0x14], edi
jne 0x103b2ac
mov esi, 0x10a
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01015174
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01015174
mov eax, esi
jmp 0x103b3c4
lea ecx, [ebp - 0x10]
call fcn.010151da
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x103b39d
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], edi
je 0x103b39d
lea eax, [ebp + 8]
push eax
call fcn.01035549
test al, al
jne 0x103b2ee
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01015174
push 2
pop esi
jmp 0x103b28d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
add esi, 8
push esi
call fcn.010360f6
push dword [ebp - 0x10]
call fcn.0105287b
mov esi, eax
cmp esi, edi
je 0x103b31e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01015174
jmp 0x103b28d
push edi
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x103b375
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
cmp ebx, 5
jne 0x103b362
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push dword [ebp - 0x10]
push dword [ebp + 8]
call edi
test eax, eax
jne 0x103b375
call esi
mov esi, eax
jmp 0x103b30d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01015174
mov esi, ebx
jmp 0x103b28d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01015174
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01015174
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01015174
xor eax, eax
jmp 0x103b3c4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01015174
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01015174
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01015174
push 0x57
pop eax
call fcn.01021fa5
ret 8
Function at 0x103b4d5
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x105689e
call fcn.01021eb9
mov esi, ecx
mov dword [ebp - 4], 1
call fcn.0103aedf
test eax, eax
jne 0x103b512
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01015174
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01015174
xor eax, eax
jmp 0x103b608
mov edi, 0x10039fc
push edi
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
jne 0x103b568
lea ecx, [ebp - 0x10]
call fcn.010151da
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [esi + 8]
push eax
call fcn.010360f6
lea eax, [ebp - 0x10]
push eax
call fcn.01035549
test al, al
jne 0x103b55c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01015174
jmp 0x103b4f3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01015174
push edi
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
je 0x103b5bd
push 0x100cc04
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
je 0x103b5bd
push 0x100cbe0
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
je 0x103b5bd
push 0x100a6dc
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
je 0x103b5bd
push 0x100cbbc
lea ecx, [ebp + 8]
call fcn.0101492b
test eax, eax
jne 0x103b4f3
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0xc]
call fcn.0101f639
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.0101f639
push eax
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.01015174
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.01015174
mov eax, esi
call fcn.01021fa5
ret 8