joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f0890
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14018f050]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400f08b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400f08b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400f08b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400f090d
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 0x1400f0904
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400f08b0
add rax, 0x28
cmp rax, r9
jne 0x1400f08f0
xor eax, eax
ret

Function at 0x1400f0910
Capabilities:
Parse pe header

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

Function at 0x1400f09d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14018f050]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400f09ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400f09f8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140004cb0
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 0x140004d0d
lea rbx, [0x140042960]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004cf4
cmp r10, 2
jb 0x140004cf4
cmp byte [r9], r8b
jne 0x140004cf4
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 0x140004cd0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004d4f
lea rbx, [0x140042960]
cmp r8b, 0x23
jne 0x140004d33
cmp byte [r9], r8b
jne 0x140004d33
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 0x140004d20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004e90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140004eaa
mov qword [r8], 0
lea rdx, [0x1400424c0]
call fcn.140004d60
mov rbx, rax
test rax, rax
jne 0x140004eca
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 0x140004fa3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004fa3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004fa3
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 0x140004fa3
cmp rdi, 0xffffffffffffffff
je 0x140004fa3
mov rax, qword [0x140060df8]
test rax, rax
je 0x140004f40
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140004fa3
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 0x140004f90
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140060df8]
test rax, rax
je 0x140004f85
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004fac
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140004f9e
mov qword [r14], rdi
mov rax, rsi
jmp 0x140004fae
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 0x140008b00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140042960]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140008b94
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001c140
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140008bb0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x140042960]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14000c3e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x140060df8]
mov ebp, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
cmp qword [rbx + 0x1a8], 0
jne 0x14000c426
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x14000c42b
mov eax, 0x220
movss xmm3, dword [rax + rbx]
xor r15d, r15d
movss xmm2, dword [rax + rbx + 4]
xorps xmm5, xmm5
cvttss2si eax, dword [r8]
mov edx, 2
subss xmm3, dword [rbx + 0x100]
subss xmm2, dword [rbx + 0x104]
movss xmm4, dword [0x140047504]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
mov r8d, 1
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, r15d
ucomiss xmm1, xmm5
cvtdq2ps xmm0, xmm0
cmove eax, r8d
ucomiss xmm0, xmm5
cmove r15d, edx
or r15d, eax
comiss xmm1, xmm5
ja 0x14000c49c
addss xmm3, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm4
comiss xmm0, xmm5
ja 0x14000c4ac
addss xmm2, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm4
or dword [rdi + 0x47b8], edx
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], r8d
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14000c4f0
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140004b90
jmp 0x14000c505
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x60]
call fcn.140004b90
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.14000eec0
mov rsi, qword [rdi + 0x3ed8]
movzx r14d, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], ebp
mov byte [rsi + 0xd2], r15b
jne 0x14000c556
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, ebp
lea rdx, [0x1400419b1]
not r9d
lea r10, [0x140042960]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000c583
cmp byte [rdx], r8b
jne 0x14000c583
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000c570
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000c5b3
xor edx, edx
xor ecx, ecx
call fcn.140008da0
cmp dword [rdi + 0x48e0], ebp
jne 0x14000c5f8
cmp word [rsi + 0x15c], 0
jne 0x14000c5ce
cmp byte [rsi + 0x162], 0
je 0x14000c5f8
xor edx, edx
mov rcx, rsi
call fcn.1400112c0
xor edx, edx
mov rcx, rsi
call fcn.140017270
mov rdx, rsi
mov ecx, ebx
call fcn.140008da0
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140015320
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140060df8]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x140015381
cmp byte [rbx + 0x4a92], 0
jne 0x140015381
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004b10
test dil, 2
je 0x1400154af
jmp 0x14001540c
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14004752c]
mov edx, 0x10
mulss xmm1, dword [0x140047524]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x1400474ac]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.140004b10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015460
lea r11, [0x140042960]
nop dword [rax]
cmp r9b, 0x23
jne 0x140015443
cmp byte [r8], r9b
jne 0x140015443
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140015430
not ecx
call fcn.14000c920
test rax, rax
je 0x1400154af
cmp byte [rax + 0xb6], 0
je 0x1400154af
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.140004b10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000eec0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003e5e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a9a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001aa47
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001a9fa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001cda0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140005480
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140060df0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001aa4f
mov rcx, rbx
call fcn.140005480
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001aed0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140060df8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001af33
mov qword [rsp], rbx
lea rbx, [0x140042960]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001af13
cmp byte [r8], r9b
jne 0x14001af13
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 [rbx + rdx*4]
test r9b, r9b
jne 0x14001af00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001af5f
cmp dword [r8 + 8], eax
je 0x14001af66
add r8, 0x48
cmp r8, rcx
jne 0x14001af50
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003aca0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14003ad2c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14003ad00
lea r11, [0x140042960]
nop
cmp r9b, 0x23
jne 0x14003ace3
cmp byte [r8], r9b
jne 0x14003ace3
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 0x14003acd0
mov rcx, qword [0x140060df8]
not eax
cmp dword [rcx + 0x3f38], eax
jne 0x14003ad17
mov dword [rcx + 0x3f3c], eax
cmp dword [rcx + 0x3f68], eax
jne 0x14003ad89
mov byte [rcx + 0x3f6c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x140060df8]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed8]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140004cb0
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f20], eax
jne 0x14003ad82
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001c140
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003f1c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003f212
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003f212
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003f212
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003f212
cmp dword [rcx + 0x84], 0xe
jbe 0x14003f212
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003f214
xor al, al
add rsp, 0x28
ret
Function at 0x3ba3a19c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 0x28], 0
mov qword [rbp - 8], 0
cmp qword [rbp + 0x10], 0
jne 0x3ba3a19f1
mov eax, 0
jmp 0x3ba3a1b50
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x48], 0
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
add rax, 0x88
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
cmp eax, 0xffff
ja 0x3ba3a1adb
mov rax, qword [rbp + 0x18]
mov eax, eax
movzx edx, ax
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x10]
mov ecx, eax
mov rax, rdx
sub rax, rcx
shl rax, 2
add qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov qword [rbp - 8], rax
jmp 0x3ba3a1b4c
mov rax, qword [rbp - 0x48]
mov eax, dword [rax + 0x18]
mov dword [rbp - 0x1c], eax
jmp 0x3ba3a1b3f
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp - 0x50]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x3ba3a1b35
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
shl rax, 2
add qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x28]
add rax, rdx
mov qword [rbp - 8], rax
jmp 0x3ba3a1b4c
add qword [rbp - 0x10], 4
add qword [rbp - 0x18], 2
mov eax, dword [rbp - 0x1c]
lea edx, [rax - 1]
mov dword [rbp - 0x1c], edx
test eax, eax
jne 0x3ba3a1ae7
mov rax, qword [rbp - 8]
add rsp, 0x70
pop rbp
ret
Function at 0x3ba3a1bb4
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov word [rbp - 2], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x18]
add rax, rdx
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
add rax, 0x18
mov rdx, rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx eax, ax
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0x10], eax
jae 0x3ba3a1c1f
mov eax, dword [rbp + 0x10]
jmp 0x3ba3a1d02
mov word [rbp - 2], 0
jmp 0x3ba3a1ceb
movzx edx, word [rbp - 2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov eax, dword [rax + 0xc]
cmp dword [rbp + 0x10], eax
jb 0x3ba3a1ce0
movzx edx, word [rbp - 2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov ecx, dword [rax + 0xc]
movzx edx, word [rbp - 2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov eax, dword [rax + 0x10]
add eax, ecx
cmp dword [rbp + 0x10], eax
jae 0x3ba3a1ce0
movzx edx, word [rbp - 2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov eax, dword [rax + 0xc]
mov edx, dword [rbp + 0x10]
mov ecx, edx
sub ecx, eax
movzx edx, word [rbp - 2]
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov eax, dword [rax + 0x14]
add eax, ecx
jmp 0x3ba3a1d02
movzx eax, word [rbp - 2]
add eax, 1
mov word [rbp - 2], ax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
cmp word [rbp - 2], ax
jb 0x3ba3a1c2a
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x3ba3a1d08
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 8], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x14], 0
mov dword [rbp - 0x34], 2
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
movzx eax, word [rax + 0x18]
cmp ax, 0x10b
jne 0x3ba3a1d85
cmp dword [rbp - 0x34], 1
je 0x3ba3a1dad
mov eax, 0
jmp 0x3ba3a1eee
mov rax, qword [rbp - 0x28]
movzx eax, word [rax + 0x18]
cmp ax, 0x20b
jne 0x3ba3a1da3
cmp dword [rbp - 0x34], 2
je 0x3ba3a1dad
mov eax, 0
jmp 0x3ba3a1eee
mov eax, 0
jmp 0x3ba3a1eee
mov rax, qword [rbp - 0x28]
add rax, 0x88
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov rdx, qword [rbp - 0x20]
mov ecx, eax
call dbg.Rva2Offset
mov edx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x20]
mov rdx, qword [rbp - 0x20]
mov ecx, eax
call dbg.Rva2Offset
mov edx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x1c]
mov rdx, qword [rbp - 0x20]
mov ecx, eax
call dbg.Rva2Offset
mov edx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x24]
mov rdx, qword [rbp - 0x20]
mov ecx, eax
call dbg.Rva2Offset
mov edx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x18]
mov dword [rbp - 0x14], eax
jmp 0x3ba3a1ec9
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov rdx, qword [rbp - 0x20]
mov ecx, eax
call dbg.Rva2Offset
mov edx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
lea rdx, str.ReflectiveLoader
mov rcx, rax
call sym.strstr
test rax, rax
je 0x3ba3a1ebf
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x1c]
mov rdx, qword [rbp - 0x20]
mov ecx, eax
call dbg.Rva2Offset
mov edx, eax
mov rax, qword [rbp - 0x20]
add rax, rdx
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x10]
movzx eax, word [rax]
movzx eax, ax
shl rax, 2
add qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov eax, dword [rax]
mov rdx, qword [rbp - 0x20]
mov ecx, eax
call dbg.Rva2Offset
jmp 0x3ba3a1eee
add qword [rbp - 8], 4
add qword [rbp - 0x10], 2
mov eax, dword [rbp - 0x14]
lea edx, [rax - 1]
mov dword [rbp - 0x14], edx
test eax, eax
jne 0x3ba3a1e45
lea rax, [0x3ba3ab121]
mov rcx, rax
call dbg.printf
mov eax, 0
add rsp, 0x60
pop rbp
ret
Function at 0x3ba3a1ef4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp - 0x20], 0
mov dword [rbp - 4], 0
mov dword [rbp - 0x24], 0
mov dword [rbp - 0x28], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
cmp qword [rbp + 0x10], 0
je 0x3ba3a1f3d
cmp dword [rbp + 0x18], 0
jne 0x3ba3a1f47
mov eax, 0
jmp 0x3ba3a1fea
mov rax, qword [rbp + 0x10]
mov rcx, rax
call dbg.GetReflectiveLoaderOffset
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x3ba3a1fe6
mov edx, dword [rbp - 4]
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x10], rax
mov edx, dword [rbp + 0x18]
lea rcx, [rbp - 0x24]
mov rax, qword [rbp + 0x10]
mov r9, rcx
mov r8d, 0x40
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
je 0x3ba3a1fe6
mov rax, qword [rbp - 0x10]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
je 0x3ba3a1fc6
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov r8, rdx
mov edx, 6
mov ecx, 0
call rax
test eax, eax
jne 0x3ba3a1fc6
mov qword [rbp - 0x20], 0
mov ecx, dword [rbp - 0x24]
mov edx, dword [rbp + 0x18]
lea r8, [rbp - 0x28]
mov rax, qword [rbp + 0x10]
mov r9, r8
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov rax, qword [rbp - 0x20]
add rsp, 0x50
pop rbp
ret