joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e03d940
Capabilities:
Print debug messages
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x6e07047b], 0
push ebx
push edi
mov edi, ecx
mov ebx, 0x6e070068
jne 0x6e03d95e
cmp byte [0x6e07047a], 0
je 0x6e03d99b
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x6e03d969
mov eax, dword [eax]
push dword [ebp + 8]
push eax
push str.CMemMappedFile__s__mapForReading_numBytes_u_
push ebx
call fcn.6e0184f0
add esp, 0x10
cmp byte [0x6e07047a], 0
je 0x6e03d98b
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e03d99b
push ebx
call fcn.6e003fc0
pop ecx
mov eax, dword [edi]
push esi
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x6e050848]
mov ecx, edi
call esi
cmp dword [edi + 0x20], 0
jne 0x6e03d9e9
cmp byte [edi + 0x30], 0
jne 0x6e03d9cc
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x6e050848]
mov ecx, edi
call esi
jmp 0x6e03d9e5
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x6e03d9d7
mov eax, dword [eax]
push eax
push 0
push 4
call dword [sym.imp.kernel32.dll_OpenFileMappingA]
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], 0
pop esi
je 0x6e03da2f
push dword [ebp + 8]
push 0
push 0
push 4
push dword [edi + 0x20]
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [edi + 0x28], eax
test eax, eax
jne 0x6e03da84
cmp byte [0x6e07047b], al
jne 0x6e03da15
cmp byte [0x6e07047a], al
je 0x6e03da82
add edi, 4
cmp dword [edi + 0x14], 0x10
jb 0x6e03da20
mov edi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
push str.CMemMappedFile__s__ERROR_MAPPING_FILE_FOR_READING__err_u_
jmp 0x6e03da59
cmp byte [0x6e07047b], 0
jne 0x6e03da41
cmp byte [0x6e07047a], 0
je 0x6e03da82
add edi, 4
cmp dword [edi + 0x14], 0x10
jb 0x6e03da4c
mov edi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
push str.CMemMappedFile__s__ERROR_OPENING_FILE_FOR_READING__err_u_
push ebx
call fcn.6e0184f0
add esp, 0x10
cmp byte [0x6e07047a], 0
je 0x6e03da72
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e03da82
push ebx
call fcn.6e003fc0
pop ecx
xor eax, eax
pop edi
pop ebx
pop ebp
ret 4
Function at 0x6e03da90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x6e07047b], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, 0x6e070068
jne 0x6e03dab2
cmp byte [0x6e07047a], 0
je 0x6e03daed
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x6e03dabd
mov eax, dword [eax]
push ebx
push eax
push str.CMemMappedFile__s__mapForWriting_numBytes_u_
push esi
call fcn.6e0184f0
add esp, 0x10
cmp byte [0x6e07047a], 0
je 0x6e03dadd
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e03daed
push esi
call fcn.6e003fc0
pop ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x6e050848]
mov ecx, edi
call esi
cmp dword [edi + 0x20], 0
jne 0x6e03db40
cmp byte [edi + 0x30], 0
jne 0x6e03db1d
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x6e050848]
mov ecx, edi
call esi
jmp 0x6e03db36
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x6e03db28
mov eax, dword [eax]
push eax
push 0
push 2
call dword [sym.imp.kernel32.dll_OpenFileMappingA]
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], 0
je 0x6e03dbe0
push ebx
push 0
push 0
push 2
push dword [edi + 0x20]
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [edi + 0x28], eax
test eax, eax
je 0x6e03dbb4
cmp byte [0x6e07047b], 0
jne 0x6e03db69
cmp byte [0x6e07047a], 0
je 0x6e03dba9
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x6e03db74
mov eax, dword [eax]
push ebx
push eax
push str.CMemMappedFile__s__mapped_for_writing__u_bytes
mov esi, 0x6e070068
push esi
call fcn.6e0184f0
add esp, 0x10
cmp byte [0x6e07047a], 0
je 0x6e03db99
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e03dba9
push esi
call fcn.6e003fc0
pop ecx
mov eax, dword [edi + 0x28]
mov dword [edi + 0x2c], ebx
jmp 0x6e03dc3a
cmp byte [0x6e07047b], 0
jne 0x6e03dbc6
cmp byte [0x6e07047a], 0
je 0x6e03dc38
add edi, 4
cmp dword [edi + 0x14], 0x10
jb 0x6e03dbd1
mov edi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
push str.CMemMappedFile__s__ERROR_MAPPING_FILE_FOR_WRITING__err_u_
jmp 0x6e03dc0a
cmp byte [0x6e07047b], 0
jne 0x6e03dbf2
cmp byte [0x6e07047a], 0
je 0x6e03dc38
add edi, 4
cmp dword [edi + 0x14], 0x10
jb 0x6e03dbfd
mov edi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
push str.CMemMappedFile__s__ERROR_OPENING_FILE_FOR_WRITING__err_u_
mov esi, 0x6e070068
push esi
call fcn.6e0184f0
add esp, 0x10
cmp byte [0x6e07047a], 0
je 0x6e03dc28
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e03dc38
push esi
call fcn.6e003fc0
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x6e03dcc0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x28], edi
je 0x6e03dd3c
cmp byte [0x6e07047b], 0
jne 0x6e03dcdd
cmp byte [0x6e07047a], 0
je 0x6e03dd1e
lea eax, [esi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x6e03dce8
mov eax, dword [eax]
push ebx
push eax
push str.CMemMappedFile__s__unmap
mov ebx, 0x6e070068
push ebx
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e03dd0d
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e03dd1d
push ebx
call fcn.6e003fc0
pop ecx
pop ebx
cmp dword [esi + 0x2c], edi
jbe 0x6e03dd30
push dword [esi + 0x2c]
push edi
call dword [sym.imp.kernel32.dll_FlushViewOfFile]
mov dword [esi + 0x2c], edi
push dword [esi + 0x28]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov dword [esi + 0x28], edi
pop edi
pop esi
ret

Function at 0x6e03dd40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x6e07047b], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov esi, 0x6e070068
jne 0x6e03dd62
cmp byte [0x6e07047a], 0
je 0x6e03dda0
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x6e03dd6d
mov eax, dword [eax]
push ebx
push dword [ebp + 0xc]
push eax
push str.CMemMappedFile__s__writeBytes_offset_u__length_u_
push esi
call fcn.6e0184f0
add esp, 0x14
cmp byte [0x6e07047a], 0
je 0x6e03dd90
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e03dda0
push esi
call fcn.6e003fc0
pop ecx
mov ecx, dword [edi]
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x6e050848]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
je 0x6e03dde4
mov eax, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi]
add esp, 0xc
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x6e050848]
mov ecx, edi
call esi
mov al, 1
jmp 0x6e03de3b
cmp byte [0x6e07047b], 0
jne 0x6e03ddf6
cmp byte [0x6e07047a], 0
je 0x6e03de39
lea eax, [edi + 4]
cmp dword [eax + 0x14], 0x10
jb 0x6e03de01
mov eax, dword [eax]
push ebx
push dword [ebp + 0xc]
mov esi, 0x6e070068
push eax
push str.CMemMappedFile__s__ERROR_WRITING__NO_MEMORY_MAPPED_FILE_
push esi
call fcn.6e0184f0
add esp, 0x14
cmp byte [0x6e07047a], 0
je 0x6e03de29
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e03de39
push esi
call fcn.6e003fc0
pop ecx
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x6e03edf4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x6e07088c], 0
jne 0x6e03ee63
push ebx
call fcn.6e0184f0
xor ebx, ebx
mov byte [0x6e07088d], al
inc ebx
test al, al
jne 0x6e03ee5c
call fcn.6e047b14
cmp eax, 0x6b
jl 0x6e03ee5c
xor eax, eax
mov byte [ebp - 2], al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 2]
push eax
call fcn.6e0184f0
add esp, 0x10
test al, al
je 0x6e03ee5c
movzx eax, byte [0x6e07088d]
cmp byte [ebp - 1], 0
cmovne eax, ebx
mov byte [0x6e07088d], al
mov byte [0x6e07088c], bl
pop ebx
cmp byte [0x6e07047b], 0
jne 0x6e03ee75
cmp byte [0x6e07047a], 0
je 0x6e03eeaf
cmp byte [0x6e07088d], 0
mov ecx, str.FALSE
push esi
mov eax, str.TRUE
mov esi, 0x6e070480
cmove eax, ecx
push eax
push str.IsRunningInAppContainer___s
push esi
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e03eeae
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
mov al, byte [0x6e07088d]
leave
ret
Function at 0x6e040737
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x440
mov eax, 0x6e04df3f
call fcn.6e0493da
mov eax, dword [ebp + 8]
mov esi, 0x208
mov dword [ebp - 0x438], eax
xor edi, edi
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x424]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x434], 0x104
lea eax, [ebp - 0x428]
xorps xmm0, xmm0
movsd qword [ebp - 0x430], xmm0
push eax
push 0x20019
push edi
push 0x6e05c800
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e040956
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x434]
mov ebx, edi
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
jmp 0x6e040843
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp qword [ebp - 0x44c]
movsd xmm0, qword [ebp - 0x44c]
comisd xmm0, xmmword [0x6e05cac0]
pop ecx
jbe 0x6e04082f
comisd xmm0, xmmword [ebp - 0x430]
jbe 0x6e04082f
lea eax, [ebp - 0x21c]
movsd qword [ebp - 0x430], xmm0
push eax
lea eax, [ebp - 0x424]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x434]
inc ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
je 0x6e0407db
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
jne 0x6e040956
push str.ClientUserInterface
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov esi, eax
mov dword [esp], str.SoftwareMicrosoftSoftGrid_
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
xor ecx, ecx
mov dword [ebp - 0x42c], edi
push 2
pop edx
lea ebx, [eax + 0x105]
mov dword [ebp - 4], edi
add ebx, esi
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6e0184f0
mov esi, eax
mov dword [ebp - 0x42c], esi
pop ecx
pop ecx
test esi, esi
je 0x6e040956
push ebx
push edi
push esi
call fcn.6e0184f0
push str.SoftwareMicrosoftSoftGrid_
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x424]
push eax
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push str.ClientUserInterface
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x30
lea eax, [ebp - 0x428]
push eax
push 0x20019
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e04094f
push dword [ebp - 0x438]
push str.LaunchCommand
push dword [ebp - 0x428]
call fcn.6e040989
add esp, 0xc
push dword [ebp - 0x43c]
push str.DDELaunchCommand
push dword [ebp - 0x428]
call fcn.6e040989
add esp, 0xc
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.6e04977e
pop ecx
call fcn.6e049327
ret
Function at 0x6e040989
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x6e04df67
call fcn.6e0493a3
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6e040ace
cmp dword [ebp - 0x18], 1
jne 0x6e040ace
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
inc eax
mov dword [ebp - 4], ebx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6e0184f0
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
test esi, esi
je 0x6e040ace
push dword [ebp - 0x14]
push ebx
push esi
call fcn.6e0184f0
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea eax, [eax*2 - 2]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6e040ac3
cmp dword [ebp - 0x18], 1
jne 0x6e040ac3
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov dword [ebp - 0x14], eax
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.6e0184f0
mov dword [edi], eax
pop ecx
test eax, eax
je 0x6e040ac3
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push ebx
push eax
call fcn.6e0184f0
lea eax, [ebp - 0x20]
push eax
push 0x6e05c7fc
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok_s]
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x6e040aa7
push ebx
call fcn.6e0184f0
pop ecx
test al, al
je 0x6e040aa7
mov eax, dword [ebp - 0x14]
push ebx
inc eax
push eax
push dword [edi]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
jmp 0x6e040ac3
push dword [edi]
call fcn.6e04977e
and dword [edi], 0
pop ecx
jmp 0x6e040ac3
test esi, esi
je 0x6e040ace
push esi
call fcn.6e04977e
pop ecx
call fcn.6e049301
ret

Function at 0x6e0411f3
Capabilities:
Print debug messages

Disassembly:
push esi
push 0x6e05c544
xor esi, esi
call fcn.6e0184f0
pop ecx
test eax, eax
jne 0x6e041214
push 0x6e05c55c
call fcn.6e0184f0
pop ecx
test eax, eax
je 0x6e041217
xor esi, esi
inc esi
cmp byte [0x6e07047b], 0
jne 0x6e041229
cmp byte [0x6e07047a], 0
je 0x6e04125f
push edi
push esi
push str._BrowserIntegrationWin__IsLoadedInProcByAcrobat__d
mov edi, 0x6e070898
push edi
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e04124e
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e04125e
push edi
call fcn.6e003fc0
pop ecx
pop edi
mov eax, esi
pop esi
ret
Function at 0x6e0435b8
Capabilities:
Print debug messages

Disassembly:
push esi
push str.sftldr.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x6e043636
push str.sftldr_wow64.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
jne 0x6e043636
push ebx
push str.AppVEntSubsystems32.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
setne bl
cmp byte [0x6e07047b], 0
jne 0x6e0435fa
cmp byte [0x6e07047a], 0
je 0x6e043631
movzx eax, bl
mov esi, 0x6e071400
push eax
push str._ACTWinBrowser__IsRunningInAppV_isAppV5___d
push esi
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e043621
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e043631
push esi
call fcn.6e003fc0
pop ecx
mov al, bl
pop ebx
pop esi
ret
cmp byte [0x6e07047b], 0
jne 0x6e043648
cmp byte [0x6e07047a], 0
je 0x6e04367a
push str._ACTWinBrowser__IsRunningInAppV_isAppV4OrEarlier
mov esi, 0x6e071400
push esi
call fcn.6e0184f0
cmp byte [0x6e07047a], 0
pop ecx
pop ecx
je 0x6e04366a
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e04367a
push esi
call fcn.6e003fc0
pop ecx
mov al, 1
pop esi
ret
Function at 0x6e047ca3
Capabilities:
Print debug messages

Disassembly:
push esi
push 8
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x6e047cc0
push 8
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [0x6e07047b], 0
jne 0x6e047cd6
cmp byte [0x6e07047a], 0
je 0x6e047e15
push edi
push 0x64
push str.sizeof__t_ASMBlock____d
mov edi, 0x6e071858
push edi
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047cfc
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047d15
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047d1e
cmp byte [0x6e07047a], 0
je 0x6e047d3e
push 4
push str.sizeof_Uns32____d
push edi
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047d3e
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047d57
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047d60
cmp byte [0x6e07047a], 0
je 0x6e047d80
push 4
push str.sizeof_HANDLE____d
push edi
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047d80
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047d99
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047da2
cmp byte [0x6e07047a], 0
je 0x6e047dc2
push 4
push str.sizeof_Handle32____d
push edi
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047dc2
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047ddb
push edi
call fcn.6e003fc0
cmp byte [0x6e07047b], 0
pop ecx
jne 0x6e047de4
cmp byte [0x6e07047a], 0
je 0x6e047e04
push 4
push str.sizeof_void____d
push edi
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047e04
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047e14
push edi
call fcn.6e003fc0
pop ecx
pop edi
mov eax, esi
pop esi
ret

Function at 0x6e047eae
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x6e04ca0e
call fcn.6e04936c
cmp byte [0x6e07047b], 0
mov ebx, 0x6e071858
mov edi, dword [ebp + 8]
jne 0x6e047ed9
mov al, byte [0x6e07047a]
test al, al
jne 0x6e047ed9
lea esi, [edi + 4]
jmp 0x6e047ef0
lea esi, [edi + 4]
push esi
push str.ASM_Release__s
push ebx
call fcn.6e0184f0
mov al, byte [0x6e07047a]
add esp, 0xc
test al, al
je 0x6e047efb
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047f0b
push ebx
call fcn.6e003fc0
pop ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.6e0184f0
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.6e03d080
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x6e047f3e
mov ecx, dword [ebx]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x28]
call fcn.6e0108ff
and dword [edi + 0x4c], 0
and dword [edi + 0x44], 0
call fcn.6e049316
ret
Function at 0x6e047f54
Capabilities:
Print debug messages

Disassembly:
push 0x24
mov eax, 0x6e04e1e0
call fcn.6e04936c
cmp byte [0x6e07047b], 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
jne 0x6e047f81
cmp byte [0x6e07047a], 0
je 0x6e047fd0
call fcn.6e0184f0
test al, al
mov edx, 0x6e051790
mov ecx, str._in_AppContaner
cmove ecx, edx
push ecx
push str.ASM_Retrieve_retrieving_shared_memory_in_Plug_in_s
push 0x6e071858
call fcn.6e0184f0
add esp, 0xc
cmp byte [0x6e07047a], 0
je 0x6e047fbc
push 0x6e071858
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e047fd0
push 0x6e071858
call fcn.6e003fc0
pop ecx
and dword [esi], 0
lea eax, [edi + 4]
and dword [ebx], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.6e0184f0
push dword [edi + 0x48]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.6e03d080
or dword [ebp - 4], 0xffffffff
mov ebx, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.6e0108ff
test ebx, ebx
jne 0x6e04804e
cmp byte [0x6e07047b], bl
jne 0x6e04801a
cmp byte [0x6e07047a], bl
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__finding_memory_mapped_file_
mov ebx, 0x6e071858
push ebx
call fcn.6e0184f0
cmp byte [0x6e07047a], 0
pop ecx
pop ecx
je 0x6e04803c
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x6e07047b], 0
je 0x6e0480c2
push ebx
call fcn.6e003fc0
pop ecx
jmp 0x6e0480c2
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x44], eax
test eax, eax
jne 0x6e04807d
cmp byte [0x6e07047b], al
jne 0x6e048076
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__getting_memory_mapped_file_handle_
jmp 0x6e04801f
mov eax, dword [ebx]
push dword [edi + 0x48]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x6e050848]
mov ecx, ebx
call esi
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x6e0480b2
cmp byte [0x6e07047b], al
jne 0x6e0480a8
cmp byte [0x6e07047a], al
je 0x6e0480c2
push str.ASM_Retrieve_ERROR__mapping_for_writing_
jmp 0x6e04801f
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.6e049316
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40bb27
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x410438], eax
je 0x40bb49
cmp dword [0x410438], ebx
jne 0x40bbdd
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x410438
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x410438
push 4
push edi
mov dword [0x410438], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x410438]
not eax
mov dword [0x4120c0], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx