joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aea0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x4a4], 0
cmp dword [0x6a18bc], 0
jne 0x40aecd
xor al, al
jmp 0x40affb
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40aff3
cmp dword [ebp - 0x18], 0x10
jne 0x40af81
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x3fe
push 0
lea edx, [ebp - 0x41e]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x200
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x1c]
je 0x40af45
push str.Shell_Embedding
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40af81
push 1
lea ecx, [ebp - 0x4a0]
call fcn.00409eb0
mov dword [ebp - 0x4a8], eax
lea ecx, [ebp - 0x454]
call fcn.00409fa0
lea ecx, [ebp - 0x454]
call dword [sym.imp.MSVCP90.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
push 0
push 0
push 0x10
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40aff3
cmp dword [ebp - 0x18], 0x100
jne 0x40afc6
cmp dword [ebp - 0x14], 0x6f
je 0x40afae
cmp dword [ebp - 0x14], 0x4f
je 0x40afae
cmp dword [ebp - 0x14], 0x6c
je 0x40afae
cmp dword [ebp - 0x14], 0x4c
je 0x40afae
cmp dword [ebp - 0x14], 0x6e
je 0x40afae
cmp dword [ebp - 0x14], 0x4e
jne 0x40afc6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x80
je 0x40afc6
jmp 0x40aecd
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b010
add esp, 8
test eax, eax
jne 0x40afee
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40aecd
call dword [sym.imp.ole32.dll_OleUninitialize]
mov al, 1
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret
Function at 0x411be0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], 0x30
mov dword [ebp - 0x34], 0x3000
mov dword [ebp - 0x30], 0x411d70
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x1e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x1c], eax
push 1
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x411c68
xor eax, eax
jmp 0x411d62
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x40], eax
push 0x11
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
sub edx, dword [ecx + 0xc]
shr edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [eax + 0x10]
shr ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x44]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push SysReAllocString
push 0x616e24
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x18]
push ecx
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x44]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 4], 0
je 0x411d5c
mov ecx, dword [ebp - 0x44]
call fcn.00411fb0
push 5
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 3
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 4]
mov esp, ebp
pop ebp
ret
Function at 0x413320
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a054
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6a0f4c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x20
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24], 0
je 0x413374
mov ecx, dword [ebp - 0x24]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
jmp 0x41337b
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.MSVCP90.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x412e10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x413540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x413570
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x413590
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x1000
push 0x1000
call fcn.0047ce38
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4135fe
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
jmp 0x4136b1
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0
jne 0x413609
jmp 0x41367a
cmp dword [ebp + 8], 0
jne 0x41362b
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
and eax, 0x100000
jne 0x41362b
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
jmp 0x413661
cmp dword [ebp + 8], 1
jne 0x41364e
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
and ecx, 0x100000
je 0x41364e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
jmp 0x413661
cmp dword [ebp + 8], 2
jne 0x413661
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov dword [ebp - 4], 0x1000
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x4135fe
cmp dword [ebp - 8], 0
je 0x4136ac
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x413ca0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a0c3
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047ce38
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x413d36
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP90.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 [ebp - 0x40]
or ecx, 1
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret
Function at 0x413d90
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a113
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0047ce38
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x413e16
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x34]
call dword [0x614444]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP90.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 eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret
Function at 0x413f60
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x408], 0
mov byte [ebp - 0x250], 0
push 0x103
push 0
lea eax, [ebp - 0x24f]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x250]
push edx
call sub.MSVCR90.dll_strcpy
add esp, 8
push 0x61703c
lea eax, [ebp - 0x250]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
jne 0x413fe9
jmp 0x41411f
mov eax, 1
test eax, eax
je 0x414112
mov ecx, dword [ebp - 0x148]
and ecx, 0x10
jne 0x4140f3
lea edx, [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x274]
push eax
call fcn.00413f30
add esp, 8
cmp eax, 1
jle 0x4140f3
mov byte [ebp - 0x380], 0
push 0x103
push 0
lea ecx, [ebp - 0x37f]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x380]
push eax
call sub.MSVCR90.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x380]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
lea eax, [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
je 0x4140b3
mov dword [ebp - 0x418], 0x617034
jmp 0x4140bd
mov dword [ebp - 0x418], 0x61702c
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x384], ecx
push 1
lea ecx, [ebp - 0x404]
call fcn.00409eb0
mov dword [ebp - 0x40c], eax
lea ecx, [ebp - 0x3b8]
call fcn.00409fa0
lea ecx, [ebp - 0x3b8]
call dword [sym.imp.MSVCP90.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41410d
jmp 0x414112
jmp 0x413fe9
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret
Function at 0x4149f0
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414b65
mov dword [ebp - 8], 0
mov eax, 1
test eax, eax
je 0x414b5b
push 0xfb
push 0
lea ecx, [ebp - 0x158]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0xfb
lea edx, [ebp - 0x158]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x414a71
jmp 0x414b5b
push 0x104
push 0
lea edx, [ebp - 0x268]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x617044
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x268]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x414ac5
jmp 0x414a2b
mov byte [ebp - 0x58], 0
push 0x3f
push 0
lea eax, [ebp - 0x57]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x15c], 0x3f
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x15c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414b32
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x414b32
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004149f0
add esp, 0x10
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x414a2b
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret
Function at 0x414c70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov byte [ebp - 0x810], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x80f]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControl_s
push 0x3ff
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x414d1c
mov ecx, dword [ebp + 0xc]
push ecx
push 0x6170bc
push 0x3ff
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
xor al, al
jmp 0x414e33
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x414d6d
mov eax, dword [ebp - 0x40c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc]
push ecx
push 0x6170a8
push 0x3ff
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
xor al, al
jmp 0x414e33
mov eax, dword [ebp - 0x40c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc]
push ecx
push str.SOFTWAREWow6432NodeMicrosoftInternet_ExplorerMainFeatureControl_s
push 0x3ff
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x414dd6
mov eax, dword [ebp + 0xc]
push eax
push 0x6170bc
push 0x3ff
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
xor al, al
jmp 0x414e33
push 4
lea edx, [ebp + 0x14]
push edx
push 4
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x414e24
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
push eax
push 0x6170a8
push 0x3ff
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
xor al, al
jmp 0x414e33
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret 0x10
Function at 0x414e50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov byte [ebp - 0x810], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x80f]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push 0x3ff
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x414ef4
push 0x617158
push 0x3ff
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
xor al, al
jmp 0x415011
mov ecx, dword [ebp + 0x10]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
push eax
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x414f4c
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x617144
push 0x3ff
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
xor al, al
jmp 0x415011
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREWow6432NodeMicrosoftInternet_ExplorerMain
push 0x3ff
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x414fad
push 0x617158
push 0x3ff
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
xor al, al
jmp 0x415011
mov ecx, dword [ebp + 0x10]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
push eax
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x415002
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x617144
push 0x3ff
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
xor al, al
jmp 0x415011
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret 0xc