joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401029
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x401a4f
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 7
push esi
push str..PhysicalDrive0
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x401b45
push ebx
push edi
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
stosd dword es:[edi], eax
lea esi, [ebp - 0x41c]
mov dword [ebp - 4], 0x400
mov ebx, dword [ebp - 4]
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push ebx
push esi
lea eax, [ebp - 0x1c]
push 0xc
push eax
push 0x2d1400
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, edi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edi
je 0x401af3
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], esi
cmp eax, ebx
jbe 0x401ad4
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
jmp 0x401af3
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x401af3
lea edi, [eax + esi]
push edi
call fcn.00402c90
push eax
push edi
push dword [ebp + 8]
call fcn.004018cc
add esp, 0x10
xor edi, edi
lea eax, [ebp - 0x41c]
cmp esi, eax
je 0x401b04
push esi
call fcn.00402c76
pop ecx
cmp dword [ebp - 8], edi
jne 0x401b3a
cmp dword [ebp - 0xc], edi
jne 0x401b27
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x401b3a
cmp dword [ebp - 4], ebx
ja 0x401b27
or bx, 0xfff
inc ebx
mov dword [ebp - 4], ebx
push dword [ebp - 4]
call fcn.00402c68
mov esi, eax
pop ecx
cmp esi, edi
jne 0x401a98
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x23150a75
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x1b401c2a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4151e1
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x41c108
call fcn.0041599a
push 1
call fcn.00415264
pop ecx
test al, al
jne 0x415098
push 7
call fcn.00415762
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041522f
mov byte [ebp - 0x24], al
mov eax, dword [0x41fc3c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x415091
test eax, eax
jne 0x415102
mov dword [0x41fc3c], ecx
push 0x418358
push 0x418344
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4150e5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4151db
push 0x418340
push 0x418318
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x41fc3c], 2
jmp 0x415107
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004153d1
pop ecx
call fcn.00415756
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x415137
push esi
call fcn.00415347
pop ecx
test al, al
je 0x415137
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004156eb
call esi
call fcn.0041575c
mov esi, eax
cmp dword [esi], edi
je 0x415155
push esi
call fcn.00415347
pop ecx
test al, al
je 0x415155
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00415878
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.004158ab
test al, al
jne 0x415180
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x415189
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004153ee
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4151db
call fcn.004159df
ret
call fcn.00414f1f
jmp 0x415079

Function at 0x408918
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
call fcn.00408945
add edx, 1
or edx, edi
xor dword [eax], esi
inc edi
dec edi
inc eax
and edi, edx
push 0x2d85654f
pop edi
cmp eax, ecx
jne fcn.00408918
push edi
pop edi
ret
Function at 0x401530
Capabilities:
Enumerate process modules
Execute command
Write and execute a file
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push ebx
push ecx
sub esp, 0x43c
call fcn.00401800
lea edx, [ebp - 0x42c]
mov eax, 0
mov ecx, 0x100
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0x400
lea eax, [ebp - 0x430]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
lea eax, [ebp - 0x42c]
mov dword [esp], eax
call sub.PSAPI.DLL_EnumProcesses
sub esp, 0xc
test eax, eax
jne 0x4015be
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 1
mov dword [esp], str.Failed_to_enumerate_processes_n
call sub.msvcrt.dll_fwrite
mov eax, 1
jmp 0x401687
mov eax, dword [str.KITTY000]
add eax, 5
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
lea edx, [eax + 7]
test eax, eax
cmovs eax, edx
sar eax, 3
movzx eax, byte [ebp + eax - 0x42c]
movsx ebx, al
mov eax, dword [ebp - 0x28]
cdq
shr edx, 0x1d
add eax, edx
and eax, 7
sub eax, edx
mov ecx, eax
sar ebx, cl
mov eax, ebx
and eax, 1
test eax, eax
je 0x401615
mov dword [ebp - 0x1c], 0x403020
mov dword [ebp - 0x20], 0x44
jmp 0x401623
mov dword [ebp - 0x1c], 0x403080
mov dword [ebp - 0x20], 0xbd
mov dword [esp + 4], 0x40402b
mov dword [esp], str.malware.exe
call sub.msvcrt.dll_fopen
mov dword [ebp - 0x2c], eax
jmp 0x40165e
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 1]
mov dword [ebp - 0x1c], edx
movzx eax, byte [eax]
movsx eax, al
xor al, 0xff
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_fputc
mov eax, dword [ebp - 0x20]
lea edx, [eax - 1]
mov dword [ebp - 0x20], edx
test eax, eax
jne 0x40163c
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov dword [esp], str.malware.exe
call sub.msvcrt.dll_system
mov eax, 0
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop edi
pop ebp
lea esp, [ecx - 4]
ret

Function at 0x401b50
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00401bb0
Function at 0x401bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4053a0]
test esi, esi
jle 0x401ca3
mov edi, dword [0x4053a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401be4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401c9c
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x401bd0
mov dword [esp], eax
mov esi, eax
call fcn.004024a0
test eax, eax
mov edi, eax
je 0x401ce0
mov esi, dword [0x4053a4]
lea ebx, [ebx + ebx*4]
shl ebx, 2
add esi, ebx
mov dword [esi + 0x10], eax
mov dword [esi], 0
call fcn.004025b0
add eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401cc0
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401c95
sub eax, 4
and eax, 0xfffffffb
je 0x401c95
add ebx, dword [0x4053a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x401caa
add dword [0x4053a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x401bee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401b50
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401b50
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401b50

Function at 0x402120
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x402175
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40216e
test esi, esi
je 0x40216e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402150
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x72395b04
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1f2643c0
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x14193439
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5dbf67fb
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x408962
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop ebx
add edi, eax
call fcn.0040898e
mov edi, edi
and eax, eax
xor dword [esi], ebx
add esi, 1
sub eax, 0xbae53655
cmp esi, edx
jne fcn.00408962
add edi, 0xa3c603c0
and eax, edi
ret

Function at 0x10030e60
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10031024
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
or ebp, 0xffffffff
jmp 0x10030e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10030e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10030e80
mov eax, 1
add ebx, ebx
jne 0x10030ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10030e98
jne 0x10030eb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10030e98
xor ecx, ecx
sub eax, 3
jb 0x10030ec8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10030f3a
mov ebp, eax
add ebx, ebx
jne 0x10030ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10030ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10030f04
inc ecx
add ebx, ebx
jne 0x10030ef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10030ee5
jne 0x10030f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10030ee5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10030f24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10030f15
jmp 0x10030e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10030f24
add edi, ecx
jmp 0x10030e86
pop esi
mov edi, esi
mov ecx, 0xccc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10030f42
cmp byte [edi], 0x12
jne 0x10030f42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10030f47
lea edi, [esi + 0x2d000]
mov eax, dword [edi]
or eax, eax
je 0x10030fb6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3144c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3149c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10030f74
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x314a0]
or eax, eax
je 0x10030fb0
mov dword [ebx], eax
add ebx, 4
jmp 0x10030f91
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10030fe7
cmp al, 0xef
ja 0x10030fda
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10030fbc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10030fc9
mov ebp, dword [esi + 0x314a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1003101b
sub esp, 0xffffff80
jmp 0x10014914
Function at 0x53d315
Capabilities:
Encode data using xor

Disassembly:
push ecx
xor dword [esi - 0x29393726], 0xf216e985
and ch, dl
outsd dx, dword [esi]
pushfd
dec esp
xchg esi, eax
fst dword [esi + 0x4a]
adc al, 0xaa
pop cx
and ecx, dword [edx + 0x54628f67]
salc
push edi
inc esi
jno 0x53d315
dec ebx
mov cl, 0xe4
invalid
invalid
sahf
stosb byte es:[edi], al
fcmovb st(0), st(6)
pop ecx
and eax, 0x5e4a79bf
rcl ch, 1
jbe 0x53d390
jl 0x53d2cb
jbe 0x53d323
or esi, dword [ebp - 0x20]
cmp dword [edi + 0x20d6a9e7], ebp
add al, 3
or ebx, dword [ecx]
in eax, 0x10
mov al, byte [0x651d49aa]
jbe 0x53d387
les ecx, [edx - 0x47]
and dword [edx], 0xc
in eax, dx
mov ebx, 0xeb1a8695
cmc
jle 0x53d381
enter 0x7c3c, 0x33
leave
adc byte [esi - 0x7196191a], bh
stosb byte es:[edi], al
pop esp
scasb al, byte es:[edi]
push ebp
add dword [ebp + 0x37], 0x107e0638
imul esp, dword [ecx], 0xfffffffc
pop ebp
dec edx
add dword [esi + 0x56], ebp
dec edx
sub ebp, dword [ebx]
retf 0xfaa4
sub al, 0x3f
add eax, 0x7a63e664
js 0x53d3f2
jp 0x53d401
push 0x8bed4468
mov bh, byte [eax - 0x4044fda6]
push 0x8a8bed44
mov eax, 0xbfbb025a
pop edx
add bh, byte [ebx + 0x5ba049bf]
lodsd eax, dword [si]
scasb al, byte es:[edi]
dec ecx
mov al, byte [0xaead675b]
mov esp, 0xba7decb0
mov bl, 0x42
pop es
cmp dl, byte [eax - 0x36]
cmp dword [ebx + 0x36], edi
std
invalid
cmpsd dword [esi], dword es:[edi]
mov dword [0xd50a81f5], eax
pop ss
push esi
lcall 0x77ee, 0x579773b7
xchg edi, eax
push edi
out dx, al
ja 0x53d44b
dec ecx
sbb al, 0x5c
sbb esp, dword [ebp + 0x77]
or bl, byte [edx]
stosb byte es:[edi], al
mov dword [0x16b40c90], eax
xor al, 0x99
out 0xa4, eax
jno 0x53d3fd
in al, dx
stosd dword es:[edi], eax
xor al, 0x51
sub edx, dword [esi - 0x70095406]
xchg edi, eax
sahf
xchg esi, eax
invalid
push es
or dl, al
or esi, dword [esi]
invalid
Function at 0x65999d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6623a8
cmp edx, dword [eax]
je 0x6599bf
add eax, 8
inc ecx
cmp eax, 0x662438
jl 0x6599b0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6623a8]
jne 0x659aed
mov eax, dword [0xa5dd0c]
cmp eax, 1
je 0x659ac7
test eax, eax
jne 0x6599f0
cmp dword [0x6622d4], 1
je 0x659ac7
cmp edx, 0xfc
je 0x659aed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659a27
lea eax, [ebp - 0x1a4]
push 0x65eaa8
push eax
call fcn.0065a380
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a810
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659a6a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a810
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65eaa4
push edi
call fcn.0065c6e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65ea88
push eax
call fcn.0065a380
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a390
lea eax, [ebp - 0xa0]
push 0x65ea84
push eax
call fcn.0065a390
push dword [esi + 0x6623ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a390
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65ea5c
push eax
call fcn.0065c654
add esp, 0x2c
pop edi
jmp 0x659aed
lea eax, [ebp + 8]
lea esi, [esi + 0x6623ac]
push 0
push eax
push dword [esi]
call fcn.0065a810
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401144
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x412008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.00401000
push 0x40c
xor ebx, ebx
mov dword [ebp - 0x414], 0x22
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00401de0
add esp, 0xc
lea eax, [ebp - 0x412]
mov esi, 0x207
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401259
cmp eax, esi
jae 0x401259
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x412]
push eax
call esi
lea eax, [ebp - 0x412]
push eax
call esi
push str.CocCocUpdate.exe
lea eax, [ebp - 0x412]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401259
push str.___ondemand
push 0x208
lea eax, [ebp - 0x414]
push eax
call fcn.00401046
test eax, eax
js 0x40125e
push edi
push 0x40
lea eax, [ebp - 0x464]
mov dword [ebp - 0x468], 0x44
push ebx
push eax
call fcn.00401de0
xor eax, eax
lea edi, [ebp - 0x424]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x401259
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
xor eax, eax
jmp 0x40125e
call fcn.0040102b
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004014b9
leave
ret 0x10
Function at 0x1c2183c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0xd
call fcn.01c2190f
test al, al
je 0x1c218fb
push 0
call fcn.01c410d4
add esp, 4
test eax, eax
je 0x1c218db
mov esi, eax
mov eax, dword [eax]
mov ecx, esi
call dword [eax + 0x18]
lea ebx, [ebp - 0x14]
mov dword [ebx], 0
mov eax, 0x40
push ebx
push eax
push eax
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1c218e2
push 0x1cbd378
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [esi]
xor edi, edi
mov ecx, esi
push edi
push 0x40
push section..crthunk
push 0x1c21430
push edi
push str.NtMapViewOfSection
push sym.chrome_elf.dll_Ordinal_0
push eax
call dword [edx + 4]
test eax, eax
js 0x1c218e9
push ebx
push 0x20
push 0x40
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1c218f3
mov edi, 0xe
jmp 0x1c218fb
mov edi, 0xf
jmp 0x1c218f3
mov dword [0x1cf3c9c], eax
mov edi, 0x10
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c236a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push eax
push 0x1c48400
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop ebp
ret

Function at 0x1c24348
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add edi, esi
mov edx, ecx
add edx, eax
test cl, cl
cmovs edx, edi
cmovs eax, esi
sub edx, eax
mov ecx, edx
cmp edx, 4
jb 0x1c24396
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1c24370
cmp edx, 1
je 0x1c243b7
cmp edx, 2
je 0x1c243ae
cmp edx, 3
jne 0x1c243c2
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x1c274ac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x1c274be
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x1c274e8
mov esi, dword [ecx + 4]
mov edi, dword [edx + 0x3c]
lea ebx, [edi + 0x18]
xor eax, eax
cmp ebx, esi
ja 0x1c274b9
add edx, edi
cmp dword [edx], 0x4550
jne 0x1c274b9
add edx, 4
mov dword [ecx + 0x10], edx
mov eax, edx
jmp 0x1c274b9
mov edx, dword [ecx]
xor eax, eax
test edx, edx
je 0x1c274b9
mov dword [ecx + 0xc], edx
mov esi, dword [ecx + 4]
cmp esi, 0x40
jb 0x1c27506
movzx edi, word [edx]
cmp edi, 0x5a4d
je 0x1c274c8
mov dword [ecx + 0xc], 0
jmp 0x1c274b9