joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a26a9
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0xffffffff
je 0x100a271d
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100a271d
push esi
push 0x48
push 0
push ebx
call fcn.1012db70
add esp, 0xc
lea eax, [ebx + 8]
push eax
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test byte [ebp + 0x10], 1
mov esi, eax
jne 0x100a270a
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x100a270a
lea eax, [eax*2 + 2]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [ebx], eax
test eax, eax
je 0x100a270a
push dword [edi + 0x10]
push eax
call fcn.101401ce
pop ecx
pop ecx
neg esi
sbb esi, esi
and esi, 0x7fffbffb
lea eax, [esi - 0x7fffbffb]
pop esi
jmp 0x100a2722
mov eax, 0x80004005
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x100a61e5
Capabilities:
Get common file path

Disassembly:
push 0x41c
mov eax, 0x1014e6a3
call fcn.1012b6ae
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov edi, 0x208
mov dword [ebp - 0x428], esi
xor ebx, ebx
push edi
push ebx
push eax
mov dword [ebp - 0x424], ebx
call fcn.1012db70
push edi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.1012db70
mov eax, dword [ebp + 0xc]
add esp, 0x18
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jne 0x100a6247
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x100a6268
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.10019f19
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.1004c167
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
push ebx
push str.360pkg_
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.100088c7
mov dword [ebp - 4], ebx
mov dword [ebp - 0x424], 1
mov eax, esi
call fcn.1012b658
ret 8

Function at 0x100a6551
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0x208
push ebx
push eax
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], ebx
call fcn.1012db70
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jne 0x100a65c3
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x100a65d7
push 3
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.100a764b
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x214]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x210]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret 4
Function at 0x10108e57
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.AVEI.dll
mov edi, ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x208
mov ebx, eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
test ebx, ebx
je 0x10108ee0
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10108f12
lea eax, [ebp - 0x20c]
lea esi, [edi + 0x20]
push eax
mov ecx, esi
call fcn.1004134e
push str..._shft.def
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x10108f01
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._ave_shft.def
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea esi, [edi + 0x20]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.100412fd
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret

Function at 0x1010b5ab
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push dword [edi + 0x34]
call fcn.10130fe5
xor esi, esi
pop ecx
test eax, eax
je 0x1010b5f2
mov eax, dword [edi + 0x18]
mov dword [edi + 8], esi
test eax, eax
je 0x1010b5e6
push esi
push dword [edi + 0x34]
call eax
mov dword [edi + 8], eax
mov esi, eax
xor eax, eax
test esi, esi
setne al
jmp 0x1010b693
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1012db70
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...Section
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1010b691
lea eax, [ebp - 0x20c]
push eax
call fcn.1004fc32
pop ecx
test eax, eax
je 0x1010b653
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1010b676
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1010b691
mov eax, dword [edi + 0x18]
mov dword [edi + 8], esi
test eax, eax
je 0x1010b5e6
push esi
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x1010b5df
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret
Function at 0x1010bece
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp esi, 0xffffffff
je 0x1010bee4
cmp esi, 0xffff
jne 0x1010bee6
mov esi, eax
cmp esi, 0x8000
jl 0x1010bf12
mov edx, dword [0x1024ab40]
test edx, edx
jle 0x1010bf08
mov ecx, dword [0x1024ab44]
cmp dword [ecx + eax*8], esi
je 0x1010bf0c
inc eax
cmp eax, edx
jl 0x1010befe
xor eax, eax
jmp 0x1010bf37
mov eax, dword [ecx + eax*8 + 4]
jmp 0x1010bf37
cmp esi, 0x37
jle 0x1010bf1e
pop esi
pop ebp
jmp fcn.1010c10d
mov eax, dword [esi*4 + 0x1024ab48]
test eax, eax
jne 0x1010bf37
push esi
call fcn.1010bf3a
pop ecx
mov dword [esi*4 + 0x1024ab48], eax
pop esi
pop ebp
ret

Function at 0x1010bf3a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
cmp eax, 0x15
jg 0x1010c044
je 0x1010c02a
sub eax, 0
je 0x1010c023
sub eax, 0xa
je 0x1010c0b7
sub eax, 1
je 0x1010c00c
sub eax, 1
je 0x1010bfe2
sub eax, 5
je 0x1010bfc8
sub eax, 1
je 0x1010bfae
dec eax
sub eax, 1
jne 0x1010c093
mov esi, 0x104
lea eax, [ebp - 0x22c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str._fonts
jmp 0x1010bffa
mov esi, 0x104
lea eax, [ebp - 0x22c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.help
jmp 0x1010bffa
mov esi, 0x104
lea eax, [ebp - 0x22c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.inf
jmp 0x1010bffa
mov esi, 0x104
lea eax, [ebp - 0x22c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.drivers
push esi
lea eax, [ebp - 0x22c]
push eax
call fcn.100552d1
jmp 0x1010c0c9
push 0x104
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x1010c0c9
mov eax, 0x101af070
jmp 0x1010c069
mov esi, 0x104
lea eax, [ebp - 0x22c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._viewers
jmp 0x1010bffa
cmp eax, 0x18
je 0x1010c064
cmp eax, 0x19
je 0x1010c0b7
cmp eax, 0x1e
je 0x1010c064
cmp eax, 0x32
je 0x1010c09a
jle 0x1010c093
cmp eax, 0x34
jle 0x1010c076
cmp eax, 0x36
jne 0x1010c093
mov eax, 0x101af074
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1012b632
leave
ret
mov esi, 0x104
lea eax, [ebp - 0x22c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str._spool
jmp 0x1010bffa
call fcn.1010c10d
jmp 0x1010c069
mov esi, 0x104
lea eax, [ebp - 0x22c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str._system
jmp 0x1010bffa
push 0x104
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push edi
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*2 + 2]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1010c105
push edi
lea eax, [ebp - 0x22c]
push eax
push esi
call fcn.1012d5f0
add esp, 0xc
mov eax, esi
pop edi
jmp 0x1010c069
Function at 0x1010c10d
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [0x1024ac28]
test esi, esi
jne 0x1010c16d
push str.unknown
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add esi, eax
lea eax, [esi + esi]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [0x1024ac28], eax
test eax, eax
jne 0x1010c14f
pop esi
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [0x1024ac28]
push str.unknown
push 0x104
push esi
call fcn.100552d1
mov eax, esi
pop esi
ret
Function at 0x1011f831
Capabilities:
Check if file exists

Disassembly:
push 0x214
mov eax, 0x1017cb64
call fcn.1012b6ae
mov esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], esi
call fcn.10008950
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
call fcn.10008950
mov byte [ebp - 4], 1
lea ecx, [esi + 0x10]
mov dword [esi + 8], 1
mov dword [esi + 0xc], edi
call fcn.10008950
mov byte [ebp - 4], 2
lea eax, [esi + 0x2c]
push eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1024b9f8]
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str....._safemonUDiskScanEngine.dll
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1011f90d
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1024b9f8]
call edi
push str...UDiskScanEngine.dll
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.10130fe5
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x10]
call fcn.10008f20
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.1012b658
ret

Function at 0x1011fe4c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x20a
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x41c]
push ebx
push eax
call fcn.1012db70
push 0x20a
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1012db70
add esp, 0x18
lea eax, [ebp - 0x210]
mov ecx, 0x105
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1011fedb
cmp word [ebp - 0x210], bx
je 0x1011fedb
mov bl, 1
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b632
leave
ret 4
Function at 0x101230bc
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
lea ecx, [ebp - 4]
mov dword [ebp - 0x14], ebx
mov esi, 0xc0000023
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
push 0x40
pop eax
test ecx, ecx
jns 0x101230e4
mov eax, 0x240
mov edi, dword [ebp + 0x1c]
shl edi, 9
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
cmp edi, dword [ebp + 0x10]
ja 0x1012316e
push 0x60
push 3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x12019f
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntdll.dll_ZwOpenFile]
mov esi, eax
test esi, esi
js 0x1012316e
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
shld ecx, eax, 9
push ebx
shl eax, 9
test byte [ebp + 0x20], 2
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov dword [ebp - 8], ecx
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
je 0x1012315d
call dword [sym.imp.ntdll.dll_ZwWriteFile]
jmp 0x10123163
call dword [sym.imp.ntdll.dll_ZwReadFile]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ntdll.dll_ZwClose]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x10123873
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0xc
push ebx
push eax
call fcn.1012db70
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
push ebx
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push esi
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.1012b632
leave
ret
Function at 0x10125ffd
Capabilities:
Encode data using xor

Disassembly:
push 0x20
mov eax, 0x1017d7b2
call fcn.1012b67a
mov esi, ecx
xor eax, eax
xor ebx, ebx
and dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
and dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x1012607c
push 0x1024c714
push dword [esi + 0x6c]
call fcn.1012b9b2
mov dword [ebp + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x101260a1
push edi
call fcn.1012b7b2
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov edi, dword [esi + 0x6c]
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x10126091
and dword [ebp + 0xc], ebx
mov edx, dword [esi + 0x54]
test edi, edi
je 0x101260a1
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx]
add ebx, 4
xor eax, dword [esi + 0x68]
lea edx, [edx + 4]
mov dword [ecx], eax
lea ecx, [ecx + 4]
cmp ebx, dword [esi + 0x6c]
jb 0x10126062
mov ebx, dword [ebp - 0x20]
jmp 0x101260a1
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10125455
mov ebx, eax
test ebx, ebx
jne 0x10126098
xor ebx, ebx
jmp 0x10126159
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
push 0xc
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.10010082
mov esi, 0x80
pop ecx
push esi
push dword [ebp + 0xc]
test eax, eax
je 0x101260c6
call eax
jmp 0x101260cc
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp + 8]
push 8
mov eax, dword [eax]
mov dword [ebp + 8], eax
call fcn.10010082
pop ecx
test eax, eax
je 0x101260f4
xor ecx, ecx
push ecx
push esi
push 2
push ecx
push ecx
push 0x40000000
push dword [ebp + 8]
call eax
jmp 0x1012610a
xor eax, eax
push eax
push esi
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x1012614a
push 0xa
call fcn.10010082
pop ecx
push 0
test eax, eax
je 0x10126133
lea ecx, [ebp - 0x14]
push ecx
push edi
push dword [ebp - 0x10]
push esi
call eax
jmp 0x10126142
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x14], edi
jne 0x1012614a
xor ebx, ebx
inc ebx
mov byte [ebp - 4], 0
test esi, esi
je 0x10126159
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2c]
call fcn.1012b7b2
pop ecx
mov eax, ebx
call fcn.1012b643
ret 8
Function at 0x101261f1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
test ebx, ebx
je 0x101262bb
cmp dword [ebp + 0xc], 0
je 0x101262bb
mov ecx, dword [ebx + 0x58]
cmp ecx, 0x2000
ja 0x101262bb
mov eax, ecx
and eax, 0xfffffe00
cmp eax, ecx
jne 0x101262bb
mov dword [esi + 0x70], ecx
xor edi, edi
mov ecx, esi
call fcn.10125e56
test eax, eax
je 0x101262bb
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x10126262
push 0x1024c714
push dword [ebx + 0x58]
call fcn.1012b9b2
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x5c]
call fcn.1004976c
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x101262b7
push dword [ebx + 0x58]
push edi
push eax
call fcn.1012db70
mov ecx, dword [esi + 0x5c]
add ebx, 0x7c
mov dword [ebp + 8], ebx
add esp, 0xc
mov ebx, dword [esi + 0x70]
test ebx, ebx
je 0x1012629c
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x68]
add edi, 4
xor eax, dword [edx]
lea edx, [edx + 4]
mov dword [ecx], eax
lea ecx, [ecx + 4]
mov ebx, dword [esi + 0x70]
cmp edi, ebx
jb 0x10126282
mov ecx, dword [esi + 0x5c]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x10
push eax
lea eax, [esi + 0x24]
push eax
push ebx
push ecx
call fcn.1004a18a
add esp, 0x10
mov edi, eax
mov eax, edi
jmp 0x101262bd
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x101276a8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x102406a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x114
lea eax, [ebp - 0x118]
push esi
push 0
push eax
call fcn.1012db70
add esp, 0xc
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.1012b632
leave
ret

Function at 0x10128e99
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0
mov eax, 0x10150b77
call fcn.1012b67a
mov esi, ecx
call fcn.10128267
xor ebx, ebx
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x10128ece
cmp eax, 0x80010119
je 0x10128ece
xor al, al
jmp 0x10128f36
lea edi, [esi + 4]
push edi
push 0x101b3e6c
push 1
push ebx
push 0x101b3f3c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10128eca
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.1001de59
mov dword [ebp - 4], ebx
mov edx, dword [edi]
lea edi, [esi + 8]
mov ecx, dword [eax]
push edi
push ebx
mov eax, dword [edx]
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push edx
call dword [eax + 0xc]
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x10128eca
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
setns al
call fcn.1012b643
ret 4
Function at 0x456690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40000]
push edi
jmp 0x4566aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4566b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4566a0
mov eax, 1
add ebx, ebx
jne 0x4566c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4566d4
jne 0x4566f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4566f3
dec eax
add ebx, ebx
jne 0x4566e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4566b8
add ebx, ebx
jne 0x4566ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x456745
xor ecx, ecx
sub eax, 3
jb 0x45670b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45677a
sar eax, 1
mov ebp, eax
jmp 0x456716
add ebx, ebx
jne 0x456716
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4566e4
inc ecx
add ebx, ebx
jne 0x456724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4566e4
add ebx, ebx
jne 0x456731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x456726
jne 0x456742
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x456726
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x456764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x456756
jmp 0x4566a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x456764
add edi, ecx
jmp 0x4566a6
pop esi
mov edi, esi
mov ecx, 0xd15
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x456782
cmp byte [edi], 5
jne 0x456782
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x456787
lea edi, [esi + 0x4f000]
mov eax, dword [edi]
or eax, eax
je 0x4567ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5ebfc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5ece8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4567b4
mov ecx, edi
jns 0x4567e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5ecf0]
or eax, eax
je 0x4567f9
mov dword [ebx], eax
add ebx, 4
jmp 0x4567d1
call dword [esi + 0x5ecec]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x456830
cmp al, 0xef
ja 0x456823
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x456805
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x456812
mov ebp, dword [esi + 0x5ecf4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x456864
sub esp, 0xffffff80
jmp 0x42548c