joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46aa80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x538a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x53ec4c]
push ebx
push esi
mov esi, edx
push edi
lea ecx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x46aaa0
sub esi, ecx
mov ecx, 0
mov eax, ecx
je 0x46aabe
cmp byte [edx + eax], 0x2c
jne 0x46aab9
inc ecx
inc eax
cmp eax, esi
jb 0x46aab2
movsx edi, cx
shl edi, 2
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x46ac5a
test edi, edi
je 0x46aaee
mov byte [eax], 0
lea eax, [eax + 1]
dec edi
jne 0x46aae5
xor edi, edi
xor ecx, ecx
test esi, esi
je 0x46ab1f
mov edx, dword [0x53ec4c]
lea esp, [esp]
test ecx, ecx
jne 0x46ab08
mov dword [ebx + edi*4], edx
inc edi
cmp byte [edx + ecx], 0x2c
jne 0x46ab1a
mov byte [edx + ecx], 0
inc ecx
lea eax, [edx + ecx]
mov dword [ebx + edi*4], eax
inc edi
inc ecx
cmp ecx, esi
jb 0x46ab00
xor ebx, ebx
mov dword [ebp - 0xc], ebx
test edi, edi
je 0x46ac47
lea esp, [esp]
push 0xe
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x46ac5a
mov edx, 0xe
mov ecx, esi
mov byte [ecx], 0
lea ecx, [ecx + 1]
dec edx
jne 0x46ab52
mov eax, dword [ebp - 0x1c]
lea ebx, [eax + ebx*4]
mov eax, dword [ebx]
mov dword [ebp - 0x10], ebx
movsx eax, byte [eax]
push eax
push str.._c:
push 7
push esi
call fcn.004bb50e
push 0xa
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
inc eax
push eax
call fcn.004bd841
add esp, 0x14
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esi
call fcn.00476b10
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x46abb7
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x46ac38
push 0
push 1
push 0
push 0
push ebx
mov dword [0x53eba0], 0
call fcn.0048e2a0
add esp, 0x14
mov dword [0x53eba0], eax
test eax, eax
je 0x46ac12
mov eax, dword [ebp - 0x10]
push dword [eax]
push 0x561208
push 0x561418
push str._S__s__s.z
push 0x1000
push 0x547d60
call fcn.00471220
push dword [ebp - 0x14]
mov ecx, dword [0x53eba0]
push dword [ebp - 0x18]
call fcn.00459380
add esp, 0x20
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebx + 0x40084]
push ebx
call eax
add esp, 4
mov ebx, dword [ebp - 0xc]
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, edi
jb 0x46ab30
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bae74
mov esp, ebp
pop ebp
ret
push str.Failed_to_allocate_memory_on_process_heap_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
int3
Function at 0x46ac70
Capabilities:
Create process on windows
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x538a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov ecx, 0x44
lea eax, [ebp - 0x50]
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x46ac90
mov dword [ebp - 0x50], 0x44
lea eax, [ebp - 0x60]
mov ecx, 0x10
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x46aca8
mov ecx, str.AMD64
mov eax, 0x560e08
jmp 0x46acc0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46ace6
test dx, dx
je 0x46ace2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46ace6
add eax, 4
add ecx, 4
test dx, dx
jne 0x46acc0
xor eax, eax
jmp 0x46aceb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x46acf6
push str.c:WindowsSysnative_netsh.exe_trace_stop
jmp 0x46acfb
push str.c:WindowsSystem32_netsh.exe_trace_stop
push 0x1000
push 0x552d60
call fcn.004bb50e
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x552d60
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x46ad70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.stopNetworkEtl:_CreateProcess_failed___d_._n
push 0xffffffffffffffff
push 0x800
push 0x545d60
call fcn.004bb4ef
add esp, 0x14
mov ecx, 0x545d60
call fcn.00458190
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bae74
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
push 0x4000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
je 0x46ae4e
mov ecx, 0x4000
mov edi, edi
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x46adb0
push 0x55ed60
push 0x55ed60
push str._S_network.etl__S_network.cab
push 0xffffffffffffffff
push 0x4000
push edx
mov dword [0x53ec48], edx
call fcn.004bb430
add esp, 0x18
call fcn.0046a7e0
test eax, eax
je 0x46adf1
mov ecx, str.Failed_to_acquire_Networketl_files_n
call fcn.00458190
push 0x55ed60
push str._s_network.etl
push 0x1000
push 0x552d60
call fcn.004bb50e
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x10
push 0x552d60
call esi
push 0x55ed60
push str._s_network.cab
push 0x1000
push 0x552d60
call fcn.004bb50e
add esp, 0x10
push 0x552d60
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004bae74
mov esp, ebp
pop ebp
ret
push str.Failed_to_allocate_memory_on_process_heap_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
int3
Function at 0x46bb30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0d78
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x538a60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], ecx
push dword [0x560dfc]
push 0x561418
push 0x55ed60
push 0x526224
push 0xffffffffffffffff
push 0x800
push 0x550d60
call fcn.004bb4ef
add esp, 0x1c
lea eax, [ebp - 0x270]
push eax
push 0x550d60
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x278], eax
xor edi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp eax, 0xffffffff
je 0x46bca7
nop
test byte [ebp - 0x270], 0x10
jne 0x46bc60
lea eax, [ebp - 0x270]
cmp eax, ebx
jae 0x46bc31
cmp esi, eax
ja 0x46bc31
mov ecx, eax
mov eax, 0xdd67c8a7
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x27c], eax
cmp ebx, edi
jne 0x46bc21
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00470200
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x27c]
imul eax, eax, 0x250
add eax, esi
test ebx, ebx
je 0x46bc54
mov esi, eax
jmp 0x46bc4b
cmp ebx, edi
jne 0x46bc41
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00470200
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x46bc54
lea esi, [ebp - 0x270]
mov ecx, 0x94
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
add ebx, 0x250
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x46bbd0
mov ecx, ebx
mov eax, 0xdd67c8a7
sub ecx, esi
imul ecx
push 0x46bb10
add edx, ecx
mov ecx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ebx
push eax
call fcn.00473940
add esp, 8
cmp esi, ebx
je 0x46bcd3
lea edi, [esi + 0x2c]
mov esi, dword [ebp - 0x274]
push dword [edi - 0xc]
mov edx, edi
mov ecx, esi
call fcn.0046ae80
add edi, 0x250
add esp, 4
lea ecx, [edi - 0x2c]
cmp ecx, ebx
jne 0x46bcb4
mov esi, dword [ebp - 0x1c]
sub ebx, esi
mov eax, 0xdd67c8a7
imul ebx
add edx, ebx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46bcfe
push 0x40
push 0x560d70
call fcn.004bbd3d
add esp, 8
cmp eax, 1
je 0x46bd10
mov ecx, dword [ebp - 0x274]
xor edx, edx
push 0
call fcn.0046ae80
add esp, 4
push 0x10
push 0x561208
push str.00000000000000
call fcn.004bce70
add esp, 0xc
test eax, eax
jne 0x46bd3e
push 0x40
push 0x51f220
push 0x40
push 0x560d70
call fcn.004bb83b
add esp, 0x10
test esi, esi
je 0x46bd4b
push esi
call fcn.004bae6f
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bae74
mov esp, ebp
pop ebp
ret
Function at 0x46c390
Capabilities:
Check os version
Terminate process

Disassembly:
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jne 0x46c3e5
shr eax, 8
cmp al, 1
jne 0x46c3e5
mov ecx, str.SHR_EVT_logs_n
call fcn.00458190
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x4000
push 8
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov edx, eax
test edx, edx
je 0x46c4b4
mov ecx, 0x4000
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x46c3d5
push str.C:WindowsSystem32configAppEvent.evt_C:WindowsSystem32configInternet.evt_C:WindowsSystem32configSecEvent.Evt_C:WindowsSystem32configSysEvent.Evt
jmp 0x46c424
mov ecx, str.SHR_EVTX_logs_n
call fcn.00458190
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x4000
push 8
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov edx, eax
test edx, edx
je 0x46c4c8
mov ecx, 0x4000
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x46c416
push str.C:WindowsSystem32winevtLogsSecurity.evtx_C:WindowsSystem32winevtLogsSystem.evtx_C:WindowsSystem32winevtLogsWindows_PowerShell.evtx_C:WindowsSystem32winevtLogsMicrosoft_Windows_PowerShell__4Operational.evtx_C:WindowsSystem32winevtLogsMicrosoft_Windows_TerminalServices_LocalSessionManager__4Operational.evtx_C:WindowsSystem32winevtLogsMicrosoft_Windows_TerminalServices_RemoteConnectionManager__4Operational.evtx_C:WindowsSystem32winevtLogsMicrosoft_Windows_Windows_Defender__4Operational.evtx_C:WindowsSystem32winevtLogsMicrosoft_Windows_AppLocker__4EXE_and_DLL.evtx_C:WindowsSystem32winevtLogsMicrosoft_Windows_Sysmon__4Operational.evtx_C:WindowsSystem32winevtLogsMicrosoft_Windows_TaskScheduler__4Operational.evtx_C:WindowsSystem32winevtLogsMicrosoft_Windows_Bits_Client__4Operational.evtx
push 0xffffffffffffffff
push 0x4000
push edx
mov dword [0x53ec48], edx
call fcn.004bb430
add esp, 0x10
call fcn.0046a7e0
mov eax, dword [0x53ec48]
test eax, eax
je 0x46c454
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x4000
push 8
call esi
push eax
call ebx
mov edx, eax
test edx, edx
je 0x46c4dc
mov ecx, 0x4000
jmp 0x46c470
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x46c470
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionWinLogon_HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsPowerShellTranscription_HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsPowerShellModuleLogging_HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsPowerShellScriptBlockLogging
push 0xffffffffffffffff
push 0x4000
push edx
mov dword [0x53ec3c], edx
call fcn.004bb430
add esp, 0x10
call fcn.0046a710
mov eax, dword [0x53ec3c]
test eax, eax
je 0x46c4ae
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push str.Failed_to_allocate_memory_on_process_heap_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
push str.Failed_to_allocate_memory_on_process_heap_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
push str.Failed_to_allocate_memory_on_process_heap_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
int3
Function at 0x46e800
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0f32
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x538a60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x527bb8
mov dword [esi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea edi, [esi + 0x10]
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0046fa50
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.00470840
lea eax, [edi + 4]
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov byte [edi + 0x4c], 0
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov byte [edi + 0x45], 0
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x5616a8]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x46e935
mov eax, dword [eax]
push ecx
push 0x21
push eax
mov ecx, edi
call fcn.0046fde0
test eax, eax
jne 0x46e96d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x46e95b
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x46e96d
push 0
call fcn.00453490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46f200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0fb2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x538a60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x527b68
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0046fa50
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00470840
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x5616a8]
mov dword [esi + 0x50], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
push ecx
push 2
push dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0046fde0
test eax, eax
jne 0x46f356
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x46f344
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x46f356
push 0
call fcn.00453490
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x470010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e1038
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x538a60]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x538a60]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x470164
cmp byte [ebx + 0x45], 0
je 0x470164
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x470070
xor al, al
jmp 0x470166
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x4700b0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4700f1
dec eax
je 0x4700f5
sub eax, 2
je 0x47014b
xor bl, bl
jmp 0x47014d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x47012c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004bdf3b
add esp, 0x10
cmp esi, eax
jne 0x4700ed
cmp byte [ebx + 0x45], 0
je 0x47014b
test esi, esi
jne 0x4700b0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0046f7d0
jmp 0x4700b0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x470160
push dword [esp + 0x18]
call fcn.004bae6f
add esp, 4
mov al, bl
jmp 0x470166
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004bae74
mov esp, ebp
pop ebp
ret
Function at 0x471000
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x538a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x128], ecx
lea edi, [ebp - 0x104]
xor eax, eax
mov ecx, 0x40
xor esi, esi
add edx, 2
rep stosd dword es:[edi], eax
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x104], ecx
inc esi
cmp esi, 0x10
jb 0x471030
lea eax, [ebp - 0x100]
mov ebx, 0x30
lea ebx, [ebx]
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
dec ebx
jne 0x471070
mov ebx, dword [ebp - 0x128]
xor edx, edx
mov dword [ebp - 0x124], edx
mov eax, dword [ebx + 4]
mov edi, dword [ebx]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x118], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x110], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x120], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x108], eax
mov eax, dword [ebx + 0x1c]
mov ebx, dword [ebp - 0x120]
mov dword [ebp - 0x114], eax
lea ecx, [ecx]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [ebp - 0x108]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 0x10c]
and eax, ebx
xor ecx, eax
mov eax, edi
add esi, ecx
rol eax, 0xa
add esi, dword [edx + 0x528d10]
add esi, dword [ebp + edx - 0x104]
mov edx, edi
add esi, dword [ebp - 0x114]
ror edx, 0xd
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x11c]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [ebp - 0x118]
xor ecx, eax
mov eax, dword [ebp - 0x108]
add edx, ecx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x10c], ebx
mov ebx, dword [ebp - 0x110]
mov dword [ebp - 0x110], eax
add ebx, esi
mov eax, edi
mov dword [ebp - 0x118], ecx
lea edi, [edx + esi]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x124]
add edx, 4
mov dword [ebp - 0x124], edx
cmp edx, 0x100
jb 0x471100
mov dword [ebp - 0x120], ebx
mov ebx, dword [ebp - 0x128]
add dword [ebx + 4], eax
mov eax, dword [ebp - 0x110]
add dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x120]
add dword [ebx + 0x10], eax
add dword [ebx], edi
add dword [ebx + 8], ecx
mov eax, dword [ebp - 0x10c]
add dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x108]
add dword [ebx + 0x18], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x114]
xor ecx, ebp
add dword [ebx + 0x1c], eax
pop edi
pop esi
pop ebx
call fcn.004bae74
mov esp, ebp
pop ebp
ret