joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180040374
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180035fb0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180035fb0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800404c4
cmp rax, 0xffffffffffffffff
je 0x1800404c4
xor edi, edi
test rbp, rbp
jle 0x18004046f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180030830
mov rbx, rax
test rax, rax
jne 0x1800403fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180040465
mov edx, 0x8000
mov ecx, r14d
call fcn.1800401f8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180032338
cmp eax, 0xffffffff
je 0x180040445
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18004040c
mov edx, r15d
mov ecx, r14d
call fcn.1800401f8
jmp 0x180040465
cmp byte [rsi + 0x38], dil
je 0x18004045c
cmp dword [rsi + 0x34], 5
jne 0x18004045c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180040465
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180030d68
jmp 0x1800404d8
jns 0x1800404d8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180035fb0
cmp rax, 0xffffffffffffffff
jne 0x180040490
cmp byte [rsi + 0x30], dil
je 0x1800404d8
mov edi, dword [rsi + 0x2c]
jmp 0x1800404d8
mov ecx, r14d
call fcn.180039a60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800404d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800404d8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800404d1
mov eax, dword [rsi + 0x2c]
jmp 0x1800404d6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180035fb0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140011366
Capabilities:
Terminate process

Disassembly:
jmp 0x140020f90
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]
add rsp, 0x28
ret
Function at 0x140011447
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400222e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140022300
xor al, al
jmp 0x140022381
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140022313
xor al, al
jmp 0x140022381
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 0x14002233d
xor al, al
jmp 0x140022381
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140022351
xor al, al
jmp 0x140022381
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140022363
xor al, al
jmp 0x140022381
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002237f
xor al, al
jmp 0x140022381
mov al, 1
add rsp, 0x38
ret
Function at 0x1400026e0
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 0x14000273d
lea rbx, [0x140032940]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002724
cmp r10, 2
jb 0x140002724
cmp byte [r9], r8b
jne 0x140002724
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 0x140002700
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000277f
lea rbx, [0x140032940]
cmp r8b, 0x23
jne 0x140002763
cmp byte [r9], r8b
jne 0x140002763
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 0x140002750
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002960
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140002979
mov qword [r8], 0
lea rdx, [0x14003278c]
call fcn.140002790
mov rbx, rax
test rax, rax
jne 0x140002998
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002a58
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002a58
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002a58
mov rax, qword [0x1400a2aa0]
mov rbp, rsi
test rax, rax
je 0x1400029f5
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002a58
mov r9, rbx
mov r8, rbp
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, rbp
je 0x140002a45
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400a2aa0]
test rax, rax
je 0x140002a3a
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002a61
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002a53
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140002a63
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400064f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x1400326d1]
mov dword [rsp + 0x2c], eax
lea r11, [0x140032940]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x140006543
cmp byte [r8], r9b
jne 0x140006543
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 0x140006530
mov ecx, dword [rbx + 0x2ecc]
lea rax, [0x1400117d0]
mov edi, dword [rbx + 0x2ec8]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x1400118a0]
mov qword [rsp + 0x38], rax
lea rax, [0x140011980]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140006649
inc edi
test ecx, ecx
je 0x1400065af
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400065b4
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140006649
mov rax, qword [0x1400a2aa0]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
test rax, rax
je 0x1400065dd
inc dword [rax + 0x3b0]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, qword [rbx + 0x2ed0]
mov rbp, rax
test rsi, rsi
je 0x140006632
movsxd rcx, dword [rbx + 0x2ec8]
mov rdx, rsi
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x1400a2aa0]
test rax, rax
je 0x140006629
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x2ed0], rbp
mov rbp, qword [rsp + 0x60]
mov dword [rbx + 0x2ecc], edi
movsxd rax, dword [rbx + 0x2ec8]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2ed0]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2ec8]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140007c20
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140007c70
lea r11, [0x140032940]
nop dword [rax]
cmp r9b, 0x23
jne 0x140007c53
cmp byte [r8], r9b
jne 0x140007c53
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 0x140007c40
mov rcx, qword [0x1400a2aa0]
not eax
movsxd rdx, dword [rcx + 0x19f8]
mov r9, qword [rcx + 0x1a00]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x140007cd1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x140007cc9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x140007ccc
mov rdx, r8
test rdx, rdx
jne 0x140007ca0
cmp r9, r10
je 0x140007ce0
cmp dword [r9], eax
jne 0x140007ce0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x140011240
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x40
mov r8, qword [0x1400a2aa0]
xor eax, eax
mov qword [rsp + 0x50], rbx
mov rbx, r8
mov qword [rsp + 0x60], rsi
mov rsi, rcx
mov qword [rsp + 0x20], rax
mov ecx, dword [r8 + 0x2edc]
mov edi, dword [r8 + 0x2ed8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x3c], al
cmp edi, ecx
jne 0x140011330
inc edi
test ecx, ecx
je 0x14001129d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400112a2
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140011330
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], r14
test rbx, rbx
je 0x1400112c5
inc dword [r8 + 0x3b0]
movsxd rcx, edi
shl rcx, 5
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, qword [rbx + 0x2ee0]
mov r14, rax
test rbp, rbp
je 0x140011312
movsxd r8, dword [rbx + 0x2ed8]
mov rdx, rbp
shl r8, 5
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x1400a2aa0]
test rdx, rdx
je 0x140011309
dec dword [rdx + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1400a2aa0]
mov rbp, qword [rsp + 0x58]
mov qword [rbx + 0x2ee0], r14
mov r14, qword [rsp + 0x68]
mov dword [rbx + 0x2edc], edi
movsxd rcx, dword [rbx + 0x2ed8]
mov rax, qword [rbx + 0x2ee0]
movups xmm0, xmmword [rsp + 0x20]
shl rcx, 5
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
movsxd rcx, dword [rbx + 0x2ed8]
mov rdi, rcx
shl rdi, 5
lea eax, [rcx + 1]
mov dword [rbx + 0x2ed8], eax
add rdi, qword [rbx + 0x2ee0]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140011380
test r8, r8
je 0x140011397
inc dword [r8 + 0x3b0]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x50]
lea r8, [rsi + 1]
mov qword [rdi], rax
mov r10d, 0xffffffff
movzx r9d, byte [rsi]
mov edx, r10d
mov rsi, qword [rsp + 0x60]
test r9b, r9b
je 0x140011410
lea r11, [0x140032940]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400113f3
cmp byte [r8], r9b
jne 0x1400113f3
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 0x1400113e0
not edx
mov rax, rdi
mov dword [rdi + 8], edx
add rsp, 0x40
pop rdi
ret
Function at 0x140011420
Capabilities:
Hash data with crc32

Disassembly:
push r13
push r14
sub rsp, 0x38
mov r13, qword [0x1400a2aa0]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rdi
mov rdi, rcx
mov qword [rsp + 0x28], r12
test rdx, rdx
jne 0x140011469
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140011460
test r13, r13
je 0x140011475
inc dword [r13 + 0x3b0]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x58], rax
mov r14, rax
lea r12, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r12], 0
xor esi, esi
mov rdi, r14
cmp r14, r12
jae 0x140011637
mov qword [rsp + 0x20], r15
movzx eax, byte [rdi]
cmp al, 0xa
je 0x140011681
cmp al, 0xd
je 0x140011681
mov rbx, rdi
cmp rdi, r12
jae 0x1400114e3
nop
movzx eax, byte [rbx]
cmp al, 0xa
je 0x1400114e3
cmp al, 0xd
je 0x1400114e3
inc rbx
cmp rbx, r12
jb 0x1400114d0
mov byte [rbx], 0
movzx eax, byte [rdi]
cmp al, 0x3b
je 0x140011620
cmp al, 0x5b
jne 0x140011607
cmp rbx, rdi
jbe 0x140011607
cmp byte [rbx - 1], 0x5d
lea r14, [rbx - 1]
jne 0x140011607
lea rsi, [rdi + 1]
mov byte [r14], 0
mov r8, r14
mov rcx, rsi
sub r8, rsi
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x140011552
lea rcx, [rax + 1]
mov edx, 0x5b
sub r14, rcx
mov r8, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140011552
mov byte [r15], 0
jmp 0x14001155c
lea rsi, str.Window
mov rax, rdi
movzx r9d, byte [rsi]
lea r11, [rax + 1]
mov r10, qword [0x1400a2aa0]
mov r14d, 0xffffffff
lea r8, [rsi + 1]
mov eax, r14d
test r9b, r9b
je 0x1400115b6
nop dword [rax]
cmp r9b, 0x23
jne 0x140011593
cmp byte [r8], r9b
jne 0x140011593
cmp byte [r8 + 1], r9b
cmove eax, r14d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
lea rcx, [0x140032940]
inc r8
xor eax, dword [rcx + rdx*4]
test r9b, r9b
jne 0x140011580
mov r8d, dword [r10 + 0x2ec8]
xor edx, edx
not eax
test r8d, r8d
jle 0x1400115e0
mov r9, qword [r10 + 0x2ed0]
lea rcx, [r9 + 8]
cmp dword [rcx], eax
je 0x1400115e6
inc edx
add rcx, 0x30
cmp edx, r8d
jl 0x1400115d1
xor esi, esi
xor ebp, ebp
jmp 0x140011620
movsxd rax, edx
lea rsi, [rax + rax*2]
shl rsi, 4
add rsi, r9
je 0x1400115e2
mov r8, r11
mov rdx, rsi
mov rcx, r13
call qword [rsi + 0x10]
mov rbp, rax
jmp 0x140011620
test rsi, rsi
je 0x140011620
test rbp, rbp
je 0x140011620
mov r9, rdi
mov r8, rbp
mov rdx, rsi
mov rcx, r13
call qword [rsi + 0x18]
lea rdi, [rbx + 1]
cmp rdi, r12
jb 0x1400114b3
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test r14, r14
je 0x140011667
mov rax, qword [0x1400a2aa0]
test rax, rax
je 0x140011667
dec dword [rax + 0x3b0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [r13 + 0x2eac], 1
add rsp, 0x38
pop r14
pop r13
ret
inc rdi
jmp 0x1400114b3
Function at 0x140011690
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x1400a2aa0]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x2eb0], r15d
test rcx, rcx
je 0x1400117bb
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x2eb8]
mov dword [rbx + 0x2eb0], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x1400116f4
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.140012720
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x14001170a
mov edx, 8
mov rcx, rdi
call fcn.140012720
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x2ec8], r15d
jle 0x140011755
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x2ed0]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rbx + 0x2ec8]
jl 0x140011730
mov eax, dword [rdi]
lea rdx, [0x140032790]
test eax, eax
lea rdi, [0x1400a2a98]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2ec0]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.140002790
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x1400117b1
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x14001cdf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001cf81
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001ce60
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001c810
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001be20
mov dword [rbx + 0x80], 0
jmp 0x14001cf6d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001ac00
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400302f8
Capabilities:
Parse pe header

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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, qword gs:[0x60]
mov rax, qword [rbx + 0x18]
mov rsi, qword [rax + 0x10]
add rax, 0x20
cmp rax, rsi
je 0x140002322
mov rdi, rcx
xor r14d, r14d
nop dword [rax]
mov rdx, qword [rsi + 0x60]
mov rcx, rdi
call fcn.1401e690c
test eax, eax
je 0x140002327
mov rsi, qword [rsi]
mov rax, qword [rbx + 0x18]
add rax, 0x20
cmp rax, rsi
jne 0x140002300
jmp 0x14000232b
xor r14d, r14d
jmp 0x14000232b
mov r14, qword [rsi + 0x30]
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140002340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rax + rcx + 0x88]
mov ebx, dword [rax + rcx + 0x18]
test rbx, rbx
je 0x1400023ad
mov r13, rdx
mov rsi, rcx
mov r15d, dword [rax + rcx + 0x1c]
add r15, rcx
mov r12d, dword [rax + rcx + 0x24]
add r12, rcx
mov edi, dword [rax + rcx + 0x20]
add rdi, rcx
xor r14d, r14d
xor ebp, ebp
nop word cs:[rax + rax]
mov ecx, dword [rdi + rbp*4]
add rcx, rsi
mov rdx, r13
call fcn.1401ed190
test eax, eax
je 0x1400023b2
add rbp, 1
cmp rbx, rbp
jne 0x140002390
jmp 0x1400023be
xor r14d, r14d
jmp 0x1400023be
movzx eax, word [r12 + rbp*2]
mov r14d, dword [r15 + rax*4]
add r14, rsi
mov rax, r14
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140002db0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x1402b9cc8]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x20]
call fcn.140002ed0
test al, al
jne 0x140002e06
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movabs rdi, 0x1ee7c0dec0ffee
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x140002e36
mov rcx, rsi
call fcn.1401ed780
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call qword [0x1402b9d30]
mov rsi, rax
jmp 0x140002e38
xor esi, esi
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140002e5c
mov rcx, rbx
call fcn.1401ed780
mov rcx, rbx
mov rdx, rax
mov r8, rdi
call qword [0x1402b9d30]
xor rsi, rax
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140002e80
mov rcx, rbx
call fcn.1401ed780
mov rcx, rbx
mov rdx, rax
mov r8, rdi
call qword [0x1402b9d30]
xor rsi, rax
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140002ea4
mov rcx, rbx
call fcn.1401ed780
mov rcx, rbx
mov rdx, rax
mov r8, rdi
call qword [0x1402b9d30]
xor rsi, rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140002eb3
call fcn.1400ad894
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400adbe0
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret