joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 3
jne 0x402855
shr eax, 8
cmp al, 0x32
jae 0x402855
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x402809
mov eax, dword [ebx + 0x3c]
add eax, ebx
jmp 0x40280b
mov eax, ebx
cmp dword [eax], 0x4550
jne 0x402857
push esi
movzx esi, word [eax + 0x14]
push edi
movzx edi, word [eax + 6]
add esi, 0x20
test edi, edi
je 0x402852
add esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
jbe 0x40284a
cmp dword [esi + 0x1c], 0
jge 0x40284a
sub eax, ecx
push eax
mov eax, dword [esi + 4]
add eax, ecx
add eax, ebx
push 0
push eax
call fcn.00401320
add esp, 0xc
add esi, 0x28
sub edi, 1
jne 0x402826
pop edi
pop esi
pop ebx
pop ebp
ret
int3
Function at 0x401a24
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x58ced85
jg 0x401a48
inc edi
cmp edi, 0x1f6502b1
jl 0x401a30
cmp dword [0x2beea9c], 0x400
jne 0x401a9d
push str.gacaxavu_nitalozoxoxideligasozitosucanuzi_razoxuce_hihuwadozosasazipojapena_jam
push str.cuvolixu
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeKeepStringHandle]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push esi
push 0x43b1a8
call fcn.004020b2
push esi
push esi
push esi
call fcn.00402098
push esi
push esi
call fcn.00401eb4
push esi
call fcn.004022a7
push esi
call fcn.004022b6
add esp, 0x24
xor edi, edi
cmp edi, 0xd0fe
jge 0x401aae
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
cmp edi, 0x3a37ee
jg 0x401ad5
inc edi
cmp edi, 0xe52f
jl 0x401a9f
mov eax, dword [0x4302d4]
mov dword [0x2beea9c], eax
call fcn.00401763
mov edi, 0x3078f
cmp dword [0x2beea9c], 0x51f
jne 0x401b01
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x401ae9
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x40800d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f410]
jne 0x408017
repz ret
jmp fcn.0040aa50
Function at 0x40907f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405736
and dword [ebp - 0x14], 0
cmp dword [0x43ae68], 0
mov dword [ebp - 0x18], eax
jne 0x409132
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4091da
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4091da
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43ae68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43ae6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43ae70], eax
call edi
push eax
call esi
mov dword [0x43ae78], eax
test eax, eax
je 0x409132
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43ae74], eax
mov eax, dword [0x43ae74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40918b
cmp dword [0x43ae78], ecx
je 0x40918b
push eax
call esi
push dword [0x43ae78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40918b
test ebx, ebx
je 0x40918b
call edi
test eax, eax
je 0x409182
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x409182
test byte [ebp - 8], 1
jne 0x40918b
or dword [ebp + 0x10], 0x200000
jmp 0x4091be
mov eax, dword [0x43ae6c]
cmp eax, dword [ebp - 0x18]
je 0x4091be
push eax
call esi
test eax, eax
je 0x4091be
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4091be
mov eax, dword [0x43ae70]
cmp eax, dword [ebp - 0x18]
je 0x4091be
push eax
call esi
test eax, eax
je 0x4091be
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43ae68]
call esi
test eax, eax
je 0x4091da
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4091dc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040800d
leave
ret
Function at 0x4019ef
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492596
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4bdc98]
xor eax, esp
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0x38], 0
call fcn.00434280
test eax, eax
je 0x401a1d
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call dword [edx + 0x60]
push str._Updater
lea ecx, [esp + 0x14]
call dword [0x49e760]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push str.ID_PAGE_DONE_TOPIC
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x40], 2
call fcn.00411480
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x401a99
lea eax, [esp + 0x14]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov eax, dword [esp + 0x10]
add esp, 0xc
push eax
push 0x406
mov ecx, esi
call sub.MFC71U.DLL_COleControlContainer::GetDlgItem
mov ecx, eax
call sub.MFC71U.DLL_COleControlSite::SetWindowTextW
push str.ID_PAGE_DONE_RUN
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x40], 4
call fcn.00411480
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 4]
push eax
push 0x3f5
mov ecx, esi
call sub.MFC71U.DLL_COleControlContainer::GetDlgItem
mov ecx, eax
call sub.MFC71U.DLL_COleControlSite::SetWindowTextW
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.00491e29
add esp, 0x38
ret
Function at 0x401b80
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4bdc98]
xor eax, esp
mov dword [esp + 0x128], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x24], 2
jne 0x401bfa
lea ecx, [esp]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [esp + 8]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ecx, dword [esp]
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
push ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, dword [esp + 0x130]
push 0
push edx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0x1dc
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateuiwin32DlgPageDone.cpp
mov ecx, 0x4becf0
call fcn.00441240
push str.LiveUpdate_is_restarting_the_computer.
push 2
push 0x4becf0
call fcn.00442d50
mov ecx, dword [esp + 0x134]
add esp, 0xc
xor ecx, esp
call fcn.00491e29
add esp, 0x12c
ret 4
Function at 0x401f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492613
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x49e768]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x402000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492613
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x49e768]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x402080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492613
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x49e770]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x402100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492613
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x402180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492643
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x49e778]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x402200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492643
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x49e778]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x402280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492643
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x49e760]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x405030
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
push esi
push edi
push 0x460
mov edi, ecx
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateuiwin32DlgPageRefresh.cpp
mov ecx, 0x4becf0
call fcn.00441240
mov esi, dword [esp + 0x10]
push esi
push str.CloseAppointedProcess__d_
push 2
push 0x4becf0
call fcn.00442d50
add esp, 0x10
test esi, esi
mov ebp, 1
je 0x4050f1
push ebx
push esi
push 0x4047a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC71U.DLL_CMenu::FromHandle
push ebp
mov edi, eax
mov ecx, dword [edi + 0x20]
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call edi
push esi
push 0
push 0x100000
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4050ed
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4050e6
xor ebp, ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
ret 4
Function at 0x407ba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
mov eax, dword [0x4bdc98]
mov edx, dword [ebp + 8]
xor eax, ebp
push ebx
mov dword [esp + 0x454], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, eax
xor ebx, ebx
mov word [esp + 0x48], bx
mov ecx, 0x81
lea edi, [esp + 0x4a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x250], bx
mov ecx, 0x81
lea edi, [esp + 0x252]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [edx + 0x18], 8
jb 0x407bfe
mov edx, dword [edx + 4]
jmp 0x407c01
add edx, 4
mov edi, dword [sym.imp.MSVCR71.dll_wcsncpy]
push 0x104
push edx
lea eax, [esp + 0x50]
push eax
call edi
mov ebx, eax
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp eax, 8
jb 0x407c26
mov esi, dword [esi + 4]
jmp 0x407c29
add esi, 4
push 0x104
lea ecx, [esp + 0x254]
push esi
push ecx
call edi
add esp, 0xc
test ebx, ebx
je 0x407cb6
test eax, eax
je 0x407cb6
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x48]
lea eax, [esp + 0x250]
push ecx
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], str.open
mov dword [esp + 0x2c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x407cb6
mov al, byte [ebp + 0x10]
test al, al
jne 0x407cce
mov edx, dword [esp + 0x44]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x407cce
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, ebp
call fcn.00491e29
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00491e29
mov esp, ebp
pop ebp
ret
Function at 0x409060
Capabilities:
Delete registry value

Disassembly:
push ecx
mov eax, dword [0x4be460]
push esi
cmp eax, 8
mov eax, dword [0x4be44c]
mov esi, ecx
jae 0x409078
mov eax, 0x4be44c
lea ecx, [esp + 4]
push ecx
push 2
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4090b4
cmp dword [esi + 0xbc], 8
jb 0x4090a2
mov esi, dword [esi + 0xa8]
jmp 0x4090a8
add esi, 0xa8
mov edx, dword [esp + 4]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret
Function at 0x409860
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x493430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
mov eax, dword [0x4bdc98]
push ebx
push esi
push edi
xor eax, ebp
push 0x4a1130
mov dword [esp + 0x290], eax
lea eax, [esp + 0x4c]
push 0x4bec28
push eax
mov ebx, ecx
call fcn.00402280
push 0x4be314
push eax
lea ecx, [esp + 0x40]
xor edi, edi
push ecx
mov dword [esp + 0x2b4], edi
call fcn.00402180
push 0x4a1130
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x2c0], 1
call fcn.00402280
push 0x4a0a70
push eax
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x2cc], 2
call fcn.00402280
add esp, 0x30
lea ecx, [esp + 0x10]
mov byte [esp + 0x29c], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x29c], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x29c], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [0x4be460], 8
mov eax, dword [0x4be44c]
jae 0x409940
mov eax, 0x4be44c
push edi
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x20006
push edi
push edi
push edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, edi
jne 0x4099f5
mov word [esp + 0x80], di
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x82]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
stosw word es:[edi], ax
mov eax, 2
je 0x4099c3
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x40999a
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0x84]
push str.__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 0x10
lea eax, [eax + eax + 2]
cmp dword [ebx + 0xbc], 8
jb 0x4099d4
mov ebx, dword [ebx + 0xa8]
jmp 0x4099da
add ebx, 0xa8
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x64]
mov dword [esp + 0x29c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x28c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491e29
mov esp, ebp
pop ebp
ret 4