joyce8/EMBER2024-capa huggingface dataset:
Function at 0x715d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x715d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x715d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x715d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x715d94
push eax
push esi
call fcn.0071820b
add esp, 8
pop esi
ret 0x10

Function at 0x715da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x715e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x715e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x72e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00717dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x715dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x715e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x715ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x715eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x72e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00717dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x715eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x715e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x716000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x716131
push esi
call fcn.00719145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00708080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x716131
push 0
push ebp
call fcn.007083a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00708260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x71608b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.007082f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x716121
push 0x72e918
push edi
call fcn.007173f0
push eax
push ebx
push esi
call fcn.00715f60
push 0x72e8f8
push edi
call fcn.007173f0
push eax
push ebx
push esi
call fcn.00715f60
push 0x72e8d8
push edi
call fcn.007173f0
push eax
push ebx
push esi
call fcn.00715f60
push 0x72e8c0
push edi
call fcn.007173f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00715f60
push 0x72e8a0
push edi
call fcn.007173f0
push eax
push ebx
push esi
call fcn.00715f60
push 0x72e888
push edi
call fcn.007173f0
push eax
push ebx
push esi
call fcn.00715f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x7171b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00717140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00717140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00717140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00717140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x717bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x717c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x72987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x717c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x717c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x100128f3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001290d
push 0x947
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x10012924
push 0x220f
push 0xdeb
push 0x1ae8
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
pop ebp
ret
Function at 0x100161be
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100161eb
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100161e9
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x100161f5
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov esp, ebp
pop ebp
ret
Function at 0x100192e6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
jmp 0x10019309
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x38], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x100192fb
mov dword [ebp - 8], ebx
jmp 0x1001931e
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x18], ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x10019314
mov dword [ebp - 0xc], ebx
jmp 0x10019393
mov dword [ebp - 8], 0x33843046
mov dword [ebp - 8], ebx
jmp 0x10019343
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x28], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x10019335
mov dword [ebp - 0x1c], ebx
jmp 0x1001935a
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x38], ebx
jne 0x10019360
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jle 0x1001934e
mov dword [ebp - 8], 0xc
jmp 0x1001938a
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10019387
push 0x5c7
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xc
jge 0x10019369
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffe2
jl 0x10019329
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c963
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001c996
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001c994
push 0x947
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1001c9c6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1001c9c6
push 0x5c7
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x1001d280
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001d2d7
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001d2b0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jg 0x1001d2d5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001d2d3
push 0x1b0e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x1001d2a5
jmp 0x1001d2dd
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esp, ebp
pop ebp
ret

Function at 0x1001d382
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001d397
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1001d3a1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
pop ebp
ret
Function at 0x100298a9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100298cb
push 0
push 0
push 0x152a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x100298e7
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100298e7
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esp, ebp
pop ebp
ret

Function at 0x10029935
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002994c
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x10029970
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x1002b650
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002b667
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1002b67e
push 0x220f
push 0xdeb
push 0x1ae8
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
pop ebp
ret
Function at 0x1002cad5
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002cc0c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push 0x14
push 0
push 0xa50b
push 0xbfa5
call fcn.100239d6
pop ecx
pop ecx
call eax
push eax
push 0xa50b
push 0xc4f7
call fcn.100239d6
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
push 0xb25
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002ba71
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 0x10], 0
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 8]
push dword [eax]
push 0xa50b
push 0xba53
call fcn.100239d6
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x54]
mov eax, dword [ebp - 8]
push dword [eax]
push 0xa50b
push 0xba53
call fcn.100239d6
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push dword [eax]
call fcn.10023b8b
add esp, 0xc
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002bac5
add esp, 0x10
lea eax, [ebp - 8]
push eax
push 0x1022
push 0x6142
push 1
lea eax, [ebp - 4]
push eax
push 0x449d
call fcn.1002bb29
add esp, 0x18
jmp 0x1002cc14
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x1002d0fd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002d121
xor eax, eax
jmp 0x1002d25f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002d13f
xor eax, eax
jmp 0x1002d25f
push dword [ebp - 8]
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.1002b9e6
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x1002d15d
xor eax, eax
jmp 0x1002d25f
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call fcn.1002cad5
add esp, 0x18
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002cc18
add esp, 0x10
push 1
lea eax, [ebp - 8]
push eax
push 0x34a6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002cc7d
add esp, 0x14
cmp dword [ebp - 0x14], 0
je 0x1002d1c2
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002cced
add esp, 0xc
push dword [ebp - 4]
call fcn.1002b8c0
pop ecx
test eax, eax
jne 0x1002d1d6
xor eax, eax
jmp 0x1002d25f
push 0x40cf
push 0
push dword [ebp - 4]
call fcn.10027ae8
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002d247
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002d207
xor eax, eax
jmp 0x1002d25f
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002d220
xor eax, eax
jmp 0x1002d25f
push 0x13dc
push 0x316a
push 0x6540
push 0x13a3
lea eax, [ebp - 4]
push eax
push 1
push 0x3f30
call fcn.1002cd35
add esp, 0x1c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002d258
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002d25c
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10041006
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10041098
mov dword [ebp - 0x10], 0xfffffff6
mov dword [ebp - 0x14], 0x6fe7d8a8
mov dword [ebp - 0x18], 0xe9d05ba7
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0xff40fc02
mov dword [ebp - 0x28], 0x9951ea66
mov dword [ebp - 0x2c], 0xbd2ab60
mov dword [ebp - 0x30], 0xfffffffa
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
jmp 0x1004106e
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x10041081
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x3c], 3
jmp 0x10041067
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3c]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x3c], eax
jmp 0x100410b6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x100410b6
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret

Function at 0x100410ba
Capabilities:
Clear file content
Create process on windows
Write and execute a file

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100410cf
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x100410e9
push 0x5c7
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x100414a4
Capabilities:
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100414bb
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x100414d7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100414d7
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esp, ebp
pop ebp
ret

Function at 0x1004164a
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10041691
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x100416cc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x100416cc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x239c
push 0x7cd
push 0x2641
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov esp, ebp
pop ebp
ret
Function at 0x1007686b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007c38c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10066114
mov dword [ebp - 0x14], eax
cmp dword [0x10669914], esi
jne 0x1007695e
push 0x800
push esi
push 0x10007b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100768eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10076a3e
push esi
push esi
push 0x10007b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10076a3e
push 0x10007b2c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10076a3e
push eax
call ebx
push 0x10007b38
push edi
mov dword [0x10669914], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b48
push edi
mov dword [0x10669918], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007b5c
push edi
mov dword [0x1066991c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10669924], eax
test eax, eax
je 0x1007695b
push 0x10007b78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10669920], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10076983
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10076976
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10076998
push 4
pop eax
jmp 0x10076a40
cmp dword [ebp - 0x14], esi
je 0x10076998
push dword [0x10669914]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007697d
mov eax, dword [0x10669920]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100769f6
cmp dword [0x10669924], edi
je 0x100769f6
push eax
call ebx
push dword [0x10669924]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100769f6
test eax, eax
je 0x100769f6
call ecx
test eax, eax
je 0x100769eb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100769eb
test byte [ebp - 8], 1
jne 0x100769f6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10076a26
mov eax, dword [0x10669918]
cmp eax, edi
je 0x10076a23
push eax
call ebx
test eax, eax
je 0x10076a23
call eax
mov esi, eax
test esi, esi
je 0x10076a23
mov eax, dword [0x1066991c]
cmp eax, edi
je 0x10076a23
push eax
call ebx
test eax, eax
je 0x10076a23
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10669914]
call ebx
test eax, eax
je 0x10076a3e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10076a40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10061fd5
mov esp, ebp
pop ebp
ret