joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009dc30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d1090]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsxd r9, dword [rcx + 0x3c]
mov eax, 0x10b
mov r11, rdx
add r9, rcx
mov r8, rcx
cmp word [r9 + 0x18], ax
je 0x14009dd1f
mov eax, 0x20b
cmp word [r9 + 0x18], ax
jne 0x14009dd1f
mov rdx, rcx
mov ecx, dword [r9 + 0x88]
call fcn.14009dc2c
mov ebp, dword [r9 + 0x8c]
mov esi, eax
add rsi, rdx
mov ecx, dword [rsi + 0x20]
call fcn.14009dc2c
mov ecx, dword [rsi + 0x1c]
mov r10d, eax
add r10, rdx
call fcn.14009dc2c
mov ecx, dword [rsi + 0x24]
call fcn.14009dc2c
mov edi, dword [rsi + 0x18]
mov ebx, eax
add rbx, rdx
test edi, edi
je 0x14009dd1f
mov r11d, dword [r11]
mov ecx, dword [r10]
mov rdx, r8
dec edi
call fcn.14009dc2c
mov edx, eax
add rdx, r8
xor ecx, ecx
jmp 0x14009dd08
shl ecx, 4
movzx eax, al
inc rdx
add ecx, eax
mov r9d, ecx
and r9d, 0xf0000000
je 0x14009dd08
mov eax, r9d
not r9d
shr eax, 0x18
xor eax, ecx
mov ecx, eax
and ecx, r9d
mov al, byte [rdx]
test al, al
jne 0x14009dce1
cmp r11d, ecx
je 0x14009dd47
add r10, 4
add rbx, 2
test edi, edi
jne 0x14009dccb
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14009e400
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, dword [rsi + 0x1c]
mov rdx, r8
call fcn.14009dc2c
mov ecx, eax
movzx eax, word [rbx]
add rcx, r8
mov ecx, dword [rcx + rax*4]
call fcn.14009dc2c
mov edx, eax
add rdx, r8
cmp rdx, rsi
jbe 0x14009de3a
lea rax, [rsi + rbp]
cmp rdx, rax
jae 0x14009de3a
xor r8d, r8d
cmp byte [rdx], 0x2e
je 0x14009ddbb
lea r9, [rsp + 0x30]
mov r10, rdx
mov rcx, rdx
sub r9, rdx
neg r10
lea rax, [r10 + rcx]
cmp rax, 0x3c
jge 0x14009ddb1
mov al, byte [rcx]
inc r8d
mov byte [r9 + rcx], al
inc rcx
cmp byte [rcx], 0x2e
jne 0x14009dd96
cmp r8d, 0x3c
jge 0x14009dd1f
lea ecx, [r8 + 1]
movsxd rax, r8d
mov byte [rsp + rax + 0x30], 0x2e
movsxd rax, ecx
movsxd rbx, ecx
mov byte [rsp + rax + 0x30], 0x64
inc ecx
add rbx, rdx
movsxd rax, ecx
mov byte [rsp + rax + 0x30], 0x6c
lea eax, [rcx + 1]
xor ecx, ecx
cmp byte [rbx], 0x23
cdqe
mov dword [rsp + 0x20], ecx
mov byte [rsp + rax + 0x30], 0x6c
mov byte [rsp + rax + 0x31], 0
jne 0x14009de1e
inc rbx
mov al, byte [rbx]
test al, al
je 0x14009de19
movsx eax, al
inc rbx
lea ecx, [rcx + rcx*4]
lea ecx, [rax + rcx*2 - 0x30]
mov al, byte [rbx]
test al, al
jne 0x14009de02
mov dword [rsp + 0x20], ecx
lea rbx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [0x1400d7fd0]
mov rdx, rbx
mov rcx, rax
call qword [0x1400d7fd8]
jmp 0x14009dd21
mov rax, rdx
jmp 0x14009dd21

Function at 0x1400a0014
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14009fe84
Function at 0x1400a1453
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400d1090]
jne 0x14009e41a
rol rcx, 0x10
test cx, 0xffff
jne 0x14009e416
repz ret
ror rcx, 0x10
jmp 0x1400a13ac
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400d6fc0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400d70b8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400a1431
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400d6fc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400a1453
mov rax, qword [rsp + 0x88]
mov qword [0x1400d70b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400d7058], rax
mov rax, qword [0x1400d70b8]
mov qword [0x1400d6f30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400d7040], rax
mov dword [0x1400d6f20], 0xc0000409
mov dword [0x1400d6f24], 1
mov rax, qword [0x1400d1090]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400d1098]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400d6fb8], eax
mov ecx, 1
call fcn.1400a5264
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, str._o_r_
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400d6fb8], 0
jne 0x1400a14da
mov ecx, 1
call fcn.1400a5264
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400a4e44
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400d1090]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400a0ef8
xor ebx, ebx
cmp qword [0x1400d7818], rbx
mov rdi, rax
jne 0x1400a4f57
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400a502e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a502e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400d7818], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400d7820], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400d7828], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400d7838], rax
test rax, rax
je 0x1400a4f4e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400d7830], rax
jmp 0x1400a4f5e
mov rax, qword [0x1400d7830]
jmp 0x1400a4f65
mov rax, qword [0x1400d7830]
mov r11, qword [0x1400d7838]
cmp rax, rdi
je 0x1400a4fcc
cmp r11, rdi
je 0x1400a4fcc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400d7838]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400a4fcc
test rax, rax
je 0x1400a4fcc
call rsi
test rax, rax
je 0x1400a4fc6
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400a4fc6
test byte [rsp + 0x40], 1
jne 0x1400a4fcc
bts ebp, 0x15
jmp 0x1400a500c
mov rcx, qword [0x1400d7820]
cmp rcx, rdi
je 0x1400a500c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400a500c
call rax
mov rbx, rax
test rax, rax
je 0x1400a500c
mov rcx, qword [0x1400d7828]
cmp rcx, rdi
je 0x1400a500c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400a500c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400d7818]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400a502e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400a5030
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14009e400
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002a80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002add
lea rbx, [0x140041f50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002ac4
cmp r10, 2
jb 0x140002ac4
cmp byte [r9], r8b
jne 0x140002ac4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002aa0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002b1f
lea rbx, [0x140041f50]
cmp r8b, 0x23
jne 0x140002b03
cmp byte [r9], r8b
jne 0x140002b03
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002af0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002c60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002c7a
mov qword [r8], 0
lea rdx, [0x1400419c0]
call fcn.140002b30
mov rbx, rax
test rax, rax
jne 0x140002c9a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002d85
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002d85
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002d85
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002d85
cmp rdi, 0xffffffffffffffff
je 0x140002d85
mov rax, qword [0x14004e960]
test rax, rax
je 0x140002d16
inc dword [rax + 0x3b0]
mov rdx, qword [0x14004e950]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140002d85
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002d72
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004e960]
test rax, rax
je 0x140002d61
dec dword [rax + 0x3b0]
mov rdx, qword [0x14004e950]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140002d8e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002d80
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002d90
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140010040
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14004e960]
mov r8d, ecx
mov rbx, qword [rax + 0x1cd0]
add rbx, 0x108
movzx eax, r8b
lea r8, [0x140041f50]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x140010100
lea ecx, [rdx + 1]
test r8d, r8d
je 0x1400100e6
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400100eb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140021070
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140010f40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14004e960]
mov edi, edx
cmp byte [rbx + 0x2035], 0
jne 0x140010fa0
cmp byte [rbx + 0x2036], 0
jne 0x140010fa0
mov r9d, dword [rbx + 0x3078]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140002970
test dil, 1
je 0x1400110d7
jmp 0x14001102f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3078]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400461f8]
mulss xmm1, dword [0x1400461e8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1d9c], rax
mov dword [rbx + 0x1d84], 1
movss dword [rbx + 0x1d94], xmm0
mov byte [rbx + 0x1dbc], 1
movss dword [rbx + 0x1d98], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140046160]
or dword [rbx + 0x1d80], 0x41
movss dword [rbx + 0x1de0], xmm0
call fcn.140002970
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140011080
lea r11, [0x140041f50]
nop
cmp r9b, 0x23
jne 0x140011063
cmp byte [r8], r9b
jne 0x140011063
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140011050
mov rcx, qword [0x14004e960]
not edx
add rcx, 0x1cb8
call fcn.140003010
test rax, rax
je 0x1400110d7
cmp byte [rax + 0xbf], 0
je 0x1400110d7
mov byte [rax + 0xc6], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xdc], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3078]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3078]
call fcn.140002970
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000c920
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003f4b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140015c50
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x14004e960]
cmp byte [rbx + 0x3140], 0
je 0x140015d3c
cmp qword [rbx + 0x3148], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3150]
je 0x140015d24
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x140015ccb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140020f40
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1400033f0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3148]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3158]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14004e958]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1400033f0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret

Function at 0x1400160e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140016132
lea r11, [0x140041f50]
cmp r9b, 0x23
jne 0x140016115
cmp byte [r8], r9b
jne 0x140016115
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016102
mov r11, qword [0x14004e960]
mov r10, qword [r11 + 0x3128]
test r10, r10
je 0x140016179
lea r9, [r10 + 4]
test r9, r9
je 0x140016179
not eax
cmp dword [r9], eax
je 0x140016182
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x3120]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140016150
mov rcx, rbx
pop rbx
jmp fcn.140015ff0
mov rax, r9
pop rbx
ret
Function at 0x1400195e0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x1400197d9
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140041f50]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x1400197a1
mov rcx, rbp
call fcn.140018cd0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14001965e
lea rcx, [rbp + 0x30c0]
call fcn.140003010
mov rcx, rax
jmp 0x140019660
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xb0], 0xfffffe49
or dword [rbx + 0xb0], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x1400196f1
cmp qword [rcx + 0x18], 0
jne 0x1400196e6
mov qword [rcx + 0x18], rbx
jmp 0x1400196f1
cmp qword [rcx + 0x20], 0
jne 0x1400196f1
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xa8], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001972c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140019720
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, socket
call fcn.140002970
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140019788
cmp r9b, 0x23
jne 0x14001976b
cmp byte [r8], r9b
jne 0x14001976b
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140019758
mov rcx, qword [0x14004e960]
not edx
add rcx, 0x1cb8
call fcn.140003010
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x140019630
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14003f4b0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14001a2a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rbp, qword [0x14004e960]
test rax, rax
je 0x14001a2c8
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14001a2d6
call fcn.14001a2a0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001a2e4
call fcn.14001a2a0
mov r9d, dword [rbx + 0x28]
xor esi, esi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
test r9d, r9d
jle 0x14001a3c6
mov r14d, esi
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x9c]
mov ecx, dword [rbp + 0x1c58]
inc r8d
mov rdi, qword [r14 + rax]
cmp r8d, ecx
jne 0x14001a32d
mov eax, dword [rdi + 0x2d8]
inc eax
cmp eax, ecx
jge 0x14001a32d
mov dl, 1
jmp 0x14001a334
xor dl, dl
cmp r8d, ecx
jne 0x14001a35c
test byte [rbx + 0xb4], 0x20
jne 0x14001a348
mov eax, dword [rdi + 8]
cmp dword [rbx + 0xac], eax
jne 0x14001a35c
cmp byte [rdi + 0xc8], 0
je 0x14001a35c
test dword [rdi + 0xc], 0x100000
jne 0x14001a35c
mov dl, 1
movzx ecx, byte [rdi + 0x472]
movzx eax, cl
shr al, 2
and al, 1
or al, dl
je 0x14001a3a6
and cl, 0xfb
mov byte [rdi + 0x472], cl
cmp dword [rbx + 0x28], 1
jne 0x14001a38c
mov eax, dword [rbx + 8]
shr eax, 0xb
test al, 1
je 0x14001a42c
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
call fcn.140019e60
mov r9d, dword [rbx + 0x28]
dec esi
sub r14, 8
jmp 0x14001a3b7
mov eax, dword [rdi + 0x28]
not eax
and dword [rbx + 8], eax
mov eax, dword [rbx + 8]
or eax, dword [rdi + 0x24]
mov dword [rbx + 8], eax
inc esi
add r14, 8
cmp esi, r9d
jl 0x14001a300
movzx edx, byte [rbx + 0xb5]
movzx ecx, dl
test dl, 1
je 0x14001a3f5
cmp r9d, 1
jne 0x14001a3f5
mov r8d, dword [rbx + 8]
mov eax, r8d
or eax, dword [rbx + 4]
test al, 0x40
je 0x14001a3f5
shr r8d, 0xd
test r9b, r8b
jne 0x14001a3f5
or cl, 2
and cl, 0xfe
mov byte [rbx + 0xb5], cl
movzx eax, cl
test cl, 2
je 0x14001a41d
mov rdx, qword [rbx + 0x80]
test rdx, rdx
je 0x14001a41d
test dword [rdx + 0x24], 0x2000
je 0x14001a41d
and al, 0xfd
cmp r9d, 1
jle 0x14001a44b
and dword [rbx + 8], 0xffffdfff
jmp 0x14001a456
mov rcx, rbx
call fcn.14001a1c0
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 0xc], 1
call fcn.140019e60
jmp 0x14001a4bc
test al, 2
je 0x14001a456
xor dword [rbx + 8], 0x2000
mov ecx, dword [rbx + 8]
and al, 0xfd
mov byte [rbx + 0xb5], al
mov eax, ecx
shr eax, 0xb
shr ecx, 0xa
cmp qword [rbx + 0x10], 0
movzx eax, al
movzx edx, cl
cmovne edx, eax
test r9d, r9d
setg al
or dl, al
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001a493
test byte [rax + 0xb4], 1
je 0x14001a493
mov dl, 1
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14001a4a9
test byte [rax + 0xb4], 1
je 0x14001a4a9
mov al, 1
jmp 0x14001a4ab
xor al, al
and byte [rbx + 0xb4], 0xfe
or al, dl
and al, 1
or byte [rbx + 0xb4], al
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140038ec0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r10, rdx
test r8, r8
je 0x140038f4b
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140038f20
lea r10, [0x140041f50]
nop dword [rax]
cmp r9b, 0x23
jne 0x140038f03
cmp byte [r8], r9b
jne 0x140038f03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r10 + rdx*4]
test r9b, r9b
jne 0x140038ef0
mov rcx, qword [0x14004e960]
not eax
cmp dword [rcx + 0x1d28], eax
jne 0x140038f37
mov dword [rcx + 0x1d2c], eax
cmp dword [rcx + 0x1d68], eax
jne 0x140038f9d
mov byte [rcx + 0x1d6c], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x14004e960]
mov rax, qword [rbx + 0x1cd0]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
call fcn.140002a80
cmp dword [rbx + 0x1d28], eax
jne 0x140038f89
mov dword [rbx + 0x1d2c], eax
cmp dword [rbx + 0x1d68], eax
jne 0x140038f98
mov byte [rbx + 0x1d6c], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14050dfc0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14050dfd0]
mov dword [rax], 1
mov rax, qword [0x14050dfe0]
mov dword [rax], 1
mov rax, qword [0x14050dfb0]
mov dword [rax], 1
mov rax, qword [0x14050de90]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x14050dfa0]
mov dword [0x14055000c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x14050df80]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14050df60]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x14050de30]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067