joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100196ed
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001973c
xor eax, eax
jmp 0x1001980f
push esi
push edi
mov edi, 0x206
push edi
lea eax, [ebp - 0x6e]
push ebx
push eax
mov word [ebp - 0x70], bx
call fcn.10077be0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x1011e03c
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], 0x104
mov dword [ebp - 0x80], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
jne 0x100197f3
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
lea eax, [ebp + 0x19a]
push ebx
push eax
mov word [ebp + 0x198], bx
call fcn.10077be0
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp + 0x198]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x198]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.100780b1
pop ecx
pop ecx
lea eax, [ebp + 0x198]
push eax
call esi
test eax, eax
je 0x1001980d
lea eax, [ebp + 0x198]
push eax
push dword [ebp - 0x78]
call fcn.100780db
pop ecx
pop ecx
jmp 0x1001980a
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call fcn.100780db
pop ecx
pop ecx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x3a4
leave
ret
Function at 0x10019825
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
xor ebx, ebx
push edi
push 0x206
lea eax, [ebp - 0x6a]
push ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x6c], bx
call fcn.10077be0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x1011e120
push SysReAllocString
call esi
test eax, eax
je 0x1001988f
xor eax, eax
jmp 0x10019934
lea eax, [ebp - 0x74]
push eax
push edi
push ebx
push str.shell
push dword [ebp - 0x78]
call esi
test eax, eax
jne 0x10019888
lea eax, [ebp - 0x70]
push eax
push edi
push ebx
push str.opencommand
push dword [ebp - 0x74]
call esi
test eax, eax
jne 0x10019888
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x1011e03c
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 0x104
mov dword [ebp - 0x80], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x74]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x70]
call esi
lea eax, [ebp - 0x6c]
push eax
call fcn.1007863d
mov esi, 0x100f57cc
push esi
push eax
call fcn.10079fe3
add esp, 0xc
cmp eax, ebx
je 0x10019888
lea edi, [eax + 2]
push esi
push edi
call fcn.10079fe3
cmp eax, ebx
pop ecx
pop ecx
je 0x10019888
push edi
mov word [eax], bx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x1a0
leave
ret
Function at 0x1001994c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x1ac]
push ebx
push esi
xor ebx, ebx
push edi
push 0x206
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x66]
push ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x68], bx
call fcn.10077be0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov edi, 0x20019
push edi
push ebx
push str.htmlfile
push SysReAllocString
call esi
test eax, eax
je 0x100199bc
xor eax, eax
jmp 0x10019a38
lea eax, [ebp - 0x70]
push eax
push edi
push ebx
push str.shell
push dword [ebp - 0x78]
call esi
test eax, eax
jne 0x100199b8
lea eax, [ebp - 0x6c]
push eax
push edi
push ebx
push str.opencommand
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x100199b8
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x1011e03c
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], 0x104
mov dword [ebp - 0x80], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x6c]
call esi
lea eax, [ebp - 0x68]
push eax
call fcn.1007863d
push dword [ebp - 0x7c]
push eax
call fcn.10079fe3
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 0x1a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x1a4
leave
ret

Function at 0x10019a75
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push esi
push edi
mov edi, dword [ebp + 0x7b0]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.10077be0
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.10077be0
push edi
lea eax, [ebp - 0x2c]
push 0x100f2dd0
push eax
call fcn.100054f5
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10019af9
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x7a4]
pop edi
xor ecx, ebp
pop esi
call fcn.100773e8
add ebp, 0x7a8
leave
ret
Function at 0x10019b10
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
push esi
push edi
mov edi, dword [ebp + 0x7b4]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.10077be0
push 0x10
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.10077be0
push edi
lea eax, [ebp - 0x28]
push 0x100f2dd0
push eax
call fcn.100054f5
add esp, 0x24
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10019bac
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
mov ecx, dword [ebp + 0x7a8]
pop edi
xor ecx, ebp
pop esi
call fcn.100773e8
add ebp, 0x7ac
leave
ret

Function at 0x10019bc3
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x5c4]
sub esp, 0x644
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x5c0], eax
push ebx
mov ebx, dword [ebp + 0x5cc]
push edi
xor edi, edi
cmp ebx, edi
jne 0x10019bf3
xor eax, eax
jmp 0x10019cba
push esi
mov esi, 0x206
push esi
lea eax, [ebp + 0x3ba]
push edi
push eax
mov word [ebp + 0x3b8], di
call fcn.10077be0
lea eax, [ebp + 0x3b8]
push ebx
push eax
call fcn.100780db
lea eax, [ebp + 0x3b8]
push eax
call fcn.1007ae97
push 0x228
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 0x7c], edi
call fcn.10077be0
add esp, 0x24
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10019cb7
lea eax, [ebp - 0x7c]
push eax
push ebx
mov dword [ebp - 0x7c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10019cac
push esi
lea eax, [ebp + 0x1b2]
push edi
push eax
mov word [ebp + 0x1b0], di
call fcn.10077be0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x1b0]
push eax
call fcn.100780db
lea eax, [ebp + 0x1b0]
push eax
call fcn.1007ae97
push dword [ebp - 0x80]
push eax
call fcn.100782e7
add esp, 0x20
test eax, eax
je 0x10019cd1
lea eax, [ebp - 0x7c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10019c61
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp + 0x5c0]
pop edi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x5c4
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74]
jmp 0x10019cb9
Function at 0x10019e83
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x1a0]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x80], eax
and word [ebp - 0x78], 0
push 0x206
lea eax, [ebp - 0x76]
push 0
push eax
call fcn.10077be0
add esp, 0xc
cmp dword [ebp - 0x7c], 0
lea eax, [ebp - 0x78]
jne 0x10019ef2
push ebx
push str._s.bak
push eax
call fcn.100054f5
add esp, 0xc
jmp 0x10019f04
push dword [ebp - 0x7c]
push ebx
push str._s.bak_d
push eax
call fcn.100054f5
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10019f18
lea eax, [ebp - 0x78]
push eax
call edi
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.1007af00
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
call edi
push 0
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
push 0
lea eax, [ebp - 0x78]
push eax
jne 0x10019f52
call esi
cmp dword [ebp - 0x7c], 0xa
jge 0x10019f5d
inc dword [ebp - 0x7c]
jmp 0x10019ec0
call esi
push 5
push 0
push dword [ebp - 0x80]
call esi
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x194
leave
ret
Function at 0x10019f75
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a8]
sub esp, 0x628
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x5a4], eax
mov eax, dword [ebp + 0x5b4]
push ebx
mov ebx, dword [ebp + 0x5b0]
push esi
push edi
mov edi, 0x206
xor esi, esi
push edi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x196]
push esi
push eax
mov dword [ebp - 0x80], ebx
mov word [ebp + 0x194], si
call fcn.10077be0
push edi
lea eax, [ebp - 0x72]
push esi
push eax
mov word [ebp - 0x74], si
call fcn.10077be0
lea eax, [ebp + 0x194]
push ebx
push eax
call fcn.100780db
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
call fcn.100780db
lea eax, [ebp + 0x194]
push eax
call fcn.1007863d
lea eax, [ebp - 0x74]
push eax
call fcn.1007863d
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.100782e7
add esp, 0x38
test eax, eax
je 0x1001a0d5
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x7c], esi
push edi
lea eax, [ebp + 0x39e]
push esi
push eax
mov word [ebp + 0x39c], si
call fcn.10077be0
add esp, 0xc
cmp dword [ebp - 0x7c], esi
lea eax, [ebp + 0x39c]
jne 0x1001a058
push dword [ebp - 0x78]
push str._s.bak
push eax
call fcn.100054f5
add esp, 0xc
jmp 0x1001a06c
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push str._s.bak_d
push eax
call fcn.100054f5
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a08a
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x39c]
push eax
push dword [ebp - 0x78]
call fcn.1007af00
pop ecx
pop ecx
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
push esi
lea eax, [ebp + 0x39c]
push eax
jne 0x1001a0d3
call ebx
cmp dword [ebp - 0x7c], 0xa
jge 0x1001a0d5
inc dword [ebp - 0x7c]
jmp 0x1001a022
call ebx
mov ecx, dword [ebp + 0x5a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0x5a8
leave
ret
Function at 0x1001a0ed
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push str..del
push edi
call fcn.10079fe3
test eax, eax
pop ecx
pop ecx
je 0x1001a125
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1001a1bc
push esi
xor esi, esi
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.10077be0
add esp, 0xc
test esi, esi
lea eax, [ebp - 0x20c]
jne 0x1001a161
push edi
push str._s.del
push eax
call fcn.100054f5
add esp, 0xc
jmp 0x1001a171
push esi
push edi
push str._s.del_d
push eax
call fcn.100054f5
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a19b
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001a19b
cmp esi, 0xa
jge 0x1001a1bb
inc esi
jmp 0x1001a128
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1007af00
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100773e8
leave
ret
Function at 0x1001a1c9
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push esi
mov esi, dword [ebp + 0x5ac]
push esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a30d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x1001a30c
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.10077be0
push esi
lea eax, [ebp + 0x192]
push edi
push eax
mov word [ebp + 0x190], di
call fcn.10077be0
add esp, 0x18
lea eax, [ebp + 0x190]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call fcn.10019cdd
pop ecx
pop ecx
mov dword [ebp - 0x7c], edi
push esi
lea eax, [ebp + 0x39a]
push edi
push eax
mov word [ebp + 0x398], di
call fcn.10077be0
add esp, 0xc
cmp dword [ebp - 0x7c], edi
lea eax, [ebp - 0x78]
jne 0x1001a29f
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del
push eax
call fcn.100054f5
add esp, 0x10
jmp 0x1001a2be
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del_d
push eax
call fcn.100054f5
add esp, 0x14
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a2ea
lea eax, [ebp + 0x398]
push eax
call ebx
cmp eax, edi
jne 0x1001a2ea
cmp dword [ebp - 0x7c], 0xa
jge 0x1001a30b
inc dword [ebp - 0x7c]
jmp 0x1001a261
lea eax, [ebp + 0x398]
push eax
push dword [ebp - 0x80]
call fcn.1007af00
pop ecx
pop ecx
push 5
push edi
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop ebx
mov ecx, dword [ebp + 0x5a0]
xor ecx, ebp
pop esi
call fcn.100773e8
add ebp, 0x5a4
leave
ret
Function at 0x1001a323
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x90], eax
push esi
mov esi, dword [ebp + 0x9c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001a419
push ebx
push edi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001a380
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea esi, [ebx + 1]
push esi
call fcn.10054d7d
and dword [ebp - 0x80], 0
pop ecx
push 0
lea ecx, [ebp - 0x80]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe
pop ecx
mov esi, str.identifierBegin:abcdefghijklmnopqrstuvwxyz:identifierEnd
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xcb
xor edi, edi
lea eax, [ebp - 0x3b]
push edi
push eax
call fcn.10077be0
lea eax, [ebp - 0x74]
push eax
call fcn.10076de0
add esp, 0x10
cmp ebx, edi
jle 0x1001a406
mov ecx, dword [ebp - 0x78]
add ecx, edi
mov dl, byte [ecx]
cmp dl, byte [ebp - 0x74]
jne 0x1001a401
xor esi, esi
test eax, eax
mov dword [ebp - 0x7c], esi
jle 0x1001a401
mov dl, byte [ecx + esi]
cmp dl, byte [ebp + esi - 0x74]
jne 0x1001a401
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x7c], eax
je 0x1001a42f
inc esi
cmp esi, eax
jl 0x1001a3eb
inc edi
cmp edi, ebx
jl 0x1001a3d6
cmp dword [ebp - 0x78], 0
je 0x1001a415
push dword [ebp - 0x78]
call fcn.10054d78
pop ecx
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
pop esi
call fcn.100773e8
add ebp, 0x94
leave
ret
cmp dword [ebp - 0x78], 0
je 0x1001a43e
push dword [ebp - 0x78]
call fcn.10054d78
pop ecx
xor eax, eax
inc eax
jmp 0x1001a417

