joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480e60
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2d10
call fcn.0051d7f0
mov eax, dword [esp + 0x2d14]
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
je 0x480ff3
mov esi, dword [esp + 0x2d20]
cmp esi, ebp
je 0x480ff3
push ebx
push edi
xor edi, edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
push edi
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x200
push eax
call fcn.0042e050
add esp, 0x10
lea ecx, [esp + 0x28]
push ebp
push ebp
push 3
push ebp
push 3
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x480fd6
xor edx, edx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x610]
mov dword [esp + 0x18], edx
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
push eax
lea ecx, [esp + 0x618]
mov dword [esp + 0x28], edx
push 0x2710
push ecx
lea edx, [esp + 0x28]
push 0xc
push edx
push 0x2d1400
push ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x480fc5
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x228]
lea edx, [esp + 0x610]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x628]
lea eax, [esp + 0x228]
push eax
push 1
push ecx
push edx
call fcn.00423930
add esp, 0x10
xor eax, eax
cmp esi, 0x7fffffff
jbe 0x480f67
mov eax, 0x80070057
cmp eax, ebp
jl 0x480fc5
mov edx, dword [esp + 0x2d28]
mov eax, dword [esp + 0x2d24]
mov edi, SysReAllocString
mov ecx, eax
sub edi, edx
lea edx, [esp + 0x228]
sub edx, ecx
lea ecx, [edi + esi]
test ecx, ecx
je 0x480fa1
mov cl, byte [edx + eax]
test cl, cl
je 0x480fa1
mov byte [eax], cl
inc eax
dec esi
jne 0x480f8b
jmp 0x480fa5
test esi, esi
jne 0x480fab
dec eax
mov ebp, 0x8007007a
mov esi, dword [esp + 0x2d28]
mov byte [eax], 0
mov eax, ebp
xor ebp, ebp
cmp eax, ebp
jne 0x480fc5
mov dword [esp + 0x10], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x480fe4
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x480e98
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x2d10
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x2d10
ret
Function at 0x4811c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x4f0
test eax, eax
push ebx
push esi
push edi
je 0x4813c4
mov esi, dword [esp + 0x504]
test esi, esi
je 0x4813c4
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x481354
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push 0
lea edx, [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x481342
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push eax
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x481339
lea edx, [esp + 0x18]
lea eax, [esp + 0x2f4]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], 0x208
call ebx
test eax, eax
jne 0x48132e
mov ecx, 0x19
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x88]
push 0x64
lea ecx, [esp + 0x2f8]
push eax
push ecx
call fcn.004813d0
add esp, 0xc
test eax, eax
je 0x48132e
mov al, byte [esp + 0x24]
test al, al
je 0x4812f7
lea edx, [esp + 0x24]
lea eax, [esp + 0x88]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x48132e
lea edx, [esp + 0x88]
lea ecx, [esp + 0x24]
mov esi, 0x64
lea eax, [esp + 0x24]
sub edx, ecx
lea ecx, [esi + 0x7fffff9a]
test ecx, ecx
je 0x481326
mov cl, byte [edx + eax]
test cl, cl
je 0x481326
mov byte [eax], cl
inc eax
dec esi
jne 0x48130d
jmp 0x48132a
test esi, esi
jne 0x48132b
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [esp + 0x10]
jmp 0x48121c
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x504]
mov al, byte [esp + 0x24]
test al, al
je 0x4813c4
xor eax, eax
cmp esi, 0x7fffffff
jbe 0x48136b
mov eax, 0x80070057
test eax, eax
jl 0x4813b1
mov edx, dword [esp + 0x504]
mov eax, dword [esp + 0x500]
mov edi, SysReAllocString
xor ebx, ebx
sub edi, edx
lea edx, [esp + 0x24]
sub edx, eax
lea ecx, [edi + esi]
test ecx, ecx
je 0x4813a2
mov cl, byte [edx + eax]
test cl, cl
je 0x4813a2
mov byte [eax], cl
inc eax
dec esi
jne 0x48138c
jmp 0x4813a6
test esi, esi
jne 0x4813ac
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
setge dl
pop esi
mov eax, edx
pop ebx
add esp, 0x4f0
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4f0
ret
Function at 0x481af0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x508
push ebx
mov ebx, dword [esp + 0x510]
push ebp
push esi
test ebx, ebx
push edi
je 0x481ca1
mov ebp, dword [esp + 0x520]
cmp ebp, 0x20
jb 0x481ca1
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push ecx
push edx
push 0x562654
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x481ca1
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x40
jne 0x481ca1
lea edx, [esp + 0x118]
lea ecx, [esp + 0x18]
mov esi, 0x80
lea eax, [esp + 0x18]
sub edx, ecx
lea ecx, [esi - 0x60]
test ecx, ecx
je 0x481bac
mov cl, byte [edx + eax]
test cl, cl
je 0x481bac
mov byte [eax], cl
inc eax
dec esi
jne 0x481b96
jmp 0x481bb0
test esi, esi
jne 0x481bb1
dec eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x98]
mov byte [eax], 0
mov esi, 0x80
lea eax, [esp + 0x98]
sub edx, ecx
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x481be9
mov cl, byte [edx + eax]
test cl, cl
je 0x481be9
mov byte [eax], cl
inc eax
dec esi
jne 0x481bd0
jmp 0x481bed
test esi, esi
jne 0x481bee
dec eax
mov byte [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x118]
push 0x400
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00481900
add esp, 0xc
lea ecx, [esp + 0x98]
lea edx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x481ca1
test ebp, ebp
je 0x481c41
cmp ebp, 0x7fffffff
jbe 0x481c46
mov eax, 0x80070057
test eax, eax
jl 0x481c8d
mov eax, ebx
xor ebx, ebx
test ebp, ebp
mov edx, ebp
je 0x481c82
mov ecx, dword [esp + 0x51c]
mov edi, SysReAllocString
lea esi, [esp + 0x18]
sub edi, ebp
sub esi, ecx
lea ecx, [edi + edx]
test ecx, ecx
je 0x481c7e
mov cl, byte [esi + eax]
test cl, cl
je 0x481c7e
mov byte [eax], cl
inc eax
dec edx
jne 0x481c68
jmp 0x481c82
test edx, edx
jne 0x481c88
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
sete dl
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x508
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x508
ret
Function at 0x4838d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32.dll
call esi
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4838f8
call eax
pop esi
add esp, 0x30
ret
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x483990
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push str.Control_PanelDesktopResourceLocale
push SysReAllocStringLen
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x483986
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x24], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48397b
cmp dword [esp + 0x10], 1
jne 0x48397b
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
push 0x5626f8
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0xc
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [esp + 8]
pop esi
add esp, 0x30
ret
push str.ntdll.dll
mov dword [esp + 0xc], 0
call esi
test eax, eax
je 0x4839b8
lea edx, [esp + 8]
push edx
push 0x4839d0
push 1
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
mov ax, word [esp + 8]
pop esi
add esp, 0x30
ret
Function at 0x48d120
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
add eax, 0xffff9ff0
push esi
cmp eax, 4
mov esi, ecx
ja case.0x48d13b.24595
jmp dword [eax*4 + 0x48d230]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x48d167
mov edx, dword [eax + 0x24]
lea ecx, [eax + 0x24]
call dword [edx + 0x50]
test eax, eax
je 0x48d167
mov ecx, esi
call fcn.0048ce40
pop esi
add esp, 0x208
ret 4
mov ecx, esi
call fcn.0048cea0
pop esi
add esp, 0x208
ret 4
mov eax, dword [esi + 4]
push 0
push 0
push 0x5403
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
add esp, 0x208
ret 4
mov cx, word [0x56e1d0]
push edi
mov word [esp + 8], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x58e22c]
push str.360Start.exe
lea edx, [esp + 0xc]
push 0x103
push edx
push eax
call fcn.0043f640
lea ecx, [esp + 0x18]
push ecx
call fcn.004519a0
add esp, 0x14
test eax, eax
pop edi
je case.0x48d13b.24595
push 5
push 0
lea edx, [esp + 0xc]
push str._SafeMode
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
add esp, 0x208
ret 4
mov eax, dword [0x588e58]
push eax
push 0
push 1
push 1
push 1
push 1
push 0
push 0xab
call fcn.0049bcd0
add esp, 4
mov ecx, esi
push eax
call fcn.00488290
pop esi
add esp, 0x208
ret 4

Function at 0x48d250
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
xor esi, esi
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x48d299
lea ecx, [esp + 4]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x48d299
xor eax, eax
pop esi
add esp, 0xc
ret 4
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0
push str.GlobalUserOffline
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48d2d6
mov eax, dword [esp + 8]
xor edx, edx
cmp eax, 1
sete dl
xor ecx, ecx
mov esi, edx
test eax, eax
sete cl
mov dword [esp + 8], ecx
jmp 0x48d2de
mov dword [esp + 8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d2fa
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 4
push 0
push str.GlobalUserOffline
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00477b50
push 0xffffffffffffffff
push 0
push 1
push 8
push 0x207
call fcn.0041d4c0
mov ecx, eax
call fcn.0041dbc0
mov eax, esi
pop esi
add esp, 0xc
ret 4
Function at 0x48db70
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
mov ecx, esi
call fcn.00419270
test esi, esi
je 0x48db99
mov eax, dword [esi + 0x560c]
cmp eax, 0xffffffff
je 0x48db99
mov ecx, dword [edi + 0x58]
push 1
push eax
call fcn.0050de20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00416380
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.004163a0
push 0
mov ecx, esi
call fcn.0041c360
push 0
mov ecx, esi
call fcn.00416f80
mov ecx, dword [edi + 0x58]
push 0
call fcn.0050d7a0
test eax, eax
jne 0x48dc1e
cmp dword [0x5bf9d8], 1
jne 0x48dc02
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x48dc1e
mov edx, dword [ecx]
call dword [edx + 0x20]
test eax, eax
je 0x48dc1e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 0x14
mov eax, dword [0x588e58]
push 0
push 0
push 0
push 1
push eax
push 0
push str.se:blank
mov ecx, edi
call fcn.00485290
pop edi
pop esi
ret 0x14

Function at 0x48dd60
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1250
call fcn.0051d7f0
mov ax, word [0x56e1d0]
push ebx
push esi
mov ebx, ecx
push edi
mov word [esp + 0x214], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x216]
push 0x8e
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0049bcd0
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 4
lea ecx, [esp + 0x214]
push eax
push 0x53a4a4
push 0x823
push ecx
call esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
add esp, 0x10
mov word [esp + 0xc], 0
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
push str.Import.exe
push 0x56e47c
push 0x53ac6c
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0043f630
add esp, 0x1c
test eax, eax
je 0x48de1d
push 5
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
add esp, 0x1250
ret
mov edx, dword [ebx + 4]
push 0
push 0
push 0
push 0x6401
push edx
push 0x2710
push 0
push 0
push 1
push 0x56e1d0
lea eax, [esp + 0x23c]
push 0
push eax
call fcn.00478e90
add esp, 0x30
pop edi
pop esi
pop ebx
add esp, 0x1250
ret
Function at 0x49a180
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0xc
cmp eax, 3
je 0x49a215
cmp eax, 1
jne 0x49a19a
xor eax, eax
add esp, 0xc
ret
lea eax, [esp]
mov dword [esp + 4], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49a215
mov eax, dword [esp]
test eax, eax
je 0x49a215
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push 0
push 0
push str.ProxyEnable
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
test eax, eax
jne 0x49a215
xor eax, eax
add esp, 0xc
ret
mov eax, 1
add esp, 0xc
ret
Function at 0x49bc10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
and ecx, 0xffff
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x49bc62
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x49bc62
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x49bc56
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
pop ebp
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x49bc70
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.0049bc10
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x49bc95
pop edi
ret
mov ecx, dword [esp + 0xc]
push esi
push 0x55a14c
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x49bcc8
mov edx, dword [esp + 0x18]
push esi
push 1
push edx
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop esi
mov eax, 1
pop edi
ret

Function at 0x49c330
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1664
call fcn.0051d7f0
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41e]
mov word [esp + 0x41c], si
mov word [esp + 0xc], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x41c]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0xc]
push 0x104
lea edx, [esp + 0x420]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], si
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x214]
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push str._s360se_
push 0x103
push ecx
call esi
mov dx, word [0x56e1d0]
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x636]
mov word [esp + 0x634], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x2000
lea ecx, [esp + 0x628]
push eax
lea edx, [esp + 0x21c]
push ecx
push edx
mov dword [esp + 0x18], 0x823
call dword [sym.imp.SHLWAPI.dll_UrlEscapeW]
mov ecx, dword [esp + 0x1674]
mov edx, dword [esp + 0x1670]
lea eax, [esp + 0x624]
dec ecx
push eax
push str.res:___s
push ecx
push edx
call esi
add esp, 0x10
pop edi
pop esi
add esp, 0x1664
ret
Function at 0x4a83b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
call fcn.004a7e70
mov eax, dword [esi]
pop esi
cmp eax, 0xff
jne 0x4a7f72
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push str.Debugger
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x4a7f72
cmp word [esp + 8], ax
je 0x4a7f72
lea eax, [esp + 8]
push str.windbg.exe
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4a7f72
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret
mov ecx, 0x587100
jmp 0x4a7ee0

