joyce8/EMBER2024-capa huggingface dataset:
Function at 0x791570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x7ce138
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00405b10
mov dword [esi], vtable.boost::regex_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 0
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x7915d5
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::regex_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::regex_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x791670
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x7ce173
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00791570
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esi + 0x44], vtable.boost::exception_detail::clone_base.0
lea eax, [esi + 0x30]
mov byte [esp + 0x18], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::regex_error__.1.0
mov dword [eax], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::regex_error__.0
mov dword [esi + 0x44], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::regex_error__.2.0
cmp edi, ecx
je 0x7916d2
lea ecx, [edi + 0x30]
push ecx
push eax
call fcn.00401210
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x793ab0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.00725f60
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x793c1b
cmp dword [esp + 0x2c20], edi
je 0x793c1b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.007934d0
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x793bf4
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.007202b0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x793be7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.007202b0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00795680
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.006086a0
test eax, eax
jne 0x793be7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x793bfe
inc ebx
cmp ebx, 0x10
jl 0x793b00
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0071fe0b
add esp, 0x2c14
ret
Function at 0x793f00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x794101
cmp dword [esp + 0x2f8], 0
je 0x794101
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.007202b0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x8279d4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7940c8
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x7940bb
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x794089
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x79407e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.007202b0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00793df0
add esp, 0x14
test eax, eax
je 0x79407e
cmp byte [esp + 0x24], 0
je 0x794042
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x79407e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x794071
mov cl, byte [esi + eax]
test cl, cl
je 0x794071
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x794056
jmp 0x794075
test edx, edx
jne 0x794076
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x793fa0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x794101
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.006086a0
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0071fe0b
add esp, 0x2ec
ret
Function at 0x794370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x7944ed
cmp ebp, 0x20
jb 0x7944ed
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.007202b0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x80b59c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x7944ed
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x794400
sub eax, edx
cmp eax, 0x40
jne 0x7944ed
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x79443e
mov cl, byte [esi + eax]
test cl, cl
je 0x79443e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x794426
jmp 0x794442
test edx, edx
jne 0x794443
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x79447b
mov cl, byte [edx + eax]
test cl, cl
je 0x79447b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x794460
jmp 0x79447f
test esi, esi
jne 0x794480
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.007202b0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00793530
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x7944ed
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.006086a0
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0071fe0b
add esp, 0x50c
ret

Function at 0x794510
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.007202b0
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.00793530
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x79457b
mov cl, byte [esi + eax]
test cl, cl
je 0x79457b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x794560
jmp 0x79457f
test edx, edx
jne 0x794580
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.00608710
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x7945a6
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x80b59c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x188
ret
Function at 0x796240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x218
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
mov esi, dword [esp + 0x224]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x208
mov ebx, eax
lea eax, [esp + 0x18]
push 0
push eax
call fcn.007202b0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xe
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x7962b4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x218
ret
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x79629b
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x7962e6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x218
ret
movzx edx, word [edi + 4]
dec edx
shl edx, 5
add edx, 0x438
push ebp
push edx
call fcn.00724cfe
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x796405
movzx eax, word [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [ebp + 0x20c]
push edx
mov dword [ebp + 0x414], eax
call esi
push 0x830150
lea eax, [ebp + 4]
push eax
call esi
cmp dword [ebp + 0x414], 0
mov dword [esp + 0x18], 0
jbe 0x7963e1
add edi, 0x12
lea esi, [ebp + 0x424]
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx]
push 3
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x7963fc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x796409
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov dword [esi + 4], eax
call fcn.00724cfe
add esp, 4
mov dword [esi], eax
mov eax, dword [esi + 4]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esi]
push eax
push ecx
call fcn.007248d0
lea edx, [esi - 0xc]
push edx
call fcn.007960c0
add esp, 0x10
test eax, eax
je 0x79641a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], 0xe
inc eax
add esi, 0x20
mov dword [esp + 0x18], eax
mov ebp, ecx
cmp eax, dword [ecx + 0x414]
jb 0x796357
mov eax, ebp
mov ecx, dword [esp + 0x224]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0071fe0b
add esp, 0x218
ret
push ebp
call fcn.007238ab
add esp, 4
xor eax, eax
jmp 0x7963e3
mov edx, dword [esp + 0x10]
push edx
call fcn.007238ab
add esp, 4
xor eax, eax
jmp 0x7963e3
mov eax, dword [esp + 0x10]
push eax
call fcn.007238ab
add esp, 4
xor eax, eax
jmp 0x7963e3
Function at 0x796430
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], 0
call edi
test eax, eax
jne 0x796464
pop edi
xor eax, eax
pop esi
add esp, 8
ret
cmp dword [esp + 0xc], 2
jne 0x79645c
push 0
lea edx, [esp + 0x10]
push edx
push 2
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 1
call edi
test eax, eax
je 0x79645c
cmp dword [esp + 0xc], 2
jne 0x79645c
movzx ecx, word [esp + 0x18]
push 0
lea edx, [esp + 0x10]
push edx
push 2
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], ecx
call edi
test eax, eax
je 0x79645c
xor eax, eax
cmp dword [esp + 0xc], 2
pop edi
sete al
pop esi
add esp, 8
ret

Function at 0x796520
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push ebx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 8], ebx
cmp ebx, 0xffffffff
jne 0x796553
xor eax, eax
pop ebx
add esp, 0x18
ret
push edi
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x414]
push ecx
push ebx
call fcn.00796430
add esp, 8
test eax, eax
jne 0x79657b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop ebx
add esp, 0x18
ret
push ebp
xor ebp, ebp
push esi
cmp dword [edi + 0x414], ebp
jbe 0x79661e
lea esi, [edi + 0x42c]
mov al, byte [esi - 0x10]
mov dl, byte [esi - 0x14]
mov byte [esp + 0x19], al
mov eax, dword [esi]
mov byte [esp + 0x18], dl
mov byte [esp + 0x1b], 0
mov dx, word [eax + 0xc]
mov word [esp + 0x1c], dx
mov ax, word [eax + 0xe]
movzx ecx, ax
movzx edx, dx
imul ecx, edx
cmp ecx, 8
mov word [esp + 0x1e], ax
jl 0x7965cd
mov byte [esp + 0x1a], 0
jmp 0x7965d5
mov al, 1
shl al, cl
mov byte [esp + 0x1a], al
mov ecx, dword [esi - 4]
push ebp
push edi
mov dword [esp + 0x28], ecx
call fcn.007964c0
add esp, 8
push 0
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x2c], eax
push 0x10
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x79668c
cmp dword [esp + 0x10], 0x10
jne 0x79668c
inc ebp
add esi, 0x20
cmp ebp, dword [edi + 0x414]
jb 0x796591
xor ebx, ebx
cmp dword [edi + 0x414], ebx
jbe 0x796674
lea esi, [edi + 0x42c]
mov edi, edi
mov eax, dword [esi]
mov ebp, dword [eax + 0x14]
push 0
mov dword [eax + 0x14], 0
mov edx, dword [esi - 4]
mov eax, dword [esi - 8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x79668c
mov edx, dword [esp + 0x10]
cmp edx, dword [esi - 4]
jne 0x79668c
mov eax, dword [esi]
inc ebx
mov dword [eax + 0x14], ebp
add esi, 0x20
cmp ebx, dword [edi + 0x414]
jb 0x796630
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop edi
mov eax, 1
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x410822
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x432d90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040816c
mov dword [ebp - 0x14], eax
cmp dword [0x4341cc], edi
jne 0x410913
push 0x800
push edi
push 0x429e80
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4108a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4109f3
push 0x429e80
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4109f3
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4109f3
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4341cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4341d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4341d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4341dc], eax
test eax, eax
je 0x410910
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4341d8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410938
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41092b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41094d
push 4
pop eax
jmp 0x4109f5
cmp dword [ebp - 0x14], edi
je 0x41094d
push dword [0x4341cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410932
mov eax, dword [0x4341d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4109ab
cmp dword [0x4341dc], esi
je 0x4109ab
push eax
call ebx
push dword [0x4341dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4109ab
test eax, eax
je 0x4109ab
call ecx
test eax, eax
je 0x4109a0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4109a0
test byte [ebp - 8], 1
jne 0x4109ab
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4109db
mov eax, dword [0x4341d0]
cmp eax, esi
je 0x4109d8
push eax
call ebx
test eax, eax
je 0x4109d8
call eax
mov edi, eax
test edi, edi
je 0x4109d8
mov eax, dword [0x4341d4]
cmp eax, esi
je 0x4109d8
push eax
call ebx
test eax, eax
je 0x4109d8
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4341cc]
call ebx
test eax, eax
je 0x4109f3
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4109f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cb56
leave
ret
Function at 0x414440
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.daemon
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.libav.dll_Ordinal_44283]
add esp, 8
cmp dword [eax + 0x18], 0
jne 0x4144bc
lea ecx, [ebp - 4]
push ecx
push str.EXIT__d
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401d05
add esp, 0xc
cmp eax, 1
jne 0x414494
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s:_EXIT__d_n
call fcn.00421c90
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.00402201
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401d94
add esp, 4
cmp eax, 0xffffffff
jne 0x4144ba
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s:_system__s__failed_n
call fcn.00421c90
add esp, 0xc
jmp 0x4144ea
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.004138ca
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4144ea
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s:_couldnt_execute___s_._n
call fcn.00421c90
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x416bd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
push 0x104
push 0x4341f0
push 0
call fcn.00420b40
add esp, 0xc
push 0x5c
push 0x4341f0
call fcn.00402cb0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x416d36
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 0xc], 1
cmp byte [ebp - 1], 0
jne 0x416c33
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov ecx, 1
imul ecx, ecx, 7
mov byte [ebp + ecx - 0x34], 0x2e
mov edx, 1
imul edx, edx, 9
mov byte [ebp + edx - 0x34], 0x78
mov eax, 1
imul eax, eax, 0
mov byte [ebp + eax - 0x34], 0x55
mov ecx, 1
imul ecx, ecx, 5
mov byte [ebp + ecx - 0x34], 0x65
mov edx, 1
imul edx, edx, 0xb
mov byte [ebp + edx - 0x34], 0
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x34], 0x70
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x34], 0x65
mov edx, 1
imul edx, edx, 0xa
mov byte [ebp + edx - 0x34], 0x65
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x34], 0x64
mov ecx, 1
imul ecx, ecx, 3
mov byte [ebp + ecx - 0x34], 0x61
mov edx, 1
imul edx, edx, 6
mov byte [ebp + edx - 0x34], 0x72
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x34], 0x74
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 2], cl
add dword [ebp - 0x10], 1
cmp byte [ebp - 2], 0
jne 0x416cfe
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jle 0x416d34
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov byte [eax + edx], 0
jmp 0x416d3d
mov dword [ebp - 8], 0x4341f0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret