joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412bee
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscpy]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
call esi
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x418]
push 0x416a54
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push 0x415a24
push eax
call edi
add esp, 0x20
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x412d52
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop ecx
pop ecx
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x412d1d
lea eax, [ebp - 0x63c]
push eax
call fcn.00412bba
test eax, eax
pop ecx
jne 0x412d2c
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0x668], 0x10
pop ecx
pop ecx
je 0x412cef
lea eax, [ebp - 0x210]
push eax
call fcn.00412bee
test eax, eax
pop ecx
je 0x412d49
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
pop ecx
pop ecx
jmp 0x412d2c
test byte [ebp - 0x668], 1
je 0x412d0a
lea eax, [ebp - 0x210]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x412d49
jmp 0x412cdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x412d49
and byte [ebp - 1], 0
cmp byte [ebp - 1], 0
jne 0x412c79
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x412d44

Function at 0x412d56
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push esi
sub eax, ebx
je 0x412d74
dec eax
jne 0x412d82
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
jmp 0x412d82
mov dword [ebp - 8], 0x40000000
mov dword [ebp - 4], 2
push ebx
push 0x80
push dword [ebp - 4]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412da4
xor al, al
jmp 0x412ddb
cmp dword [ebp + 0x14], 1
jne 0x412dba
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x412dd2
lea eax, [ebp + 0x10]
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x412dd2
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x412ddf
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 3
push ebx
push 3
push closesocket
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412e0a
xor al, al
jmp 0x412e4a
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0xc]
mov edi, eax
push ebx
push edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int__char_]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push ebx
push eax
push edi
mov dword [ebp + 8], ebx
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop edi
je 0x412e41
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret

Function at 0x412e83
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push closesocket
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412eae
xor eax, eax
jmp 0x412ec1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x412ec5
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x412f6e
push edi
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp + 8]
push edi
call sub.urlmon.dll_URLOpenBlockingStreamW
test eax, eax
jl 0x412f6e
mov eax, dword [ebp + 8]
push ebx
push esi
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x412f63
inc dword [ebp - 0x48]
mov esi, dword [ebp - 0x48]
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, dword [ebp + 0xc]
mov edx, eax
cmp edx, edi
pop ecx
mov dword [ebx], edx
je 0x412f63
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, esi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
lea eax, [esi - 1]
mov esi, dword [ebp + 0x10]
push edi
push edi
push dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp + 8]
push edi
push dword [esi]
mov ecx, dword [eax]
push dword [ebx]
push eax
call dword [ecx + 0xc]
push 1
pop edi
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop esi
pop ebx
mov eax, edi
pop edi
leave
ret
Function at 0x4133fe
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
sub eax, 0
push edi
je 0x413526
dec eax
je 0x4134e5
dec eax
je 0x4134aa
dec eax
je 0x41346f
dec eax
jne 0x413577
push 1
lea eax, [ebp + 0xb]
sub esp, 0x10
mov ecx, esp
push eax
push 0x415b14
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b708
add esp, 0x20
lea eax, [ebp - 1]
push 1
sub esp, 0x10
mov ecx, esp
push eax
push 0x415908
jmp 0x413562
push 1
lea eax, [ebp - 2]
sub esp, 0x10
mov ecx, esp
push eax
push 0x415b10
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b708
add esp, 0x20
lea eax, [ebp - 3]
push 1
sub esp, 0x10
mov ecx, esp
jmp 0x41351e
push 1
lea eax, [ebp - 4]
sub esp, 0x10
mov ecx, esp
push eax
push 0x416d58
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b708
add esp, 0x20
lea eax, [ebp - 5]
push 1
sub esp, 0x10
mov ecx, esp
jmp 0x41351e
push 1
lea eax, [ebp - 6]
sub esp, 0x10
mov ecx, esp
push eax
push 0x415b18
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b708
add esp, 0x20
lea eax, [ebp - 7]
push 1
sub esp, 0x10
mov ecx, esp
push eax
push 0x415b14
jmp 0x413562
push 1
lea eax, [ebp - 8]
sub esp, 0x10
mov ebx, 0x415b14
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov edi, str.Control_PanelDesktop
push str.WallpaperStyle
mov esi, closesocket
push edi
push esi
call fcn.0040b708
add esp, 0x20
lea eax, [ebp - 9]
push 1
sub esp, 0x10
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
push str.TileWallpaper
push edi
push esi
call fcn.0040b708
add esp, 0x20
push 3
push dword [ebp + 0xc]
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x74]
cmp dword [ecx - 8], 0
jne 0x1000669e
mov dword [ebp - 8], 1
jmp 0x100066a5
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
jne 0x100066f0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
add eax, 0x60
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100066f0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x70]
mov dword [ebp - 0xc], edx
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10006770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1dc], 2
jne 0x10006802
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
push 0x44
push 0
lea edx, [ebp - 0x60]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov eax, 5
mov word [ebp - 0x30], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x70]
mov eax, dword [edx - 8]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x70
call fcn.10005490
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
add ecx, 0x70
call fcn.10008c70
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000dc20
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x100350dc]
xor eax, ebp
mov dword [ebp + 0x98], eax
push 0x114
push 0
lea eax, [ebp - 0x7c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x7c], 0x114
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x78], 6
jb 0x1000dc6e
mov dword [ebp - 0x80], 1
jmp 0x1000dc75
mov dword [ebp - 0x80], 0
mov al, byte [ebp - 0x80]
mov ecx, dword [ebp + 0x98]
xor ecx, ebp
call fcn.1002916b
add ebp, 0x9c
mov esp, ebp
pop ebp
ret

Function at 0x1000e210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100350dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x48]
and ecx, 1
je 0x1000e2ab
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xcc]
and eax, 0x200
je 0x1000e2ab
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xcc]
and edx, 0xfffffdff
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xcc], edx
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xc]
sub ecx, 0xe
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
add edx, 0xe
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1000e2a9
mov ecx, dword [ebp - 0x18]
call sym.SetupCtrls.dll_public:_void___thiscall_WTL::CBalloonToolTip::CloseWindow_void_
jmp 0x1000e31a
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x70]
cmp dword [eax - 8], 0
jne 0x1000e2c0
mov dword [ebp - 0x1c], 1
jmp 0x1000e2c7
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
jne 0x1000e31a
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x9c
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1000e31a
mov ecx, dword [ebp - 0x18]
call sym.SetupCtrls.dll_public:_void___thiscall_WTL::CBalloonToolTip::CloseWindow_void_
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x20], ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002916b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000e690
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100350dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 2
jne 0x1000e6ea
push 2
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
mov ecx, dword [ebp - 0x18]
call fcn.1000e3a0
jmp 0x1000e777
cmp dword [ebp + 8], 1
jne 0x1000e76d
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1000e76b
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0xac
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1000e76b
push 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0x18]
call sym.SetupCtrls.dll_public:_void___thiscall_WTL::CBalloonToolTip::CloseWindow_void_
jmp 0x1000e777
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002916b
mov esp, ebp
pop ebp
ret 8

Function at 0x1000f740
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xdc], 0
jne 0x1000f774
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x24
push ecx
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov edx, dword [ebp - 4]
mov dword [edx + 0xdc], eax
mov esp, ebp
pop ebp
ret
Function at 0x1000fcd0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10036584], 0
je 0x1000fd00
cmp dword [0x10036578], 0
je 0x1000fcf1
mov dword [ebp - 8], 1
jmp 0x1000fcf8
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
jmp 0x1000fe86
call fcn.1000fe90
mov dword [0x10036588], eax
push str.USER32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000fe34
push 0x1002c944
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10036568], eax
cmp dword [0x10036568], 0
je 0x1000fe34
push 0x1002c958
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003656c], eax
cmp dword [0x1003656c], 0
je 0x1000fe34
push str.MonitorFromRect
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10036570], eax
cmp dword [0x10036570], 0
je 0x1000fe34
push 0x1002c97c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10036574], eax
cmp dword [0x10036574], 0
je 0x1000fe34
push str.EnumDisplayMonitors
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1003657c], eax
cmp dword [0x1003657c], 0
je 0x1000fe34
push str.EnumDisplayDevicesW
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10036580], eax
cmp dword [0x10036580], 0
je 0x1000fe34
cmp dword [0x10036588], 0
je 0x1000fdfd
push 0x1002c9b8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
jmp 0x1000fe0f
push str.GetMonitorInfoA
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [0x10036578], edx
cmp dword [0x10036578], 0
je 0x1000fe34
mov dword [0x10036584], 1
mov eax, 1
jmp 0x1000fe86
mov dword [0x10036568], 0
mov dword [0x1003656c], 0
mov dword [0x10036570], 0
mov dword [0x10036574], 0
mov dword [0x10036578], 0
mov dword [0x1003657c], 0
mov dword [0x10036580], 0
mov dword [0x10036584], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10022580
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
cmpsb byte [esi], byte es:[edi]
inc ecx
call fcn.1002218c
push eax
push esi
push dword [ebp + 8]
call fcn.10022141
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1002218c
push eax
push esi
push dword [ebp + 8]
call fcn.10022141
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1002217c
into
mov edi, 0x9d88efcd

Function at 0x10022810
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10022830
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1002282b
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10022815
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
or byte [ecx], al
adc ebx, ebp
invalid
or byte [ecx], al
adc ebx, ebp
or byte [ebx], bh
ror dword [edi], cl
test dword [esi + 1], ecx
add byte [eax], al
cmp edx, ebx
jne 0x1002296b
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100227ec
add eax, dword [eax + 4]
jmp 0x100227d9
mov dword [ebp + 0xc], ebx
jmp 0x1002283b
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10022853
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
pushal
jmp 0x10022871
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100228cf
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100228b6
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100228bf
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100228c9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100228ab
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10022835
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x10022850
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10022830
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1002282b
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10022815
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
or byte [ecx], al
adc ebx, ebp
invalid
or byte [ecx], al
adc ebx, ebp
or byte [ebx], bh
ror dword [edi], cl
test dword [esi + 1], ecx
add byte [eax], al
cmp edx, ebx
jne 0x1002296b
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100227ec
add eax, dword [eax + 4]
jmp 0x100227d9
mov dword [ebp + 0xc], ebx
jmp 0x1002283b
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10022853
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
pushal
jmp 0x10022871
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100228cf
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100228b6
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100228bf
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100228c9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100228ab
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10022835
mov dword [ebp + 8], esi
xor edi, edi