Function at 0x1001a443
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x11c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.10077be0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
mov ecx, dword [ebp + 0x9c]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.100773e8
add ebp, 0xa0
leave
ret

Function at 0x1001a49e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x11c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.10077be0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jb 0x1001a4ee
cmp dword [ebp - 0x78], 2
jb 0x1001a4ee
xor eax, eax
inc eax
jmp 0x1001a4f5
cmp dword [ebp - 0x7c], 0xa
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.100773e8
add ebp, 0xa0
leave
ret
Function at 0x1001a559
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1001a56a
xor eax, eax
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1001a567
push esi
push dword [esp + 0xc]
call fcn.10077b72
pop ecx
lea eax, [eax + eax + 0xa]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x1001a597
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esp + 0xc]
push eax
call fcn.100780db
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
neg eax
sbb eax, eax
neg eax
pop esi
ret

Function at 0x1001a5c8
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0xa4], eax
push edi
push 0x114
xor edi, edi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.10077be0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1001a670
cmp dword [ebp - 0x6c], 5
jbe 0x1001a670
push 4
pop eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001a670
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push str.EnableLUA
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001a667
cmp dword [ebp - 0x78], edi
setne al
mov edi, eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xa4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.100773e8
add ebp, 0xa8
leave
ret

Function at 0x1001a8a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.10077b72
test eax, eax
pop ecx
je 0x1001a8fd
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.10077be0
add esp, 0xc
xor ecx, ecx
inc ecx
push ecx
push 0
push 0
mov eax, 0x100f60ac
push esi
push eax
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x1001a8fd
push esi
call fcn.10019a75
pop ecx
pop esi
leave
ret
Function at 0x1001b34d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xfdc]
sub esp, 0xfdc
push 0xffffffffffffffff
push 0x100e89ea
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0xfd8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xfe4]
push 0x7d0
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x100f615c
call fcn.10077b72
pop ecx
lea eax, [ebp + eax*2 + 0x38]
push eax
call fcn.100780db
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.100780b1
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.10077be0
add esp, 0x1c
mov ebx, 0x100f60ac
push esi
lea ecx, [ebp]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], 0x200
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 1
call fcn.10001df0
and dword [ebp - 4], 0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1001b401
lea eax, [ebp + 4]
mov edi, str.http:__
push edi
push eax
call fcn.10079fe3
pop ecx
pop ecx
push 0x1011e03c
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
call fcn.10001df0
cmp dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
jne 0x1001b432
push edi
lea ecx, [ebp + 0x1c]
call fcn.10003cc0
push esi
lea ecx, [ebp + 0x1c]
call fcn.10003cf0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x1001b447
lea eax, [ebp + 0x20]
push 1
xor esi, esi
push esi
push esi
push eax
push ebx
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x1001b465
lea eax, [ebp + 0x38]
push eax
call fcn.10019a75
pop ecx
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.10001fc0
push esi
push 1
lea ecx, [ebp]
call fcn.10001fc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xfd8]
xor ecx, ebp
call fcn.100773e8
add ebp, 0xfdc
leave
ret