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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
push esi
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042d4a4
pop ecx
pop ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x44
xor eax, eax
pop ecx
lea edi, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x114
mov dword [ebp - 8], 0x7054
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x437b9e
mov dword [ebp - 8], 0x7074
push 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 8]
mov edi, 0x111
push edi
push dword [ebp - 4]
call esi
push 0
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call esi
pop edi
pop esi
leave
ret

Function at 0x437fdf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43806c
xor esi, esi
lea eax, [ebp + 8]
push esi
push esi
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x10
push str.Fehler
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp + 0x10]
call fcn.004017ee
xor eax, eax
jmp 0x43808b
xor esi, esi
cmp dword [ebp - 4], esi
je 0x438081
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
pop esi
lea ecx, [ebp + 0x10]
call fcn.004017ee
mov eax, esi
pop esi
leave
ret

Function at 0x43808e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
mov esi, ecx
push eax
call fcn.00432221
mov eax, dword [eax]
pop ecx
push 5
push 0
push 0
push eax
push str.open
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004017ee
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x4380cf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4421a0]
push ebx
push esi
mov ebx, ecx
push edi
push 0x443a24
lea ecx, [ebp - 8]
mov dword [ebp - 4], eax
call fcn.0040181a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 8]
call fcn.004017ee
push str.seite
lea ecx, [ebp - 8]
call fcn.0040181a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 8]
call fcn.004017ee
mov edi, 0x47e488
lea ecx, [ebp - 8]
push edi
call fcn.0040181a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 8]
call fcn.004017ee
mov esi, 0x47e484
lea ecx, [ebp - 8]
push esi
call fcn.0040181a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 8]
call fcn.004017ee
push 0x47e480
lea ecx, [ebp - 8]
call fcn.0040181a
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401acd
lea ecx, [ebp - 8]
call fcn.004017ee
push 0x443ed8
lea ecx, [ebp - 8]
call fcn.0040181a
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
call fcn.00401b49
lea ecx, [ebp - 8]
call fcn.004017ee
push 0x47e47c
lea ecx, [ebp - 8]
call fcn.0040181a
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
call fcn.00401b49
lea ecx, [ebp - 8]
call fcn.004017ee
push esi
lea ecx, [ebp - 8]
call fcn.0040181a
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00401b49
lea ecx, [ebp - 8]
call fcn.004017ee
push edi
lea ecx, [ebp - 8]
call fcn.0040181a
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
call fcn.00401b49
lea ecx, [ebp - 8]
call fcn.004017ee
push 0x47e478
lea ecx, [ebp - 8]
call fcn.0040181a
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
call fcn.00401b49
lea ecx, [ebp - 8]
call fcn.004017ee
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00432221
pop ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.004019df
push 5
push 0
push 0
push dword [eax]
push str.open
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004017ee
lea ecx, [ebp - 0xc]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x43829b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str._f__im_explorer.exe
lea ecx, [ebp - 4]
call fcn.0040181a
push 0
call fcn.00414917
pop ecx
call fcn.0042e892
push 5
push 0
push dword [ebp - 4]
push ecx
mov ecx, esp
push str.taskkill.exe
call fcn.00407038
mov esi, str.open
push esi
push dword [ebp + 8]
call fcn.00437fdf
add esp, 0x18
push 5
push 0
push 0
push 0x444098
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
call fcn.00414917
pop ecx
lea ecx, [ebp - 4]
call fcn.004017ee
pop esi
leave
ret
Function at 0x4388d3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
mov edi, 0x2b66
xor ebx, ebx
push edi
push ebx
push eax
mov dword [ebp - 4], eax
call esi
push ebx
push ebx
push 0x801
push dword [ebp - 4]
call esi
lea ecx, [ebp - 0x454]
call fcn.0042cec1
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x454]
push esi
call fcn.004389dc
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 8]
push eax
mov dword [ebp + 0xc], eax
push dword [ebp - 0xc]
call fcn.00423bcb
pop ecx
pop ecx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
push eax
push 0x108
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, edi
jne 0x4389ae
push 0x3c
lea eax, [ebp - 0x48]
pop edi
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, str.powercfg.cpl
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], edi
push eax
mov dword [ebp - 0x44], 0x200
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x4389c1
cmp eax, ebx
je 0x4389c1
add eax, 0xffffff9c
lea ecx, [ebp - 0x454]
push eax
call fcn.0042d1ce
lea ecx, [ebp - 0x454]
call fcn.0042d1ad
cmp esi, ebx
je 0x4389d7
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439142
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push str.__name_Microsoft.Personalization
push str.control.exe
push str.open
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 0x10

Function at 0x439163
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push str._desk.cpl___5
push str.control.exe
push str.open
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 0x10

Function at 0x439353
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x417
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
push edi
push edi
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xf003f
push str.Control_PanelAccessibility
push SysReAllocString
lea ecx, [ebp - 4]
mov esi, eax
mov dword [ebp - 4], edi
call fcn.0041d034
test eax, eax
je 0x4393aa
cmp dword [ebp - 4], edi
je 0x4393a6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4393d5
lea eax, [ebp - 8]
push 4
push eax
push 4
push edi
push str.DynamicScrollbars
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], edi
je 0x4393d2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
leave
ret 0x10
Function at 0x439451
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xf003f
xor esi, esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push SysReAllocString
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.0041d034
test eax, eax
jne 0x4394ab
mov eax, dword [ebp + 8]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push esi
push str.TaskbarGlomLevel
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
push 0x186a0
push 2
push esi
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [ebp - 4], esi
je 0x4394b9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 4
Function at 0x4394be
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push ebx
push esi
push edi
xor esi, esi
push str.StuckRects2
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], esi
call fcn.0040181a
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
call fcn.00407038
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004019df
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
mov ebx, 0xf003f
push ecx
push ebx
push esi
mov edi, SysReAllocString
mov dword [ebp - 0x20], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push edi
call esi
test eax, eax
mov dword [ebp - 8], eax
jne 0x43952e
lea ecx, [ebp - 4]
call fcn.0040d8da
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
call fcn.004017ee
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 0xc]
call fcn.004017ee
cmp dword [ebp - 8], 0
je 0x4395bb
push str.StuckRects3
lea ecx, [ebp - 0xc]
call fcn.0040181a
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x14]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
call fcn.00407038
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004019df
mov eax, dword [eax]
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push ebx
push 0
push eax
push edi
call esi
mov esi, eax
test esi, esi
jne 0x43959b
lea ecx, [ebp - 4]
call fcn.0040d8da
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 0x14]
call fcn.004017ee
lea ecx, [ebp - 0xc]
call fcn.004017ee
test esi, esi
jne 0x439650
mov al, byte [0x47eaf4]
mov ecx, 0x1ff
mov byte [ebp - 0x820], al
xor eax, eax
lea edi, [ebp - 0x81f]
push 3
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x1c]
push eax
mov esi, str.Settings
push 0
push esi
push dword [ebp - 4]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x439650
cmp dword [ebp + 8], 0xffffffff
jne 0x43961c
cmp byte [ebp - 0x818], bl
jne 0x439637
push 1
pop esi
jmp 0x439652
cmp dword [ebp + 8], 1
jne 0x43962a
mov byte [ebp - 0x818], bl
jmp 0x439637
cmp dword [ebp + 8], 0
jne 0x439637
mov byte [ebp - 0x818], 2
push dword [ebp - 0x18]
lea eax, [ebp - 0x820]
push eax
push dword [ebp - 0x1c]
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor esi, esi
lea ecx, [ebp - 4]
call fcn.0040d8da
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43a82c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x43a865
push dword [esi + 0x9c]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [esi + 0x70]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esi + 0x74]
mov dword [esi + 0x70], edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x74], edi
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push eax
mov dword [ebp - 4], eax
call edi
push 0xa
mov dword [esi + 0x78], eax
push dword [ebp - 4]
call edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4f
mov dword [esi + 0x7c], eax
call edi
push 0x4d
mov ebx, eax
call edi
add ebx, eax
push ebx
push 0x4e
call edi
push 0x4c
mov ebx, eax
call edi
add ebx, eax
push ebx
push 0x4d
call edi
push eax
push 0x4c
call edi
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, ecx
sub eax, edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 8]
mov ebx, eax
mov dword [esi + 0x84], edx
sub ebx, edx
cmp dword [ebp + 8], 0
mov dword [esi + 0x7c], ebx
je 0x43a903
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov dword [esi + 0x24], 1
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
jmp 0x43a907
and dword [esi + 0x24], 0
sub ecx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
add ecx, 8
add eax, 8
push edi
mov ebx, ecx
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov dword [esi + 0x70], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push dword [ebp + 8]
mov dword [esi + 0x9c], eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [esi + 0x74], eax
push dword [esi + 0x70]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
push ebx
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x70]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x43b1c6
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x43b234
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
test eax, eax
je 0x43b234
push edi
call esi
test eax, eax
je 0x43b234
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43b234
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call esi
lea eax, [eax + eax + 4]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43b22e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
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]
pop edi
pop esi
ret

Function at 0x43b8a7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push ebx
push esi
mov esi, ecx
mov edx, 0x81
push edi
xor ebx, ebx
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x616]
mov word [ebp - 0x618], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x40e]
mov word [ebp - 0x410], bx
rep stosd dword es:[edi], eax
push 0x2c2
push dword [esi + 4]
stosw word es:[edi], ax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x618]
push 0x208
push ecx
push eax
call ebx
push 0x2c3
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x208]
push 0x208
push ecx
push eax
call ebx
push 0x2c4
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x410]
push 0x208
push ecx
push eax
call ebx
lea eax, [ebp - 0x410]
push eax
call sub.MSVCRT.dll__wtoi
xor ebx, ebx
mov bh, al
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll__wtoi
mov bl, al
lea eax, [ebp - 0x618]
push eax
shl ebx, 8
call sub.MSVCRT.dll__wtoi
movzx eax, al
or ebx, eax
add esp, 0xc
mov ecx, esi
mov dword [esi + 0x48], ebx
call fcn.0043b996
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43bdee
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
lea ecx, [ebp + 0x10]
cmp dword [ebp + 0x10], eax
push esi
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
setne al
and dword [ebp + 0x10], 0
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
test esi, esi
jne 0x43be42
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ebp
ret
Function at 0x43be4c
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
lea ecx, [ebp + 0xc]
cmp dword [ebp + 0xc], eax
push esi
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
setne al
and dword [ebp + 0xc], 0
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
test esi, esi
jne 0x43be8e
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ebp
ret
Function at 0x43beaf
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
mov eax, dword [0x47ec20]
mov dword [ebp - 0x220], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push 0x208
push eax
push edx
call fcn.0043be98
add esp, 0xc
lea ecx, [ebp - 4]
push str.____bg__startup
call fcn.0040181a
push 0x44293c
lea ecx, [ebp - 0xc]
call fcn.0040181a
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00407038
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004019df
lea ecx, [ebp - 0x14]
call fcn.004017ee
lea ecx, [ebp - 8]
call fcn.004017ee
lea ecx, [ebp - 0xc]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
xor eax, eax
cmp dword [ebp + 0xc], ebx
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [ebp + 0xc], ebx
setne al
add eax, 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [0x4421a0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x43bfaa
lea ecx, [ebp + 0xc]
call fcn.0040d8da
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
push 0x802
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0x800
call fcn.00401b61
lea ecx, [ebp - 8]
mov dword [ebp - 0x14], ebx
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00401bc9
lea ecx, [ebp + 0xc]
call fcn.0040d8da
cmp edi, ebx
jne 0x43c049
lea eax, [ebp - 0x18]
lea ecx, [ebp - 8]
push eax
call fcn.004017a8
push dword [ebp - 0x10]
mov eax, dword [eax]
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 8]
setne byte [ebp + 0xf]
call fcn.004017ee
cmp byte [ebp + 0xf], bl
je 0x43c046
push ebx
push ebx
push 2
push ebx
push ebx
push esi
push dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
call fcn.0041df9b
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.0041dff2
lea ecx, [ebp + 0xc]
call fcn.0040d8da
push 1
pop ebx
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 0x18]
call fcn.004017ee
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x4023c8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ebx, edx
push edi
push 0
push 0xa
push 0x4010a8
push 2
mov edi, ecx
call esi
pop ecx
push eax
call fcn.00402356
add esp, 0x10
test edi, edi
je 0x402424
push 0x401198
push 2
call esi
pop ecx
push eax
call fcn.00402356
pop ecx
pop ecx
push ebx
push edi
push 2
call esi
pop ecx
push eax
call fcn.00402356
add esp, 0xc
push 0x4011b8
push 2
call esi
pop ecx
push eax
call fcn.00402356
pop ecx
pop ecx
push 0x4011c0
push 2
call esi
pop ecx
push eax
call fcn.00402356
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x401222
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov cl, byte [0x404050]
mov edx, eax
mov ebx, eax
shl edx, cl
mov eax, 0x404054
add edx, dword [0x404050]
call fcn.00401163
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x4032ed
push eax
sub edi, fcn.00402a87
push edi
push fcn.00402a87
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x401299
mov eax, fcn.00402a87
mov ebx, esi
mov edx, edi
call fcn.00401163
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00401932
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
call fcn.00402461
lea eax, [esi + 0x1c000]
lea edi, [esi + 1]
imul edi, eax
mov ebx, 0x404054
or bl, 1
xor edx, edx
mov eax, esi
div ebx
lea ebx, [ebp - 2]
add eax, 0x404054
mov edx, edi
call fcn.00402a87
lea esp, [ebp + 0x82]
pop ebp