Function at 0x4a83d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x58751c]
sub esp, 8
test eax, eax
je 0x4a7fb5
mov eax, dword [0x587520]
add esp, 8
ret
mov eax, 4
lea ecx, [esp + 4]
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
mov dword [0x58751c], 1
push eax
push 0x587520
push ecx
push str.dmpType
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4a8009
mov eax, dword [0x587520]
cmp eax, 1
je 0x4a800b
xor eax, eax
mov dword [0x587520], eax
add esp, 8
ret
xor eax, eax
add esp, 8
ret
mov ecx, 0x587100
jmp 0x4a7fa0
Function at 0x4a8770
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x12a4
call fcn.0051d7f0
mov ax, word [0x56e1d0]
push ebx
push ebp
push esi
mov ebx, dword [esp + 0x12c8]
mov esi, ecx
push edi
mov word [esp + 0x64], ax
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x66]
mov ebp, ebx
rep stosd dword es:[edi], eax
and ebp, 0x20
stosw word es:[edi], ax
test bl, 2
mov edi, 1
je 0x4a87b5
mov edi, 6
mov eax, ebx
and eax, 0x40
je 0x4a87c1
mov edi, 0xf
lea ecx, [esi + 0x21c]
lea edx, [esi + 0x14]
push ecx
push str._tmp:
test eax, eax
push edx
push 0x55a604
mov ecx, 0x56e210
je 0x4a8871
call fcn.0040dd80
xor ecx, ecx
mov edx, dword [esp + 0x12d8]
mov ch, byte [esi + 0x10]
push eax
mov eax, dword [0x588e5c]
mov cl, byte [esi + 0xc]
push str._gw:
push eax
mov eax, dword [esp + 0x12d8]
push str._mw:
push ecx
mov ecx, dword [esp + 0x12e4]
push 0x53abfc
push ebx
push 0x53aa48
push edx
mov edx, dword [esp + 0x12ec]
push 0x53abdc
push eax
push 0x53abec
push ecx
push 0x53abe4
push edx
push 0x53abf4
push edi
push str._tp:
push str._sandboxse
push 0x56e274
push str.__s___s__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s__s___s__s_
lea eax, [esp + 0xc8]
push 0x927
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x6c
jmp 0x4a88f5
call fcn.0040dd80
xor ecx, ecx
mov edx, dword [esp + 0x12d8]
mov ch, byte [esi + 0x10]
push eax
mov eax, dword [0x588e5c]
mov cl, byte [esi + 0xc]
push str._gw:
push eax
mov eax, dword [esp + 0x12d8]
push str._mw:
push ecx
mov ecx, dword [esp + 0x12e4]
push 0x53abfc
push ebx
push 0x53aa48
push edx
mov edx, dword [esp + 0x12ec]
push 0x53abdc
push eax
push 0x53abec
push ecx
push 0x53abe4
push edx
push 0x53abf4
push edi
push str._tp:
push 0x56e274
push str.__s___s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s__s___s__s_
lea eax, [esp + 0xc4]
push 0x927
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x68
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edx
mov dword [esp + 0x20], ecx
mov ecx, ebp
neg ecx
sbb ecx, ecx
push eax
push edi
and ecx, 0x40
push edi
push ecx
push 1
push edi
lea edx, [esp + 0x80]
push edi
push edx
push edi
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], 0x80
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
cmp ebx, edi
je 0x4a8968
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4a8968
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x12c8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
cmp eax, 1
jne 0x4a899f
xor eax, eax
mov dword [esi + 0x424], edi
test ebp, ebp
sete al
mov dword [esi + 0x430], eax
mov dword [esi + 0x428], edx
mov dword [esi + 0x42c], ecx
mov eax, dword [esp + 0x12c4]
test eax, eax
je 0x4a89b9
mov esi, dword [esp + 0x14]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x12a4
ret 0x18