joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x228
mov dl, byte [0x40d49c]
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], dl
mov byte [esp + 0x134], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x135]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x138]
mov dword [esp + 0x14], str.shdocvw.dll
push eax
mov dword [esp + 0x1c], str.Shell32.dll
mov dword [esp + 0x20], str.Oleaut32.dll
mov dword [esp + 0x24], str.Actxprxy.dll
mov dword [esp + 0x28], str.Mshtml.dll
mov dword [esp + 0x2c], str.Urlmon.dll
mov dword [esp + 0x30], str.Msjava.dll
mov dword [esp + 0x34], str.Browseui.dll
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [esp + 0x23c]
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
xor ebp, ebp
lea esi, [esp + 0x10]
mov ecx, dword [esi]
lea edx, [esp + 0x134]
push ecx
push edx
push str._s_s
lea eax, [esp + 0x3c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea ecx, [esp + 0x44]
push edi
push ecx
call ebx
add esp, 0x1c
test eax, eax
je 0x4023dd
lea edx, [esp + 0x30]
push 0x104
lea eax, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x30]
push edi
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4023dd
inc ebp
add esi, 4
cmp ebp, 8
jb 0x402374
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x228
ret
Function at 0x4023f0
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a948
push 0x4089a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x834
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x1c]
push eax
push 0x40b63c
push 0x15
push esi
push 0x40b62c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402564
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x402538
mov dword [ebp - 0x830], esi
mov ecx, dword [eax]
lea edx, [ebp - 0x830]
push edx
push eax
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x830]
cmp eax, esi
je 0x402488
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
mov eax, dword [ebp - 0x830]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 8]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40252f
mov ecx, 0x200
lea edi, [ebp - 0x81c]
rep stosd dword es:[edi], eax
push 0x7ff
lea ecx, [ebp - 0x81c]
push ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [ebp - 0x82c], si
mov word [ebp - 0x840], 8
lea edx, [ebp - 0x81c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x840]
push edx
push eax
call dword [ecx + 0xd0]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp - 0x838]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403c90
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov dword [esp], 0
test eax, eax
je 0x403ca9
mov dword [esp], 1
mov ecx, dword [esp + 8]
lea eax, [esp]
push 4
push eax
push 4
push ecx
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push 0x40d048
push str.Q360SafeMainClass
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x403ceb
push 0
push 0x6f
push 0x597
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop ecx
ret 8
Function at 0x403cf0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov dword [esp], 1
test eax, eax
je 0x403d21
mov ecx, dword [esp + 8]
lea eax, [esp]
push 4
push eax
push 4
push ecx
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
jmp 0x403d36
mov edx, dword [esp + 8]
push edx
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push 0x40d048
push str.Q360SafeMainClass
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x403d5a
push 0
push 0x6f
push 0x597
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop ecx
ret 8
Function at 0x4040b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x158
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
push esi
push edi
push 0x40d048
push str.Q360SafeMainClass
call ebx
mov esi, eax
test esi, esi
je 0x40410e
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x168]
test eax, eax
jbe 0x404244
push 0x168
push eax
push 0x52c
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebx
add esp, 0x158
ret 4
mov al, byte [0x40d49c]
mov ecx, 0x40
mov byte [esp + 0x60], al
xor eax, eax
lea edi, [esp + 0x61]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0x60]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.MSVCRT.dll_strrchr]
lea edx, [esp + 0x60]
push 0x5c
push edx
call esi
add esp, 8
test eax, eax
je 0x40418d
mov byte [eax], 0
lea eax, [esp + 0x60]
push 0x5c
push eax
call esi
mov edx, eax
add esp, 8
test edx, edx
je 0x40418d
mov edi, str.360safe.exe
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
call fcn.00402260
add esp, 4
test al, al
je 0x404244
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x20]
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edx
push eax
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
mov dword [esp + 0x38], edx
push edx
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x44], 0x44
mov word [esp + 0x74], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x404244
mov esi, dword [esp + 0x168]
test esi, esi
jbe 0x404230
mov eax, dword [esp + 0xc]
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0x40d048
push str.Q360SafeMainClass
call ebx
test eax, eax
je 0x404230
push 0x168
push esi
push 0x52c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
pop edi
pop esi
pop ebx
add esp, 0x158
ret 4
Function at 0x404320
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebp
xor ebp, ebp
cmp ecx, ebp
push esi
jne 0x40432f
xor eax, eax
jmp 0x404332
mov eax, dword [ecx + 0x20]
push ebx
lea esi, [ecx + 0x1444]
push edi
push eax
mov ecx, esi
call fcn.00404fb0
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push str.MonAccess
mov ebx, 4
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40438e
mov ebp, 1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push str.PauseMon
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ebx
call edi
mov eax, dword [esp + 0x10]
pop edi
cmp eax, 1
pop ebx
mov eax, 1
je 0x4043d2
mov eax, dword [esp + 0x14]
test ebp, ebp
je 0x4043db
cmp eax, 1
jne 0x4043e2
mov ecx, esi
call fcn.004050a0
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x404810
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x409200
push eax
mov dword fs:[0], esp
sub esp, 0x4bc
push ebx
push esi
push edi
mov esi, ecx
push str.SiteAccess
xor ebx, ebx
xor edi, edi
call fcn.00404aa0
test eax, eax
jne 0x404847
mov edi, 1
push str.ExecAccess
mov ecx, esi
call fcn.00404aa0
test eax, eax
jne 0x404858
inc edi
push str.MonAccess
mov ecx, esi
call fcn.00404aa0
test eax, eax
jne 0x404869
inc edi
cmp edi, 2
jl 0x404a7c
push esi
lea ecx, [esp + 0x18]
call fcn.00402780
lea ecx, [esp + 0xc]
mov dword [esp + 0x4d0], ebx
call sub.MFC42.DLL_CString::CString
push 3
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d4], 1
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0xc]
push 2
push 1
push 0x40d2cc
push 0x40d19c
push eax
lea ecx, [esp + 0x28]
call fcn.00402960
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
je 0x40499f
lea ecx, [esp + 0xc]
mov byte [esp + 0x4d0], bl
call fcn.00408716
lea ecx, [esp + 0x3f0]
mov dword [esp + 0x4d0], 3
call fcn.004011f0
lea ecx, [esp + 0x318]
mov byte [esp + 0x4d0], 2
call fcn.004011f0
mov ebx, 4
mov dword [esp + 0x4d0], ebx
lea ecx, [esp + 0x2fc]
mov dword [esp + 0x2fc], 0x40a738
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x2fc]
mov byte [esp + 0x4d0], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x214]
mov dword [esp + 0x2fc], 0x40a724
mov byte [esp + 0x4d0], 6
call fcn.00402d70
lea ecx, [esp + 0x144]
mov byte [esp + 0x4d0], 5
call fcn.00402d70
lea ecx, [esp + 0x74]
mov byte [esp + 0x4d0], bl
call fcn.00402d70
lea ecx, [esp + 0x14]
mov dword [esp + 0x4d0], 0xffffffff
call fcn.00408842
mov eax, 1
jmp 0x404a7e
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x4d0], bl
call fcn.00408716
lea ecx, [esp + 0x3f0]
mov dword [esp + 0x4d0], 0xa
call fcn.004011f0
lea ecx, [esp + 0x318]
mov byte [esp + 0x4d0], 9
call fcn.004011f0
mov ebx, 0xb
mov dword [esp + 0x4d0], ebx
lea edx, [esp + 0x2fc]
mov dword [esp + 0x2fc], 0x40a738
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x2fc]
mov byte [esp + 0x4d0], 0xf
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x214]
mov dword [esp + 0x2fc], 0x40a724
mov byte [esp + 0x4d0], 0xd
call fcn.00402d70
lea ecx, [esp + 0x144]
mov byte [esp + 0x4d0], 0xc
call fcn.00402d70
lea ecx, [esp + 0x74]
mov byte [esp + 0x4d0], bl
call fcn.00402d70
lea ecx, [esp + 0x14]
mov dword [esp + 0x4d0], 0xffffffff
call fcn.00408842
xor eax, eax
mov ecx, dword [esp + 0x4c8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c8
ret
Function at 0x404aa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
lea ecx, [esp]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 4]
lea edx, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ecx, dword [esp]
xor eax, eax
test ecx, ecx
setne al
add esp, 0xc
ret 4

Function at 0x404af0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
lea ecx, [esp]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 4]
lea edx, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ecx, dword [esp]
xor eax, eax
cmp ecx, 1
sete al
add esp, 0xc
ret 4
Function at 0x404d50
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x210
mov dl, byte [0x40d49c]
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x118]
mov dword [esp + 0xc], 1
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x104
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, str.__start
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x11c]
lea edx, [esp + 0x10]
push ecx
push edx
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x404e39
lea eax, [esp + 0x14]
lea ecx, [esp + 0x118]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x404e7b
mov eax, dword [esp + 0x220]
test eax, eax
je 0x404e86
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop edi
pop esi
pop ebx
add esp, 0x210
ret 4
mov eax, dword [esp + 0x220]
test eax, eax
jne 0x404e9b
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
pop edi
pop esi
pop ebx
add esp, 0x210
ret 4
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x405850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
adc esi, esi
je 0x405888
push edi
mov edi, esi
or dword [eax - 0x48cf0d8c], 0x45
or bh, dh
ror dword [ecx - 0x75], 1
stc
inc edi
push edi
push eax
call 0x404a17
add edi, ecx
mov edi, eax
mov ebx, esp
rcr dword [ebp - 0x745a5cfe], 0xca
mov bh, 0xe1
add esi, ebx
movsb byte es:[edi], byte [esi]
pop edi
jbe 0x4058e7
sbb dword [eax], ecx
add byte [eax - 0x74aa6f70], dl
xor al, byte [ebx + 0x565324ec]
push edi
mov ecx, esp
or eax, 0xd28a1c33
test edi, edi
je 0x40588a
lea edi, [esp + ecx + 0x33ffc946]
sal dl, 0xae
pop ebx
ror dword [ecx - 0x7d], 1
sbb dword [esi], eax
jge 0x4058bb
mov dword [esp - 0x24], ecx
inc ebx
mov ebx, dword [edi + 0x4c68304]
add edx, ecx
mov esi, 0x8be075ff
inc ebp
or byte [edx + 0x52], al
push eax
call fcn.00404a60
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov dh, dh
mov esi, 0xd08bd445
mov dword [ebp - 4], ecx
pop edx
dec esi
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
inc ebp
clc
jmp 0x4058ee
adc dword [ebp - 0x5f558205], 0x44
out dx, al
fadd qword [ecx - 0x77]
dec ebp
cld
jmp 0x40590b
mov ecx, eax
mov edi, edx
adc eax, ebp
invalid

Function at 0x406e25
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x406e27
ret
Function at 0x44ad40
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0xc]
movzx edx, word [eax + 0x14]
movzx eax, word [ecx + 6]
mov ecx, eax
mov eax, dword [ebx + 0xc]
shl ecx, 3
add edx, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
add edx, ecx
mov ecx, dword [eax + 0x54]
add edx, 0x18
sub ecx, edx
cmp ecx, 0x28
jae 0x44ad7c
mov edx, dword [ebx + 8]
xor eax, eax
mov dword [edx + 0x18], 3
pop ebx
ret
mov edx, dword [ebx + 0xc]
movzx ecx, word [edx + 6]
inc ecx
mov eax, ecx
shl eax, 3
lea eax, [eax + eax*4]
push eax
call 0x490878
pop ecx
mov dword [ebx + 0x10], eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
movzx edx, word [edx + 0x14]
add edx, dword [ebx + 4]
add edx, 0x18
call fcn.0044a4e4
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
movzx eax, word [ecx + 6]
mov ecx, eax
mov eax, dword [ebx + 8]
shl ecx, 3
lea ecx, [ecx + ecx*4]
call fcn.0044a4f4
mov edx, dword [ebx + 8]
mov ecx, 0x28
mov eax, dword [ebx + 8]
mov edx, dword [edx + 0x20]
add edx, 0x58
call fcn.0044a4f4
mov eax, dword [ebx + 0xc]
movzx edx, word [eax + 6]
mov dword [ebx], edx
mov al, 1
pop ebx
ret

Function at 0x44b000
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xc]
dec word [eax + 6]
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 0x20]
mov edx, dword [ebx + 0xc]
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x28], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [eax + ecx*8 + 8]
mov ecx, dword [ebx + 0xc]
sub dword [ecx + 0x50], edx
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
call fcn.0044a4e4
mov ecx, 0x78
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.0044a520
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x20]
cmp dword [eax + 0x1c], 0
jl 0x44b07d
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 0x20]
mov edx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x1c]
movzx ecx, word [edx + 6]
cmp eax, ecx
jge 0x44b07d
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x20]
mov ecx, dword [edx + 0x1c]
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x10]
and dword [eax + ecx*8 + 0x24], 0x7fffffff
push 0x28
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 0x20]
add ecx, 0x58
push ecx
mov eax, dword [ebx + 0xc]
movzx edx, word [eax + 6]
mov ecx, edx
shl ecx, 3
lea ecx, [ecx + ecx*4]
add ecx, dword [ebx + 0x10]
push ecx
call 0x490fd8
mov eax, dword [ebx + 0xc]
add esp, 0xc
movzx edx, word [eax + 0x14]
add edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
add edx, 0x18
call fcn.0044a4e4
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
movzx ecx, word [edx + 6]
inc ecx
mov edx, dword [ebx + 0x10]
shl ecx, 3
lea ecx, [ecx + ecx*4]
call fcn.0044a520
pop ebx
ret

Function at 0x44bb18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jns 0x44bb2c
add ecx, 3
sar ecx, 2
xor eax, eax
cmp ecx, eax
jle 0x44bb3d
xor dword [edx + eax*4], ebx
inc eax
cmp ecx, eax
jg 0x44bb35
pop ebx
pop ebp
ret 0xc
Function at 0x45b6c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x45b6c6
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x42bb6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x437cd4]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x54]
mov dword [ecx], eax
xor edi, edi
push 0x43bc70
mov dword [esp + 0x18], edi
mov dword [esi], 0x42d8d0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.0042003c
mov dword [esi + 0x50], edi
lea edi, [esi + 0x10]
mov ecx, 8
xor eax, eax
rep stosd dword es:[edi], eax
lea edi, [esi + 0x30]
mov ecx, 8
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret