joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100279e9
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x1002cf9d
call fcn.1002a0fc
cmp byte [0x1003cde0], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
je 0x10027a48
call fcn.10004f40
test al, al
mov edx, 0x1002ea51
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x1003e5e0
call fcn.10004f40
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x10027a48
push 0x1003e5e0
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.10001b12
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.1000276d
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.10004f40
test ebx, ebx
jne 0x10027aae
cmp byte [0x1003cde0], bl
je 0x10027b0f
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x1003e5e0
push ebx
call fcn.10004f40
cmp byte [0x1003cde0], 0
pop ecx
pop ecx
je 0x10027b0f
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x10027b0f
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x1002e5c4]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x10027ad5
cmp byte [0x1003cde0], al
je 0x10027b0f
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x10027a8f
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1002e5c4]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x10027aff
cmp byte [0x1003cde0], al
je 0x10027b0f
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x10027a8f
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x48]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x4c]
mov dword [ecx], eax
call fcn.1002a0a6
ret
Function at 0x78baa772
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x78baa781
pop dword [ebp - 0x24]
mov eax, 0xb3ad46d3
add eax, 0xc50d60ae
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x8df6368c
add dword [ebp - 0x34], 0xc05c0ebf
mov dword [ebp - 0x30], 0xb1cf62e
sub dword [ebp - 0x30], 0xd8e9a9e9
mov dword [ebp - 0x2c], 0xddf6cb0f
sub dword [ebp - 0x2c], 0x91aa86e1
mov dword [ebp - 0x28], 0xbfce5783
sub dword [ebp - 0x28], 0xbfce5783
lea eax, [ebp - 0x34]
push eax
mov eax, 0xa02d0d40
add eax, 0xd88d0348
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x2f46ed88
add dword [ebp - 0x34], 0x452b7bce
mov dword [ebp - 0x30], 0xbdbf359a
sub dword [ebp - 0x30], 0x7c52d425
mov dword [ebp - 0x2c], 0x532602d9
add dword [ebp - 0x2c], 0x10496993
mov dword [ebp - 0x28], 0x9b63b766
add dword [ebp - 0x28], 0x649c489a
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xf5a3adac
add eax, 0x831662bc
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3c709
push 0
call eax
mov ecx, 0xd74916ed
sub ecx, 0xd748cf6b
xor edi, edi
add edi, eax
mov edx, 0x7edc941b
sub edx, 0x6205e1b
add edx, dword [ebp - 0x24]
mov esi, 0xb8d7e027
add esi, 0x9e382d01
xor dword [ebp - 8], esi
mov ebx, dword [edx]
xor dword [ebp - 8], edx
add ebx, esi
xor dword [ebp - 0x20], ebx
mov dword [edi], ebx
add dword [ebp - 0x1c], edi
add edi, 4
add edx, 0x1c31bc2c
add edx, 0xe3ce43d8
loop 0x78baa8a5
add eax, 0x110db
mov ebx, eax
add eax, 0xe1542e29
add eax, 0x1eabd1dc
mov ecx, 0x2fe6cda3
add ecx, 0x48d3325d
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x78bb1eb3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x78bbe5b0]
jne 0x78bb1ebd
repz ret
jmp fcn.78bb557c
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x1000f830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1000f83f
pop dword [ebp - 0x34]
mov eax, 0xaad3e03e
add eax, 0x652d1801
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x656edcf7
sub dword [ebp - 0x44], 0x171c97ac
mov dword [ebp - 0x40], 0xf973d693
sub dword [ebp - 0x40], 0xc7408a4e
mov dword [ebp - 0x3c], 0x53b360f9
sub dword [ebp - 0x3c], 0x7671ccb
mov dword [ebp - 0x38], 0x4e72bddc
sub dword [ebp - 0x38], 0x4e72bddc
lea eax, [ebp - 0x44]
push eax
mov eax, 0xb1383eb2
sub eax, 0xa136de52
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xfea2c203
sub dword [ebp - 0x44], 0x8a3058ad
mov dword [ebp - 0x40], 0x3773602d
add dword [ebp - 0x40], 0x9f90148
mov dword [ebp - 0x3c], 0x7de50eca
sub dword [ebp - 0x3c], 0x1a75a25e
mov dword [ebp - 0x38], 0xc9966146
sub dword [ebp - 0x38], 0xc9966146
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x394af
push 0
call eax
mov ecx, 0x4e1a
xor edx, edx
add edx, eax
mov edi, 0x57a5da3e
add edi, 0xb85c5bc2
add edi, dword [ebp - 0x34]
mov esi, 0xc3007814
sub esi, 0xef7055a9
xor dword [ebp - 0x1c], 0x1863110f
mov ebx, dword [edi]
xor dword [ebp - 4], ebx
sub ebx, esi
xor dword [ebp - 8], 0xd3efbd64
mov dword [edx], ebx
xor dword [ebp - 0x30], 0x989117dc
add edx, 4
add edi, 0xa5600cbf
add edi, 0x5a9ff345
loop 0x1000f958
add eax, 0xe8e59b6e
add eax, 0x171b8fcd
mov ebx, eax
add eax, 0x4dfc8afa
add eax, 0xb203750b
mov ecx, 0x7f5ec25
sub ecx, 0xf7f5ec25
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x41fcec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416fd2
and dword [ebp - 0x14], 0
cmp dword [0x4608f8], 0
mov dword [ebp - 0x18], eax
jne 0x41fd9f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fe47
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fe47
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4608f8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4608fc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x460900], eax
call edi
push eax
call esi
mov dword [0x460908], eax
test eax, eax
je 0x41fd9f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x460904], eax
mov eax, dword [0x460904]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fdf8
cmp dword [0x460908], ecx
je 0x41fdf8
push eax
call esi
push dword [0x460908]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fdf8
test ebx, ebx
je 0x41fdf8
call edi
test eax, eax
je 0x41fdef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fdef
test byte [ebp - 8], 1
jne 0x41fdf8
or dword [ebp + 0x10], 0x200000
jmp 0x41fe2b
mov eax, dword [0x4608fc]
cmp eax, dword [ebp - 0x18]
je 0x41fe2b
push eax
call esi
test eax, eax
je 0x41fe2b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fe2b
mov eax, dword [0x460900]
cmp eax, dword [ebp - 0x18]
je 0x41fe2b
push eax
call esi
test eax, eax
je 0x41fe2b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4608f8]
call esi
test eax, eax
je 0x41fe47
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fe49
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041152b
leave
ret

Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x3490b237
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x3490b395
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x3490b395
mov esi, dword [ebp]
test esi, esi
je 0x3490b395
push ebx
mov ebx, dword [esp + 0x20]
cmp ebx, 1
jne 0x3490b278
cmp esi, 2
jae 0x3490b278
pop ebx
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 0x18
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebp
push edi
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x3490b38a
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x3490b2c5
cmp ebx, 1
jne 0x3490b2b2
cmp ecx, 2
je 0x3490b2ce
pop ebx
pop edi
mov dword [esp + 0x1c], 0x65d
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
ret 0x18
cmp ebx, 1
jne 0x3490b38a
mov eax, dword [ebp]
cmp eax, esi
jae 0x3490b2e3
shr eax, 1
mov word [edi + eax*2], 0
mov ecx, dword [esp + 0x28]
jmp 0x3490b2ee
mov edx, esi
shr edx, 1
mov word [edi + edx*2 - 2], 0
cmp ecx, 2
jne 0x3490b38a
push esi
call dword [sym.imp.msvcr80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x3490b313
pop ebx
pop edi
pop esi
mov eax, 0xe
pop ebp
ret 0x18
shr esi, 1
push esi
push ebx
push edi
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
test eax, eax
jbe 0x3490b36c
cmp esi, eax
lea ecx, [eax + eax]
mov dword [ebp], ecx
jae 0x3490b34e
push ebx
mov word [edi], 0
mov dword [esp + 0x28], 0xea
call dword [sym.imp.msvcr80.dll_free]
mov eax, dword [esp + 0x28]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
ret 0x18
push esi
push edi
push ebx
call dword [sym.imp.MSO.dll_Ordinal_6877]
push ebx
call dword [sym.imp.msvcr80.dll_free]
mov eax, dword [esp + 0x28]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
ret 0x18
mov word [edi], 0
push ebx
mov dword [ebp], 0
mov dword [esp + 0x28], 0x57
call dword [sym.imp.msvcr80.dll_free]
add esp, 4
mov eax, dword [esp + 0x24]
pop ebx
pop edi
pop esi
pop ebp
ret 0x18
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 0x18
Function at 0x3490c660
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x34899a58]
jne 0x3490d352
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x3491f998], eax
mov dword [0x3491f994], ecx
mov dword [0x3491f990], edx
mov dword [0x3491f98c], ebx
mov dword [0x3491f988], esi
mov dword [0x3491f984], edi
mov word [0x3491f9b0], ss
mov word [0x3491f9a4], cs
mov word [0x3491f980], ds
mov word [0x3491f97c], es
mov word [0x3491f978], fs
mov word [0x3491f974], gs
pushfd
pop dword [0x3491f9a8]
mov eax, dword [ebp]
mov dword [0x3491f99c], eax
mov eax, dword [ebp + 4]
mov dword [0x3491f9a0], eax
lea eax, [ebp + 8]
mov dword [0x3491f9ac], eax
mov eax, dword [ebp - 0x320]
mov dword [0x3491f8e8], 0x10001
mov eax, dword [0x3491f9a0]
mov dword [0x3491f89c], eax
mov dword [0x3491f890], 0xc0000409
mov dword [0x3491f894], 1
mov eax, dword [0x34899a58]
mov dword [ebp - 0x328], eax
mov eax, dword [0x3491b924]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x3491f8e0], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34899dd4
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x3491f8e0], 0
jne 0x3490d442
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x6d001419
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 0x6d001467
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d001478
push 0xd
pop eax
jmp 0x6d0014a2
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 0x6d00147b
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 0x6d001b23
Capabilities:
Check if file exists
Create directory
Extract resource via kernel32 functions
Get file attributes
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x298]
sub esp, 0x318
mov eax, dword [0x6d0070c0]
xor eax, ebp
mov dword [ebp + 0x294], eax
mov eax, dword [ebp + 0x2a0]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x190]
push ecx
push eax
mov dword [ebp - 0x7c], eax
call fcn.6d0018dc
add esp, 0xc
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x6d001be9
push 0x104
lea eax, [ebp - 0x78]
push eax
push 0x6a
push dword [0x6d007104]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp + 0x190]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d001b8e
lea edi, [ebp - 0x78]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x6d001b9b
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x78]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR100.dll_printf]
pop ecx
push ebx
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x6d001be9
push 1
push 1
push 0x6b
call fcn.6d004444
add esp, 0xc
cmp eax, 0x80004005
jne 0x6d001be9
xor eax, eax
jmp 0x6d001c4f
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_CreateFileA]
push 0xa
push 0x1f4
push dword [0x6d007104]
mov esi, eax
call dword [sym.imp.kernel32.dll_FindResourceA]
mov edi, eax
push edi
push dword [0x6d007104]
call dword [sym.imp.kernel32.dll_LoadResource]
push edi
push dword [0x6d007104]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.kernel32.dll_SizeofResource]
push ebx
lea ecx, [ebp - 0x80]
push ecx
push eax
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x294]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d00396e
add ebp, 0x298
leave
ret
Function at 0x6d002339
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d0070c0]
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.6d004444
mov ebx, eax
cmp ebx, esi
je 0x6d0023ac
lea ecx, [ebp - 0x74]
call fcn.6d001347
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d00396e
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d0023c4
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d002339
cmp eax, esi
jne 0x6d0023f6
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 0x6d0023b4
lea ecx, [ebp - 0x74]
call fcn.6d001347
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d0012d8
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d001347
mov eax, esi
jmp 0x6d002392
Function at 0x6d00396e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d0070c0]
jne 0x6d003978
repz ret
jmp fcn.6d003f95

Function at 0x6d004444
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x6d004453
pop dword [ebp - 0x44]
mov eax, 0x46bba1e3
add eax, 0x2644a270
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x5c93792d
sub dword [ebp - 0x54], 0xe4133e2
mov dword [ebp - 0x50], 0x9418817c
sub dword [ebp - 0x50], 0x61e53537
mov dword [ebp - 0x4c], 0x28e569e9
sub dword [ebp - 0x4c], 0xdc9925bb
mov dword [ebp - 0x48], 0xd4971e9d
add dword [ebp - 0x48], 0x2b68e163
lea eax, [ebp - 0x54]
push eax
mov eax, 0xaeb2eeca
add eax, 0xbe4d615a
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xe9a3bee1
add dword [ebp - 0x54], 0x8aceaa75
mov dword [ebp - 0x50], 0xb77114c9
sub dword [ebp - 0x50], 0x7604b354
mov dword [ebp - 0x4c], 0xa28ad601
sub dword [ebp - 0x4c], 0x3f1b6995
mov dword [ebp - 0x48], 0x411a31ea
add dword [ebp - 0x48], 0xbee5ce16
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x73eee797
sub eax, 0x6ee9777
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3684c
push 0
call eax
mov ecx, 0x7d60f1f5
sub ecx, 0x7d60ab01
xor edi, edi
add edi, eax
mov ebx, 0x6d00b600
add ebx, dword [ebp - 0x44]
mov edx, 0xa8e05216
add dword [ebp - 0x3c], esi
mov esi, dword [ebx]
mov dword [ebp - 0x14], 0xa5210e77
xor esi, edx
add dword [ebp - 0x24], 0x4283d63b
mov dword [edi], esi
sub dword [ebp - 0x1c], edi
add edi, 4
add ebx, 0x14f90eb
sub ebx, 0x14f90e7
loop 0x6d00456b
add eax, 0x10ea3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xceb76e26
add ecx, 0x9e4891da
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x2e013ece
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e03021f
call fcn.2e00153c
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call fcn.2e014c10
test ax, ax
je 0x2e013f76
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e013f76
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e013f6d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e00bb0f
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e013f60
push esi
mov ecx, edi
call fcn.2e010c49
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e00bb0f
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e001586
ret

Function at 0x2e0149fe
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030292
call fcn.2e02e16c
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014b02
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e0148ed
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010b76
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014ac0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e032941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014ab7
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e00bb0f
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
push 0
push 0
push 0x2e032941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014aa9
push esi
mov ecx, edi
call fcn.2e010c49
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e00bb0f
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e014b02
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x2e014af9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e00bb0f
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e00bb0f
pop ecx
pop ecx
mov al, bl
call fcn.2e02e14a
ret 8
Function at 0x2e014b3c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e0302bf
call fcn.2e00153c
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014b76
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014bdc
lea eax, [ebp - 0x14]
mov edi, 0x2e032941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014bd3
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014bd3
inc eax
push eax
call fcn.2e00bb0f
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014bc5
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010c49
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e00bb0f
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e001586
ret 8