joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f49a0
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x4f49b8
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x4f49b8
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x4f49c0
xor eax, eax
ret
cmp rbx, 3
je 0x4f49cc
cmp rbx, 4
jne 0x4f49f9
cmp al, 0x2c
ja 0x4f49e6
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x4f49f6
cmp al, 0x24
je 0x4f49f6
nop dword [rax]
cmp al, 0x26
jae 0x4f49f6
jmp 0x4f49f9
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x4f49f6
cmp al, 0x5b
je 0x4f49f6
cmp al, 0x5d
jne 0x4f49f9
xor eax, eax
ret
cmp al, 0x2f
ja 0x4f4a32
nop dword [rax]
cmp al, 0x26
ja 0x4f4a11
cmp al, 0x24
je 0x4f4a51
cmp al, 0x26
je 0x4f4a51
jmp 0x4f4acb
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x4f4a51
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x4f4ac8
cmp al, 0x2f
je 0x4f4a51
jmp 0x4f4acb
cmp al, 0x3d
ja 0x4f4a49
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x4f4a51
nop
cmp al, 0x3d
je 0x4f4a51
jmp 0x4f4acb
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x4f4ac0
cmp rbx, 2
jg 0x4f4a87
cmp rbx, 1
je 0x4f4a81
nop dword [rax]
cmp rbx, 2
jne 0x4f4acb
cmp al, 0x2f
je 0x4f4a72
cmp al, 0x3b
je 0x4f4a72
cmp al, 0x2c
jne 0x4f4a79
mov ecx, 1
jmp 0x4f4a7e
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x4f4aaa
cmp al, 0x40
je 0x4f4a99
cmp al, 0x2f
je 0x4f4a99
cmp al, 0x3f
jne 0x4f4aa2
mov ecx, 1
nop
jmp 0x4f4aa7
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x4f4ab9
cmp rbx, 7
jne 0x4f4acb
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x4f4ac8
cmp al, 0x7e
jne 0x4f4acb
xor eax, eax
ret
cmp rbx, 7
jne 0x4f4ae1
cmp al, 0x21
je 0x4f4add
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x4f4ae1
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x7ff762f27110
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x7ff762f31008]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ff762f271e3
cmp byte [rcx + 0x71], 0
je 0x7ff762f271e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ff762f271df
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ff762f271a4
sub eax, 1
je 0x7ff762f271a8
cmp eax, 2
jne 0x7ff762f271df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff762f2a270
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x7ff762f271d6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ff762f271df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x7ff762f2718c
xor al, al
jmp 0x7ff762f2718c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff762f2a270
add rsp, 0x60
pop rbx
ret

Function at 0x7ff762f297ec
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, [0x7ff762f2c680]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.kernel32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x7ff762f29870
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ff762f2c580]
cmp byte [rcx + rax], 0
je 0x7ff762f29870
dec r8
sub rdx, 1
jne 0x7ff762f29856
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x7ff762f2ae2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff762f2ae76
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff762f2ae76
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff762f2ae76
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff762f2ae76
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff762f2ae76
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff762f2ae78
xor al, al
add rsp, 0x28
ret
Function at 0x14000caff
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140021410]
jne 0x140007dea
rol rcx, 0x10
test cx, 0xffff
jne 0x140007de6
repz ret
ror rcx, 0x10
jmp 0x14000ca58
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140023110]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140023208]
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 0x14000cadd
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, [0x140023110]
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 0x14000caff
mov rax, qword [rsp + 0x88]
mov qword [0x140023208], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400231a8], rax
mov rax, qword [0x140023208]
mov qword [0x140023080], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140023190], rax
mov dword [0x140023070], 0xc0000409
mov dword [0x140023074], 1
mov rax, qword [0x140021410]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140021418]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140023108], eax
mov ecx, 1
call fcn.1400143bc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400191a0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140023108], 0
jne 0x14000cb86
mov ecx, 1
call fcn.1400143bc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14000e18c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000dffc

Function at 0x14000e198
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp fcn.14000dffc
Function at 0x140027a50
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.14001b704
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b704
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027ba0
cmp rax, 0xffffffffffffffff
je 0x140027ba0
xor edi, edi
test rbp, rbp
jle 0x140027b4b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dcec
mov rbx, rax
test rax, rax
jne 0x140027ad8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027b41
mov edx, 0x8000
mov ecx, r14d
call fcn.140015908
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.14001c3dc
cmp eax, 0xffffffff
je 0x140027b21
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027ae8
mov edx, r15d
mov ecx, r14d
call fcn.140015908
jmp 0x140027b41
cmp byte [rsi + 0x38], dil
je 0x140027b38
cmp dword [rsi + 0x34], 5
jne 0x140027b38
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027b41
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019dd8
jmp 0x140027bb4
jns 0x140027bb4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b704
cmp rax, 0xffffffffffffffff
jne 0x140027b6c
cmp byte [rsi + 0x30], dil
je 0x140027bb4
mov edi, dword [rsi + 0x2c]
jmp 0x140027bb4
mov ecx, r14d
call fcn.140016e84
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027bb4
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 0x140027bb4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027bad
mov eax, dword [rsi + 0x2c]
jmp 0x140027bb2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b704
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 0x140028cb0
Capabilities:
Parse pe header

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

Function at 0x1400018f8
Capabilities:
Parse pe header

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

Disassembly:
add edi, 8
lea rax, [0x140001003]
add edi, 8
movabs rcx, 0x104e
add edi, 8
xor byte [rax], 0x1d
add edi, 1
inc rax
add edi, 3
loop 0x14003601a
add edi, 1
jmp loc.140004000
Function at 0x140001bf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rbp + 0x47], rax
movdqa xmm0, xmmword [0x14001b9d0]
movdqu xmmword [rbp - 0x49], xmm0
movdqa xmm1, xmmword [0x14001ba00]
movdqu xmmword [rbp - 0x39], xmm1
mov dword [rbp - 0x29], 0x56c136c
mov dword [rbp - 0x25], 0x1108052d
mov dword [rbp - 0x21], 0x1917122a
mov word [rbp - 0x1d], 0xc
xor ecx, ecx
mov al, byte [rbp - 0x49]
xor byte [rbp + rcx - 0x48], al
inc rcx
cmp rcx, 0x2c
jb 0x140001c47
mov byte [rbp - 0x1c], 0
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x19]
call fcn.140001e98
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.140001938
nop
cmp qword [rax + 0x18], 0x10
jb 0x140001c81
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.140001590
nop
mov edi, 0x1000
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140001cca
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, rdi
jb 0x140001cc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001dd0
call fcn.14000245c
movdqa xmm0, xmmword [0x14001b9c0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140001d12
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rdi
jb 0x140001d0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001dd6
call fcn.14000245c
movdqa xmm0, xmmword [0x14001b9c0]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x49]
call fcn.140001938
nop
cmp qword [rax + 0x18], 0x10
jb 0x140001d3b
mov rax, qword [rax]
mov rcx, rax
call fcn.14000116c
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x140001d78
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rdi
jb 0x140001d72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ddc
call fcn.14000245c
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x140001dab
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, rdi
jb 0x140001da6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001dca
call fcn.14000245c
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140002400
mov rdi, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
call fcn.14000897c
nop
call fcn.14000897c
nop
call fcn.14000897c
int3
call fcn.14000897c
int3

Function at 0x140002e94
Capabilities:
Parse pe header

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

Function at 0x140009798
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009594
Function at 0x14000c4b8
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000c4e8
xor eax, eax
jmp 0x14000c5ab
mov rbp, rbx
cmp word [rax], si
je 0x14000c50d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000c4f4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000c4f0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000c3d8
movsxd r14, eax
test eax, eax
jne 0x14000c54b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000c4e1
mov rcx, r14
call fcn.14000a960
mov rdi, rax
test rax, rax
jne 0x14000c564
xor ecx, ecx
call fcn.14000aa38
jmp 0x14000c540
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000c3d8
test eax, eax
jne 0x14000c595
mov rcx, rdi
call fcn.14000aa38
jmp 0x14000c59f
xor ecx, ecx
call fcn.14000aa38
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000f910
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000b4a8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000f99a
cmp byte [rbp - 0x21], r15b
je 0x14000f995
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000f9d0
call fcn.14000da8c
test eax, eax
jne 0x14000f9bc
cmp byte [rbp - 0x21], r15b
je 0x14000f9b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000f9d0
cmp byte [rbp - 0x21], r15b
je 0x14000f9cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000aa88
test eax, eax
jne 0x14000fa70
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b4a8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000fa0f
cmp byte [rbp - 0x21], r15b
je 0x14000fa44
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000fa44
call fcn.14000da8c
test eax, eax
jne 0x14000fa30
cmp byte [rbp - 0x21], r15b
je 0x14000fa29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000fa44
cmp byte [rbp - 0x21], r15b
je 0x14000fa41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000aa88
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000fa70
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000fa73
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000fa81
mov rcx, rdi
call fcn.14000aa38
cmp byte [rbp + 0x3f], r15b
je 0x14000fa90
mov rcx, qword [rbp + 0x27]
call fcn.14000aa38
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140012940
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012968
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012968
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x411aa0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x411c2b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005329e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x411b05
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x411b14
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x411b33
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x411b43
cmp rbx, 0x1000
jae 0x411b0b
jmp 0x411bad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x411b55
xor edx, edx
jmp 0x411ba4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005329e0]
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 0x411b39
jmp 0x411b28
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005329e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x00475545]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0047580b]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x00476f77]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x411c60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x411e86
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
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 sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005329e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x411cd3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x411ce2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x411d05
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x411d15
cmp rbx, 0x1000
jae 0x411cd9
nop
jmp 0x411d98
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 0x411d2d
xor esi, esi
jmp 0x411d8a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
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 sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005329e0]
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 0x411d0b
jmp 0x411cf6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005329e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x411e20
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x00475824]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x0047580b]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004735bf]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x411dc0
call sym.runtime.printlock
lea rax, [0x00475824]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0047580b]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004769d9]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS