joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800148b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword [rcx + 0xc8]
movss xmm0, dword [rdx]
subss xmm0, dword [rcx + 0x10]
movss xmm1, dword [rdx + 8]
subss xmm1, dword [rcx + 0x10]
cvttss2si r8d, xmm0
movss xmm0, dword [rdx + 4]
subss xmm0, dword [rcx + 0x14]
mov r10d, r8d
cvttss2si ebx, xmm1
cvttss2si r9d, xmm0
mov edi, ebx
movss xmm0, dword [rdx + 0xc]
subss xmm0, dword [rcx + 0x14]
movsxd rcx, dword [rcx + 0xc0]
mov r11d, r9d
shr r11, 0x18
mov r14d, dword [rax + rcx*4 - 4]
not r14d
movzx eax, r8b
movzx ecx, r14b
lea r8, [0x18007be70]
xor rcx, rax
shr r14d, 8
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor r14d, dword [r8 + rcx*4]
movzx ecx, r14b
xor rdx, rcx
shr r14d, 8
shr eax, 0x10
shr r10, 0x18
cvttss2si esi, xmm0
xor r14d, dword [r8 + rdx*4]
movzx ecx, r14b
shr r14d, 8
movzx edx, al
xor rdx, rcx
movzx eax, r9b
mov ebp, esi
xor r14d, dword [r8 + rdx*4]
movzx ecx, r14b
shr r14d, 8
xor r10, rcx
xor r14d, dword [r8 + r10*4]
movzx ecx, r14b
xor rcx, rax
shr r14d, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor r14d, dword [r8 + rcx*4]
movzx ecx, r14b
xor rdx, rcx
shr r14d, 8
shr eax, 0x10
xor r14d, dword [r8 + rdx*4]
movzx ecx, r14b
shr r14d, 8
movzx edx, al
xor rdx, rcx
movzx eax, bl
xor r14d, dword [r8 + rdx*4]
movzx ecx, r14b
xor r11, rcx
shr r14d, 8
xor r14d, dword [r8 + r11*4]
movzx ecx, r14b
xor rcx, rax
shr r14d, 8
mov eax, ebx
shr eax, 8
movzx edx, al
xor r14d, dword [r8 + rcx*4]
movzx ecx, r14b
xor rdx, rcx
shr r14d, 8
xor r14d, dword [r8 + rdx*4]
movzx ecx, r14b
mov eax, ebx
shr r14d, 8
shr eax, 0x10
movzx edx, al
xor rdx, rcx
movzx eax, sil
shr rdi, 0x18
shr rbp, 0x18
xor r14d, dword [r8 + rdx*4]
movzx ecx, r14b
shr r14d, 8
xor rdi, rcx
xor r14d, dword [r8 + rdi*4]
movzx ecx, r14b
xor rcx, rax
shr r14d, 8
mov eax, esi
shr eax, 8
movzx edx, al
mov eax, esi
xor r14d, dword [r8 + rcx*4]
movzx ecx, r14b
shr r14d, 8
xor rdx, rcx
shr eax, 0x10
xor r14d, dword [r8 + rdx*4]
movzx ecx, r14b
shr r14d, 8
movzx edx, al
mov rax, qword [0x1800ddc00]
xor rdx, rcx
xor r14d, dword [r8 + rdx*4]
movzx ecx, r14b
shr r14d, 8
xor rbp, rcx
xor r14d, dword [r8 + rbp*4]
not r14d
cmp dword [rax + 0x1a60], r14d
jne 0x180014a93
mov dword [rax + 0x1a64], r14d
cmp dword [rax + 0x1a9c], r14d
jne 0x180014aa3
mov byte [rax + 0x1aa0], 1
mov rbx, qword [rsp + 0x10]
mov eax, r14d
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x180016e60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x18007bbfd]
mov dword [rsp + 0x2c], eax
lea r11, [0x18007be70]
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 0x180016eb3
cmp byte [r8], r9b
jne 0x180016eb3
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 0x180016ea0
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x180023390]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x180023450]
mov qword [rsp + 0x38], rax
lea rax, [0x180023520]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180016fb3
inc edi
test ecx, ecx
je 0x180016f1f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180016f24
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180016fb3
mov rax, qword [0x1800ddc00]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x180016f48
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call fcn.1800599e8
mov rdx, qword [rbx + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x180016fa1
movsxd rcx, dword [rbx + 0x2f10]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call fcn.18006cb40
mov rcx, qword [rbx + 0x2f18]
test rcx, rcx
je 0x180016f9c
mov rax, qword [0x1800ddc00]
test rax, rax
je 0x180016f9c
dec dword [rax + 0x3bc]
call fcn.1800541c4
mov qword [rbx + 0x2f18], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
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 + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1800183f0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180018440
lea r11, [0x18007be70]
nop dword [rax]
cmp r9b, 0x23
jne 0x180018423
cmp byte [r8], r9b
jne 0x180018423
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 0x180018410
mov rcx, qword [0x1800ddc00]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x1800184a1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180018499
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18001849c
mov rdx, r8
test rdx, rdx
jne 0x180018470
cmp r9, r10
je 0x1800184b0
cmp dword [r9], eax
jne 0x1800184b0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18001d760
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800ddc00]
lea r10, [0x18007be70]
mov r8, rcx
mov rbx, qword [rax + 0x1a18]
add rbx, 0xc0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov rax, r8
shr rax, 8
movzx edx, al
mov rax, r8
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr rax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x20
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x28
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr r8, 0x38
shr rax, 0x30
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
xor rcx, r8
shr edi, 8
mov r8d, dword [rbx + 4]
xor edi, dword [r10 + rcx*4]
not edi
cmp r9d, r8d
jne 0x18001d880
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18001d86c
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18001d871
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180024740
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18001d8a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800ddc00]
lea r10, [0x18007be70]
mov r8d, ecx
mov rbx, qword [rax + 0x1a18]
add rbx, 0xc0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov eax, r8d
mov r8d, dword [rbx + 4]
xor rdx, rcx
shr rax, 0x18
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r10 + rcx*4]
not edi
cmp r9d, r8d
jne 0x18001d961
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18001d94d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18001d952
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180024740
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180022ff0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x1800ddc00]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov rdi, rcx
mov qword [rsp + 0x30], r12
test rdx, rdx
jne 0x18002302e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x180023025
test r13, r13
je 0x18002303a
inc dword [r13 + 0x3bc]
lea rcx, [rbx + 1]
call fcn.1800599e8
mov r8, rbx
mov qword [rsp + 0x58], rax
mov rdx, rdi
mov rcx, rax
mov rsi, rax
lea r12, [rax + rbx]
call fcn.18006cb40
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x180023204
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x180023247
cmp al, 0xd
je 0x180023247
mov rbx, rcx
cmp rcx, r12
jae 0x1800230b3
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x1800230b3
cmp al, 0xd
je 0x1800230b3
inc rbx
cmp rbx, r12
jb 0x1800230a0
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x1800231e8
cmp al, 0x5b
jne 0x1800231cf
cmp rbx, rcx
jbe 0x1800231cf
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x1800231cf
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call fcn.18006d660
mov r15, rax
test rax, rax
je 0x1800231e8
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call fcn.18006d660
mov r11, rax
test rax, rax
je 0x1800231e8
mov r10, qword [0x1800ddc00]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x18002317a
cmp r9b, 0x23
jne 0x180023157
cmp byte [r8], r9b
jne 0x180023157
cmp byte [r8 + 1], r9b
cmove ecx, esi
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x18007be70]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x180023145
mov r8d, dword [r10 + 0x2f10]
xor edx, edx
not ecx
test r8d, r8d
jle 0x1800231a4
mov r9, qword [r10 + 0x2f18]
lea rax, [r9 + 8]
cmp dword [rax], ecx
je 0x1800231aa
inc edx
add rax, 0x30
cmp edx, r8d
jl 0x180023195
xor edi, edi
xor ebp, ebp
jmp 0x1800231e8
movsxd rax, edx
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x1800231a6
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x1800231e8
test rdi, rdi
je 0x1800231e8
test rbp, rbp
je 0x1800231e8
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x180023080
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test rsi, rsi
je 0x18002322f
mov rax, qword [0x1800ddc00]
test rax, rax
je 0x18002322f
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1800541c4
mov byte [r13 + 0x2ef4], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x180023080
Function at 0x180067328
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.18005d314
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18005d314
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180067478
cmp rax, 0xffffffffffffffff
je 0x180067478
xor edi, edi
test rbp, rbp
jle 0x180067423
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18005c420
mov rbx, rax
test rax, rax
jne 0x1800673b0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180067419
mov edx, 0x8000
mov ecx, r14d
call fcn.1800671ac
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.18005ed14
cmp eax, 0xffffffff
je 0x1800673f9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800673c0
mov edx, r15d
mov ecx, r14d
call fcn.1800671ac
jmp 0x180067419
cmp byte [rsi + 0x38], dil
je 0x180067410
cmp dword [rsi + 0x34], 5
jne 0x180067410
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180067419
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18005c498
jmp 0x18006748c
jns 0x18006748c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18005d314
cmp rax, 0xffffffffffffffff
jne 0x180067444
cmp byte [rsi + 0x30], dil
je 0x18006748c
mov edi, dword [rsi + 0x2c]
jmp 0x18006748c
mov ecx, r14d
call fcn.1800641a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18006748c
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 0x18006748c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180067485
mov eax, dword [rsi + 0x2c]
jmp 0x18006748a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18005d314
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 0x180068510
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180068538
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180068538
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14095d000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x14095d00a
jmp 0x14095f00f
jmp fcn.14065c058
Function at 0x140001111
Capabilities:
Execute anti-debugging instructions

Disassembly:
movabs rax, 0xb2d05e00
mov rbx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, rbx
jb 0x14000112a
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0xffffffff9f345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x140001151
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x14000114a
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x140004000
Capabilities:
Create process on windows
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0xf0
lea rax, [rsp + 0x54]
mov rbp, r8
xor esi, esi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea edx, [rsi + 2]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.WINSPOOL.DRV_EnumMonitorsA
test eax, eax
jne 0x1400040b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400040b4
mov ecx, dword [rsp + 0x50]
call fcn.140004290
test rax, rax
mov rsi, rax
jne 0x14000406a
lea eax, [rsi + 1]
mov rbp, qword [rsp + 0x110]
add rsp, 0xf0
pop rsi
ret
mov r9d, dword [rsp + 0x50]
lea rax, [rsp + 0x54]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.WINSPOOL.DRV_EnumMonitorsA
test eax, eax
jne 0x1400040b4
mov rcx, rsi
call fcn.140004240
mov eax, 0xfffffffe
mov rbp, qword [rsp + 0x110]
add rsp, 0xf0
pop rsi
ret
mov qword [rsp + 0x100], rbx
xor ebx, ebx
cmp dword [rsp + 0x54], ebx
jbe 0x1400040f9
mov qword [rsp + 0x108], rdi
mov rdi, rsi
nop
mov rcx, qword [rdi]
lea rdx, str.LPR_Port
call fcn.1400041d0
test rax, rax
jne 0x1400040f1
add ebx, 1
add rdi, 0x18
cmp ebx, dword [rsp + 0x54]
jb 0x1400040d0
mov rdi, qword [rsp + 0x108]
mov rcx, rsi
call fcn.140004240
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea r11, [rsp + 0x60]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
lea rax, [0x14000c404]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x1400041a6
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x124f80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x100]
mov rbp, qword [rsp + 0x110]
xor eax, eax
add rsp, 0xf0
pop rsi
ret
Function at 0x140004ba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x14000e190]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x140004bde
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140004bc0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140004dc5
mov ecx, 3
call fcn.140007900
cmp eax, 1
je 0x140004d7c
mov ecx, 3
call fcn.140007900
test eax, eax
jne 0x140004c15
cmp dword [section..data], 1
je 0x140004d7c
cmp edi, 0xfc
je 0x140004dc5
mov qword [rsp + 0x50], rbp
lea rbp, [0x14000f150]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140007850
test eax, eax
je 0x140004c59
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006830
lea rdx, [0x14000f169]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14000f26d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140004ca9
lea r8, str._program_name_unknown_
lea rcx, [0x14000f169]
mov edx, 0x2fb
call fcn.140007850
test eax, eax
je 0x140004ca9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006830
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14000f169]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140004cf8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x14000f464]
lea r9d, [rax + 3]
lea r8, [0x14000b874]
sub rdx, rcx
call fcn.140007730
test eax, eax
je 0x140004cf8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006830
lea r8, [0x14000b870]
mov edx, 0x314
mov rcx, rbp
call fcn.140007670
test eax, eax
je 0x140004d24
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006830
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140007670
test eax, eax
je 0x140004d54
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006830
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.140007410
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140004dc5
cmp rax, 0xffffffffffffffff
je 0x140004dc5
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140004de0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.140007900
cmp eax, 1
je 0x140004e12
mov ecx, 3
call fcn.140007900
test eax, eax
jne 0x140004ec6
cmp dword [section..data], 1
jne 0x140004ec6
mov qword [rsp + 0x48], rbx
lea rbx, [0x14000e190]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x140004e3e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140004e28
jmp 0x140004eb2
cmp edi, 0x17
jae 0x140004eb2
mov ecx, 3
call fcn.140007900
cmp eax, 1
je 0x140004e69
mov ecx, 3
call fcn.140007900
test eax, eax
jne 0x140004eb2
cmp dword [section..data], 1
jne 0x140004eb2
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140004eb2
cmp rax, 0xffffffffffffffff
je 0x140004eb2
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.140004ba0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret

Function at 0x140004fc7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000e300]
jne 0x14000438a
rol rcx, 0x10
test cx, 0xffff
jne 0x140004386
repz ret
ror rcx, 0x10
jmp 0x140004f20
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000f520]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000f618]
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 0x140004fa5
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, [0x14000f520]
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 0x140004fc7
mov rax, qword [rsp + 0x88]
mov qword [0x14000f618], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000f5b8], rax
mov rax, qword [0x14000f618]
mov qword [0x14000f490], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000f5a0], rax
mov dword [0x14000f480], 0xc0000409
mov dword [0x14000f484], 1
mov rax, qword [0x14000e300]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000e308]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000f518], eax
mov ecx, 1
call fcn.140007960
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000b8b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000f518], 0
jne 0x14000504e
mov ecx, 1
call fcn.140007960
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret