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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
cmp dword [0x4406c58], 0x594
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x2c], esi
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], ebx
jne 0x401412
push 0
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4192f8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x4192fc]
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x28], eax
call fcn.004013d2
mov ecx, dword [0x419300]
mov eax, dword [0x419304]
add dword [ebp - 4], 0x23f
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
pop esi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, ebx
mov edx, 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x4406c58], 0xfa9
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4406c54]
cmove eax, edx
xor edx, edx
cmp dword [0x4406c58], 0x3eb
mov dword [0x4406c54], eax
mov eax, dword [0x440305c]
cmove eax, edx
add ecx, ebx
mov dword [0x440305c], eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov eax, dword [ebp - 8]
xor edx, ecx
add eax, dword [ebp - 0x1c]
mov ecx, dword [0x4406c58]
xor eax, edx
mov dword [0x4406c50], 0xf4ea3dee
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, 0x213
jne 0x401546
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea eax, [ebp - 0xc4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
lea eax, [ebp - 0x44c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov eax, dword [ebp - 8]
mov ecx, dword [0x4406c58]
sub edi, eax
cmp ecx, 0xc
jne 0x401554
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov eax, edi
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov edx, dword [ebp - 4]
shr eax, cl
add edx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
xor eax, edx
mov edx, dword [ebp - 0xc]
xor edx, eax
mov dword [ebp - 0xc], edx
call fcn.004013d9
mov eax, dword [ebp - 0x18]
sub dword [ebp - 4], eax
dec esi
je 0x4015a0
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
jmp 0x401450
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d76d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4187a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408e17
mov dword [ebp - 0x14], eax
cmp dword [0x817a78], esi
jne 0x40d860
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d7ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d940
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d940
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d940
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x817a78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x817a7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x817a80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x817a88], eax
test eax, eax
je 0x40d85d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x817a84], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d885
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d878
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d89a
push 4
pop eax
jmp 0x40d942
cmp dword [ebp - 0x14], esi
je 0x40d89a
push dword [0x817a78]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d87f
mov eax, dword [0x817a84]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d8f8
cmp dword [0x817a88], edi
je 0x40d8f8
push eax
call ebx
push dword [0x817a88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d8f8
test eax, eax
je 0x40d8f8
call ecx
test eax, eax
je 0x40d8ed
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d8ed
test byte [ebp - 8], 1
jne 0x40d8f8
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d928
mov eax, dword [0x817a7c]
cmp eax, edi
je 0x40d925
push eax
call ebx
test eax, eax
je 0x40d925
call eax
mov esi, eax
test esi, esi
je 0x40d925
mov eax, dword [0x817a80]
cmp eax, edi
je 0x40d925
push eax
call ebx
test eax, eax
je 0x40d925
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x817a78]
call ebx
test eax, eax
je 0x40d940
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d942
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041ee
mov esp, ebp
pop ebp
ret
Function at 0x401060
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
lea eax, [ebp - 0x88]
push ebx
sub esp, 0x9c
mov dword [esp + 4], eax
mov dword [esp], str.browseui.dll
call fcn.004012d4
sub esp, 8
test eax, eax
jne 0x4010a8
mov dword [esp], str.Native_IE_detected__not_doing_registration_n
call fcn.00401000
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x8c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x80]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], str.browseui.dll
call fcn.004012c4
lea eax, [ebp - 0x7c]
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.VarFileInfoTranslation
mov dword [esp], edi
call fcn.004012b4
sub esp, 0x10
test eax, eax
jne 0x401148
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
sub esp, 0xc
jmp 0x40108b
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax + 2]
mov dword [esp + 0xc], ecx
movzx eax, word [eax]
lea ecx, [ebp - 0x78]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str.StringFileInfo_04x_04xFileDescription
call fcn.004012f8
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x78]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.004012b4
sub esp, 0x10
test eax, eax
je 0x40111a
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], 0x403044
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsstr]
mov edx, dword [ebp - 0x8c]
test eax, eax
je 0x40111a
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
mov edx, str.UnregisterIE
mov eax, str.RegisterIE
sub esp, 0xc
test esi, esi
cmove eax, edx
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00401290
sub esp, 0xc
lea esp, [ebp - 0xc]
shr eax, 0x1f
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401330
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll__configure_wide_argv]
call dword [sym.imp.ucrtbase.dll__initialize_wide_environment]
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call dword [sym.imp.ucrtbase.dll__get_initial_wide_environment]
mov ebx, eax
mov eax, dword [0x40003c]
cmp word [eax + 0x40005c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__set_app_type]
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x4013a0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
call sub.kernel32.dll_GetCommandLineW
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40142b
cmp ax, 9
je 0x401418
cmp ax, 0x20
je 0x401418
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp ax, 0x5c
je 0x401478
cmp ax, 0x22
je 0x401488
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40142b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x4013d0
test edi, 1
jne 0x4013d0
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x401418
cmp ax, 0x20
je 0x401418
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.kernel32.dll_GetStartupInfoW
sub esp, 4
test byte [ebp - 0x30], 1
je 0x4014a0
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.kernel32.dll_GetModuleHandleW
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401210
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x6c], 1
jmp 0x4013eb
and dword [ebp - 0x6c], 1
jne 0x4013e4
xor edi, 1
jmp 0x4013eb
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x401443
Function at 0x4013a0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll__configure_wide_argv]
call dword [sym.imp.ucrtbase.dll__initialize_wide_environment]
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call dword [sym.imp.ucrtbase.dll__get_initial_wide_environment]
mov ebx, eax
mov eax, dword [0x40003c]
cmp word [eax + 0x40005c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__set_app_type]
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x4013a0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
call sub.kernel32.dll_GetCommandLineW
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40142b
cmp ax, 9
je 0x401418
cmp ax, 0x20
je 0x401418
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp ax, 0x5c
je 0x401478
cmp ax, 0x22
je 0x401488
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40142b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x4013d0
test edi, 1
jne 0x4013d0
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x401418
cmp ax, 0x20
je 0x401418
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.kernel32.dll_GetStartupInfoW
sub esp, 4
test byte [ebp - 0x30], 1
je 0x4014a0
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.kernel32.dll_GetModuleHandleW
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401210
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x6c], 1
jmp 0x4013eb
and dword [ebp - 0x6c], 1
jne 0x4013e4
xor edi, 1
jmp 0x4013eb
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x401443
Function at 0x6d601bdd
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
push ebp
push edi
mov edi, dword [esp + 0x2c]
xor ebp, ebp
cmp edi, ebp
jne 0x6d601bf6
mov eax, 0x80004003
jmp 0x6d601cad
push esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x102c]
cmp eax, ebp
jne 0x6d601ca1
mov dword [edi], ebp
call fcn.6d607908
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp dword [esi + 0xc], ebp
je 0x6d601ca7
cmp eax, ebp
jne 0x6d601c7c
cmp dword [esi + 0x1040], 3
jge 0x6d601c7c
push ebx
mov ebx, dword [sym.imp.kernel32.dll_WaitForSingleObject]
jmp 0x6d601c6d
push ebp
push dword [esi + 0x103c]
call ebx
test eax, eax
je 0x6d601c7b
push 1
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x6d601c6d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push dword [esi + 0x1038]
call ebx
test eax, eax
jne 0x6d601c36
pop ebx
cmp dword [esi + 0x1040], 5
jl 0x6d601c8f
mov dword [esi + 0x102c], ebp
mov dword [edi], ebp
jmp 0x6d601ca3
mov ecx, dword [esi + 0xc]
cmp ecx, ebp
je 0x6d601ca7
call fcn.6d60727b
mov dword [esi + 0x102c], eax
mov dword [edi], eax
xor eax, eax
jmp 0x6d601cac
mov eax, 0x80004005
pop esi
pop edi
pop ebp
add esp, 0x1c
ret 8

Function at 0x6d605090
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x6d6169cc]
push esi
xor esi, esi
cmp eax, esi
jne 0x6d6050d0
push 0x6d6169cc
push esi
push esi
push 0x6d605025
push esi
push esi
call dword [sym.imp.kernel32.dll_CreateThread]
cmp dword [0x6d6169cc], esi
je 0x6d6050cb
push esi
push esi
push esi
push dword [0x6d6169cc]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
je 0x6d6050b8
mov eax, dword [0x6d6169cc]
pop esi
ret
Function at 0x6d60520e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
mov byte [eax], bl
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
mov byte [edi], bl
mov byte [eax], bl
mov dword [ebp + 0x18], ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x6d6052be
mov eax, dword [esi]
lea ecx, [ebp + 0x18]
push ecx
push 0x6d610144
push str.UniversalBrowserRead
push esi
call dword [eax + 0xc]
push dword [ebp + 0x14]
mov al, byte [ebp + 0x18]
push dword [ebp + 0x10]
mov byte [edi], al
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push 0x6d610160
push str.UniversalJavaPermission
push esi
call dword [eax + 0xc]
mov al, byte [ebp - 4]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov byte [ecx], al
cmp byte [edi], bl
je 0x6d6052a0
push str.Origin_is
call esi
push dword [ebp + 0x10]
call esi
push 0x6d610188
call esi
cmp byte [edi], bl
je 0x6d6052a0
push str.UniversalBrowserRead_is_TRUE_n
jmp 0x6d6052a5
push str.UniversalBrowserRead_is_FALSE_n
call esi
mov eax, dword [ebp + 0x1c]
cmp byte [eax], bl
je 0x6d6052b5
push str.UniversalJavaPermission_is_TRUE_n
jmp 0x6d6052ba
push str.UniversalJavaPermission_is_FALSE_n
call esi
jmp 0x6d6052c4
call dword [sym.imp.kernel32.dll_DebugBreak]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x18
Function at 0x6d60a28b
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d60a2d9
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d60a2ea
push 0xd
pop eax
jmp 0x6d60a314
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d60a2ed
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d60a7b2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d616878]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d60e202
mov ebx, eax
cmp ebx, esi
je 0x6d60a825
lea ecx, [ebp - 0x74]
call fcn.6d601774
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d60d7d5
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d60a83d
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d60a7b2
cmp eax, esi
jne 0x6d60a86f
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], pe_nt_image_headers32
call ebx
test eax, eax
je 0x6d60a82d
lea ecx, [ebp - 0x74]
call fcn.6d601774
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d609c12
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d601774
mov eax, esi
jmp 0x6d60a80b
Function at 0x6d60d7d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d616878]
jne 0x6d60d7df
repz ret
jmp fcn.6d60de74

Function at 0x6d60e202
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x6d60e211
pop dword [ebp - 0x14]
mov eax, 0x6742dc7f
add eax, 0x61e0592
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x6f2deb3e
sub dword [ebp - 0x24], 0x20dba5f3
mov dword [ebp - 0x20], 0x22f61b35
sub dword [ebp - 0x20], 0xf0c2cef0
mov dword [ebp - 0x1c], 0x7ec2c26c
add dword [ebp - 0x1c], 0xcd8981c2
mov dword [ebp - 0x18], 0x9aa72d5e
add dword [ebp - 0x18], 0x6558d2a2
lea eax, [ebp - 0x24]
push eax
mov eax, 0x53890bbd
add eax, 0x19d7e467
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x7602685b
sub dword [ebp - 0x24], 0x18fff05
mov dword [ebp - 0x20], 0xfe3dc7aa
sub dword [ebp - 0x20], 0xbcd16635
mov dword [ebp - 0x1c], 0xd2df94dc
sub dword [ebp - 0x1c], 0x6f702870
mov dword [ebp - 0x18], 0x54f3233b
add dword [ebp - 0x18], 0xab0cdcc5
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xdd64cfe9
sub eax, 0x7003dfc9
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3b858
push 0
call eax
mov ecx, 0x891fc49e
sub ecx, 0x891f6bfa
xor esi, esi
add esi, eax
mov edx, 0x17cac1f4
sub edx, 0xaa6925f4
add edx, dword [ebp - 0x14]
mov edi, 0x4ddae060
sub edi, 0xca9c4588
sub dword [ebp - 0xc], 0xf66aa2
mov ebx, dword [edx]
add dword [ebp - 0xc], 0x477abcfd
add ebx, edi
xor dword [ebp - 4], esi
mov dword [esi], ebx
add dword [ebp - 4], edx
add esi, 0xfcd9169a
add esi, 0x326e96a
add edx, 0xf1b04703
add edx, 0xe4fb901
loop 0x6d60e335
add eax, 0x5838afe3
sub eax, 0x58375a80
xor ebx, ebx
add ebx, eax
add eax, 0x74c6a123
sub eax, 0x74c6a11e
mov ecx, 0x1c84656c
add ecx, 0x50db9a94
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x1003cb80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1003cb8f
pop dword [ebp - 0x20]
mov eax, 0x5f4d2a18
sub eax, 0x4f495e89
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x6cc94b83
add dword [ebp - 0x30], 0xe188f9c8
mov dword [ebp - 0x2c], 0xc7f7af9b
sub dword [ebp - 0x2c], 0x95c46356
mov dword [ebp - 0x28], 0x1b557b1f
sub dword [ebp - 0x28], 0xcf0936f1
mov dword [ebp - 0x24], 0xabdd507f
add dword [ebp - 0x24], 0x5422af81
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x4802dbfe
add dword [ebp - 0x30], 0x2c6f8d58
mov dword [ebp - 0x2c], 0xb779f451
add dword [ebp - 0x2c], 0x89f26d24
mov dword [ebp - 0x28], 0x225af1bf
add dword [ebp - 0x28], 0x41147aad
mov dword [ebp - 0x24], 0x402d0d19
add dword [ebp - 0x24], 0xbfd2f2e7
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x728f3fef
sub eax, 0x628acf0b
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x42aae
push 0
call eax
mov ecx, 0x48e3
xor edi, edi
add edi, eax
mov edx, 0x607500f0
sub edx, 0x506ed0f0
add edx, dword [ebp - 0x20]
mov esi, 0xef5986cb
add esi, 0xe3f08cdd
sub dword [ebp - 0x1c], eax
mov ebx, dword [edx]
xor dword [ebp - 0x14], edi
add ebx, esi
mov dword [ebp - 0xc], 0x922e24b
mov dword [edi], ebx
add dword [ebp - 4], eax
add edi, 4
add edx, 4
loop 0x1003cca8
add eax, 0x1101417b
sub eax, 0x11002b1c
mov ebx, eax
add eax, 5
mov ecx, 0xe1d1ca4b
sub ecx, 0xd1d1ca4b
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x446890
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4469f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004038a0
mov eax, dword [ebp - 0x10]
call fcn.0044642c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4468e2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00403cc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00446da8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4469b7
xor eax, eax
push ebp
push 0x4469b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00446594
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00446a08
test al, al
je 0x44698e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004038ec
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x44698e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403c48
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x446988
mov eax, dword [ebp - 0x14]
call fcn.00403c48
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004039bc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00446890
dec ebx
cmp ebx, 0xffffffff
jne 0x446941
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4469b7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00446594
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00403c48
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00446580
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446a00
lea eax, [ebp - 0x3c]
call fcn.00403808
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040382c
ret

Function at 0x446a08
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402980
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x457ec4]
cmp byte [edx + 8], 0
je 0x446a6c
mov edx, dword [0x457ec0]
cmp dword [edx], 2
jne 0x446a6c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret