joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140120960
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140180080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1401209f5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140120a56
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400fb280
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140134740
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140120b11
sub ecx, 1
je 0x140120b84
sub ecx, 1
je 0x140120ac0
cmp ecx, 1
je 0x140120aa3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140152920]
call fcn.1400fb280
jmp 0x140120b84
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140120690
test eax, eax
je 0x140120b84
jmp 0x140120a2a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140120b84
sub rax, rsi
cmp rax, rbp
jae 0x140120b84
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400fb400
jmp 0x140120b84
cmp r8d, 4
jle 0x140120b84
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140120b84
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400fb1a0
mov esi, eax
test eax, eax
je 0x140120b63
mov edx, 5
mov rcx, rbx
call fcn.140121650
mov eax, esi
jmp 0x140120a2a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140109a80
mov rcx, r14
call fcn.140109d60
test eax, eax
je 0x140120a28
mov edx, 5
mov rcx, rbx
call fcn.140121650
mov eax, Ordinal_45
jmp 0x140120a2a
Function at 0x140133920
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140133962
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1401339a9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140133a02
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1401339c0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140133a43
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14014a8cb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14014a8cc]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140133a10
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140133a68
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140133aa2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140133aa7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140133af0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140133af0
dec r8
sub rdx, 1
jne 0x140133ad6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401342b4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140133b80
mov ebx, eax
test eax, eax
jne 0x1401342e4
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140134347
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14013433e
test al, 0x10
je 0x14013433e
bt eax, 0xa
jae 0x140134337
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140134358
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140134333
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140134333
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14013433e
and dword [rsp + 0x3c], 0
jmp 0x140134343
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401357f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140135842
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140135842
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140135842
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140135842
cmp dword [rcx + 0x84], 0xe
jbe 0x140135842
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140135844
xor al, al
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
lea rcx, str.kernel32.dll
xor edx, edx
mov esi, ebx
mov r15d, ebx
mov ebp, ebx
lea r8d, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14000116d
lea edx, [rbx + 1]
mov qword [rsp + 0x78], r14
lea r8d, [rbx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x14000115f
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000115f
mov rcx, rax
mov qword [rsp + 0x70], r12
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, r14
mov rcx, rdi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test r12, r12
je 0x14000115a
test eax, eax
je 0x14000115a
lea r9, [rsp + 0x38]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x30]
mov dword [rsp + 0x38], ebx
lea rdx, [0x1400022ac]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000115a
cmp dword [rsp + 0x38], ebx
jbe 0x14000115a
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + 8]
mov ebp, eax
movzx r15d, ax
mov eax, dword [rcx + 0xc]
mov esi, eax
shr ebp, 0x10
shr esi, 0x10
movzx ebx, ax
mov r12, qword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r14, qword [rsp + 0x78]
mov r9d, esi
mov dword [rsp + 0x20], ebx
mov r8d, r15d
lea rcx, str.Kernel32.dll_version:__u._u._u._u_n
mov edx, ebp
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400011c0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret

Function at 0x140001a94
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ade
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ade
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ade
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ade
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ade
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ae0
xor al, al
add rsp, 0x28
ret
Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0x4e
add al, 0xa4
xor al, 6
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
in al, 0x54
movsb byte [rdi], byte gs:[rsi]
push rdi
sbb ebx, dword [0x1254a09d1]
pop rax
xchg ecx, eax
jae 0x14000110c
mov bh, 0x59
xchg esi, eax
fstp xword [rbx - 0x1c]
movsd dword [rdi], dword [rsi]
rcl dword [rbx - 0x1b]
pop rcx
push rsi
adc byte [rbx + 0x2cb9c8e4], dl
add ch, al
movsd dword [rdi], dword [rsi]
int1
invalid
in al, 0xa5
sal dword [rbx - 0xf], 1
in al, 0xa7
cmpsd dword [rsi], dword [rdi]
adc byte [rcx], dh
fsubr qword [rsp + rbp]
sub al, 0xf2
sub ebx, dword [rbx + 0x2bf253d1]
mov edx, ecx
add ebp, eax
movsd dword [rdi], dword [rsi]
cdq
sub esi, edx
sub ecx, dword [rbx - 0x581bec17]
in al, 0x8c
call 0x1286402d4
movsd dword [rdi], dword [rsi]
mov dword [rbx + 0x2b], edi
jrcxz 0x140001106
invalid
Function at 0x140011447
Capabilities:
Terminate process

Disassembly:
jmp 0x14001c640
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140011555
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001d170
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001d190
xor al, al
jmp 0x14001d211
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001d1a3
xor al, al
jmp 0x14001d211
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001d1cd
xor al, al
jmp 0x14001d211
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001d1e1
xor al, al
jmp 0x14001d211
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001d1f3
xor al, al
jmp 0x14001d211
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001d20f
xor al, al
jmp 0x14001d211
mov al, 1
add rsp, 0x38
ret
Function at 0x14001aa60
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400117ad
movzx eax, al
test eax, eax
jne 0x14001aa80
mov ecx, 7
call fcn.140011672
nop
mov byte [rsp + 0x20], 0
call fcn.1400116a9
mov byte [rsp + 0x21], al
cmp dword [0x14002a520], 1
jne 0x14001aaa4
mov ecx, 7
call fcn.140011672
nop
jmp 0x14001aafc
cmp dword [0x14002a520], 0
jne 0x14001aaf7
mov dword [0x14002a520], 1
lea rdx, [0x140024770]
lea rcx, [0x140024440]
call fcn.14001138e
test eax, eax
je 0x14001aad8
mov eax, 0xff
jmp 0x14001ac01
lea rdx, [0x140024330]
lea rcx, [section..rdata]
call fcn.140011690
mov dword [0x14002a520], 2
jmp 0x14001aafc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011659
call fcn.140011582
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001ab59
mov rcx, qword [rsp + 0x30]
call fcn.1400112ee
movzx eax, al
test eax, eax
je 0x14001ab59
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140032020]
nop
call fcn.1400115d7
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001ab8d
mov rcx, qword [rsp + 0x38]
call fcn.1400112ee
movzx eax, al
test eax, eax
je 0x14001ab8d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001174e
nop
call fcn.14001acb0
mov dword [rsp + 0x28], eax
call fcn.140011555
movzx eax, al
test eax, eax
jne 0x14001abac
mov ecx, dword [rsp + 0x28]
call fcn.1400110a5
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001abbb
call fcn.140011767
nop
xor edx, edx
mov cl, 1
call fcn.1400112b7
mov eax, dword [rsp + 0x28]
jmp 0x14001ac01
add rsp, 0x68
ret
Function at 0x1400160c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001624b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x1400ffe90]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140033280
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x140016125
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x140016134
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x140016153
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x140016163
cmp rbx, 0x1000
jae 0x14001612b
jmp 0x1400161cd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x140016175
xor edx, edx
jmp 0x1400161c4
mov rcx, qword [0x1400ffe90]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140033280
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x140016159
jmp 0x140016148
call fcn.1400647e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.140036c20
lea rax, [0x14012faae]
mov ebx, 0x18
nop dword [rax]
call fcn.140037460
mov rax, qword [rsp + 0x38]
call fcn.1400371c0
lea rax, [0x14012ffb0]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.140037460
mov rax, qword [rsp + 0x30]
call fcn.1400371c0
call fcn.140036e40
call fcn.140036c80
lea rax, [0x140132190]
mov ebx, 0x21
call fcn.1400351e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400160c0
Function at 0x140016280
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400164a6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x1400ffe88]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140033300
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x1400162f3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x140016302
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x140016325
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x140016335
cmp rbx, 0x1000
jae 0x1400162f9
nop
jmp 0x1400163b8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x14001634d
xor esi, esi
jmp 0x1400163aa
mov rax, qword [0x1400ffe88]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140033300
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x14001632b
jmp 0x140016316
call fcn.1400647e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x140016440
nop dword [rax + rax]
call fcn.140036c20
lea rax, [0x14012ffc9]
mov ebx, 0x19
call fcn.140037460
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.1400371c0
lea rax, [0x14012ffb0]
mov ebx, 0x19
call fcn.140037460
mov eax, dword [rsp + 0x34]
call fcn.1400371c0
nop
call fcn.140036e40
call fcn.140036c80
lea rax, [0x14012c7d2]
mov ebx, 0xd
call fcn.1400351e0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x1400163e0
call fcn.140036c20
lea rax, [0x14012ffc9]
mov ebx, 0x19
call fcn.140037460
mov rax, qword [rsp + 0x38]
call fcn.1400371c0
lea rax, [0x14012ffb0]
mov ebx, 0x19
call fcn.140037460
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.1400371c0
call fcn.140036e40
call fcn.140036c80
lea rax, [0x140131acf]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.1400351e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.140016280
Function at 0x1400224e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400225e6
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x10], 0
jmp 0x140022523
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x1400225db
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.140023240
test rax, rax
je 0x1400225db
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x140022620]
mov qword [rsp + 0x18], rcx
lea rdx, [rsp + 0x10]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x18]
mov qword [rsp], rbx
nop dword [rax]
call fcn.1400610e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x1400225c9
xor eax, eax
jmp 0x1400225d3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x140022511
mov rax, qword [rsp + 0x10]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.1400224e0
Function at 0x140033500
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 8
mov qword [rsp + 0x60], 0
mov rcx, qword [0x140266278]
mov rcx, qword gs:[rcx]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
mov qword [rcx + 0x3c0], 8
lea rdx, [rsp + 0x20]
mov qword [rcx + 0x3c8], rdx
mov rax, qword [rsp + 0x18]
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.1400330a0
mov qword [rsp + 0x60], rax
add rsp, 8
pop rbp
ret
Function at 0x140040100
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x140266030]
test rcx, rcx
jne 0x140040124
xor ecx, ecx
xor edx, edx
jmp 0x140040139
call fcn.140053c00
mov rcx, rbx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r14
mov rsi, qword [r14 + 0x30]
inc dword [rsi + 0xd8]
mov qword [r14 + 0x10], 0xfffffffffffffade
mov byte [r14 + 0xb7], 1
call fcn.1400400a0
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x70], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x78], rdx
mov ebx, 2
mov ecx, 3
call fcn.140039a60
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x1400401a6
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x1400401e2
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x140040400]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.1400610e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x14004024b
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x140040380]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp], rax
nop
call fcn.1400610e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.1400400a0
mov rcx, qword [rsp + 0x20]
mov al, byte [0x1401e2718]
test al, al
je 0x14004028b
lea rax, [0x140135e58]
mov qword [rsp], rax
call fcn.1400610e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.1400400a0
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
cmp dword [rax + 0x2298], 0
nop
je 0x1400402d8
lea rax, fcn.14003b2c0
mov qword [rsp], rax
call fcn.1400610e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.1400400a0
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rdx, qword [rax + 0xa0]
mov edx, dword [rdx + 0x14]
mov dword [rax + 0x388], edx
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
mov qword [rax + 0x38], 0
mov rdx, qword [rcx + 0x30]
mov rbx, rax
mov qword [rdx + 0xb0], rax
mov rax, qword [rcx + 0x30]
mov qword [rax + 0xa0], 0
mov eax, 2
xchg dword [rbx + 4], eax
mov al, byte [0x1401e2708]
test al, al
je 0x140040364
lea rax, [0x140135e50]
mov qword [rsp], rax
call fcn.1400610e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.1400400a0
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret