joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140343924
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.1403360fc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1403360fc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140343a74
cmp rax, 0xffffffffffffffff
je 0x140343a74
xor edi, edi
test rbp, rbp
jle 0x140343a1f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14033c040
mov rbx, rax
test rax, rax
jne 0x1403439ac
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140343a15
mov edx, 0x8000
mov ecx, r14d
call fcn.1403374b4
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.14033a328
cmp eax, 0xffffffff
je 0x1403439f5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1403439bc
mov edx, r15d
mov ecx, r14d
call fcn.1403374b4
jmp 0x140343a15
cmp byte [rsi + 0x38], dil
je 0x140343a0c
cmp dword [rsi + 0x34], 5
jne 0x140343a0c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x140343a15
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14033b174
jmp 0x140343a88
jns 0x140343a88
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1403360fc
cmp rax, 0xffffffffffffffff
jne 0x140343a40
cmp byte [rsi + 0x30], dil
je 0x140343a88
mov edi, dword [rsi + 0x2c]
jmp 0x140343a88
mov ecx, r14d
call fcn.140343814
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140343a88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x140343a88
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140343a81
mov eax, dword [rsi + 0x2c]
jmp 0x140343a86
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1403360fc
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 0x1403456a4
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 0x1403456d4
xor eax, eax
jmp 0x140345797
mov rbp, rbx
cmp word [rax], si
je 0x1403456f9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1403456e0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1403456dc
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.140342290
movsxd r14, eax
test eax, eax
jne 0x140345737
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1403456cd
mov rcx, r14
call fcn.14033d0c8
mov rdi, rax
test rax, rax
jne 0x140345750
xor ecx, ecx
call fcn.14033b174
jmp 0x14034572c
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.140342290
test eax, eax
jne 0x140345781
mov rcx, rdi
call fcn.14033b174
jmp 0x14034578b
xor ecx, ecx
call fcn.14033b174
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 0x1403457b4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14034583b
mov rsi, rbx
cmp word [rax], bp
je 0x1403457fa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1403457e4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1403457e0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14033d0c8
mov rdi, rax
test rax, rax
je 0x140345828
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140315900
mov rbp, rdi
xor ecx, ecx
call fcn.14033b174
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1403488ac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14033ad70
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14034894d
cmp ebx, dword [rsp + 0x30]
je 0x140348946
test esi, esi
je 0x140348946
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140348921
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14034892e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14034890b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140348932
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14034894f
mov eax, 1
jmp 0x14034894f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14034baa4
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140435c18]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14034baee
call fcn.140322508
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.140322528
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14031b5f4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140314b10
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14034baf9
lea eax, [rbx + 1]
jmp 0x14034badb
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14034bad9
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14034badb
Function at 0x14034bc04
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.14032521c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14034bc8e
cmp byte [rbp - 0x21], r15b
je 0x14034bc89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14034bcc4
call fcn.14033c3d8
test eax, eax
jne 0x14034bcb0
cmp byte [rbp - 0x21], r15b
je 0x14034bca8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14034bcc4
cmp byte [rbp - 0x21], r15b
je 0x14034bcc1
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.1403250a0
test eax, eax
jne 0x14034bd64
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14032521c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14034bd03
cmp byte [rbp - 0x21], r15b
je 0x14034bd38
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14034bd38
call fcn.14033c3d8
test eax, eax
jne 0x14034bd24
cmp byte [rbp - 0x21], r15b
je 0x14034bd1d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14034bd38
cmp byte [rbp - 0x21], r15b
je 0x14034bd35
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.1403250a0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14034bd64
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14034bd67
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14034bd75
mov rcx, rdi
call fcn.14033b174
cmp byte [rbp + 0x3f], r15b
je 0x14034bd84
mov rcx, qword [rbp + 0x27]
call fcn.14033b174
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 0x40d020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x40d07b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x40d07b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x40d096
cmp eax, 0x42
jne 0x40d07b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x40d146
cmp byte [r9 + r11], 0x5f
jne 0x40d146
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x40d1ae
mov rcx, rsi
xor edx, edx
call fcn.004086c0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.004086c0
test al, al
jne 0x40d241
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x40d0d2
lea rdx, [0x0043a494]
mov r8d, 1
call fcn.00402df0
test al, al
jne 0x40d241
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x40d08a
xor r14d, r14d
lea rbx, [0x0043a848]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x40d104
cmp byte [rax + rcx], 0x45
je 0x40d263
sub r14, 1
jb 0x40d129
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x40d129
mov r8d, 2
mov rdx, rbx
call fcn.00402df0
test al, al
jne 0x40d241
mov rcx, rsi
call fcn.00409ec0
test al, al
jne 0x40d241
mov rax, qword [rsi]
test rax, rax
jne 0x40d0f0
jmp 0x40d08a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x40d208
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x40d1a2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x40d18c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x40d17b
add dl, 0xa9
jmp 0x40d18a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x40d208
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x40d208
movzx edx, bl
add rax, rdx
jae 0x40d150
jmp 0x40d208
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x40d208
cmp rax, rcx
jae 0x40d205
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x40d25b
cmp qword [rsi + 0x20], 0
je 0x40d254
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.0040d020
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x40d08c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x40d249
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x0043a808]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.00402df0
test al, al
je 0x40d249
mov dil, 2
jmp 0x40d08a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x40d08a
mov dil, 1
xor r8d, r8d
jmp 0x40d20a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x40d08a
Function at 0x410d90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x410fb6
mov byte [rsp + 0x2e], 0
mov rax, qword [0x00443080]
cmp rax, 3
jne 0x410f62
cmp byte [rsp + 0x2e], 0
jne 0x410f77
mov ecx, dword [0x00436098]
test ecx, ecx
je 0x410f7d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x410ded
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x410e89
mov ecx, dword [0x00436098]
test ecx, ecx
je 0x410f90
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x410e3b
mov rsi, rax
cmp rax, 1
jne 0x410e83
lea rax, [0x0043b8e8]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
lea r9, [0x0043b0b8]
lea r8, [rsp + 0x2f]
mov edx, 0x46
call fcn.00403b20
ud2
movzx eax, byte [0x00443030]
mov ecx, 0x10
mov edx, 8
call fcn.00401950
test rax, rax
je 0x410ffb
mov rsi, rax
lea rax, [0x00436080]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x00436098]
test ecx, ecx
je 0x410fa3
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
mov rax, qword [0x00443048]
cmp rax, rsi
jne 0x410ebd
mov eax, dword [0x00443078]
inc eax
jne 0x410edd
lea rcx, str.lock_count_overflow_in_reentrant_mutexlibrary_std_src_sync_remutex.rs
lea r8, [0x0043bc20]
mov edx, 0x26
call fcn.00403d90
ud2
lea rcx, [0x00443040]
call sub.KERNEL32.dll_TryAcquireSRWLockExclusive
test al, al
je 0x410f77
mov qword [0x00443048], rsi
mov eax, 1
mov dword [0x00443078], eax
mov qword [rsp + 0x30], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x46], 0
cmp qword [0x00443050], 0
jne 0x410fd0
mov qword [0x00443050], 0xffffffffffffffff
lea rcx, [0x00443058]
call fcn.004110f0
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [0x00443068], xmm1
movups xmmword [0x00443058], xmm0
inc qword [0x00443050]
dec dword [0x00443078]
jne 0x410f77
mov qword [0x00443048], 0
lea rcx, [0x00443040]
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
jmp 0x410f77
lea rcx, [rsp + 0x2e]
call fcn.00411060
cmp byte [rsp + 0x2e], 0
je 0x410dc5
add rsp, 0x50
pop rsi
ret
lea rcx, [0x00436080]
call fcn.00410900
mov ecx, eax
jmp 0x410dd5
lea rcx, [0x00436080]
call fcn.00410900
mov ecx, eax
jmp 0x410dfd
lea rcx, [0x00436080]
call fcn.00410900
mov ecx, eax
jmp 0x410e7b
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_srccollections_btree_navigate.rsinvalid_args
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call fcn.00403110
ud2
lea rax, [0x0043b868]
mov qword [rsp + 0x20], rax
lea rcx, str.already_borrowedlibrary_std_srcio_stdio.rs
lea r9, [0x0043b0d8]
lea r8, [rsp + 0x2f]
mov edx, 0x10
call fcn.00403b20
ud2
mov ecx, 8
mov edx, 0x10
call fcn.00401db0
ud2
Function at 0x435320
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0043d180]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x43538d
mov rcx, r8
call fcn.00435200
test eax, eax
je 0x43538d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x43538d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x435384
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x43538f
add rax, 0x28
cmp rax, r9
jne 0x435370
xor eax, eax
add rsp, 0x28
ret

Function at 0x435680
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00435620
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00435620
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x140011230
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140014890
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400148b0
xor al, al
jmp 0x140014931
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400148c3
xor al, al
jmp 0x140014931
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 0x1400148ed
xor al, al
jmp 0x140014931
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014901
xor al, al
jmp 0x140014931
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014913
xor al, al
jmp 0x140014931
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001492f
xor al, al
jmp 0x140014931
mov al, 1
add rsp, 0x38
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x007c4ac0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x007c4ad0]
mov dword [rax], 1
mov rax, qword [0x007c4ae0]
mov dword [rax], 1
mov rax, qword [0x007c4ab0]
mov dword [rax], 1
mov rax, qword [0x007c49a0]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x007c4aa0]
mov dword [0x007c700c], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x007c4a60]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x007c4950]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x416d60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416f0b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x416dce
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416de1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416e05
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416e19
cmp rbx, 0x1000
jae 0x416dd8
nop
jmp 0x416e89
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x416e2d
xor edx, edx
jmp 0x416e80
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
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]
nop
test dl, dl
jne 0x416e0f
jmp 0x416df5
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call dbg.runtime.printlock
lea rax, [0x004eda31]
mov ebx, 0x18
nop dword [rax + rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x004edb09]
mov ebx, 0x19
nop dword [rax + rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x30]
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.00437b80
lea rax, [0x004efe33]
mov ebx, 0x21
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.sysUnusedOS
Function at 0x416f40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41716a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.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 dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416fbb
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416fce
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416ff0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x417004
cmp rbx, 0x1000
jae 0x416fc5
jmp 0x41708e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x417016
xor esi, esi
jmp 0x417080
mov rax, qword [sym.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
nop dword [rax]
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
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]
nop dword [rax + rax]
test sil, sil
jne 0x416ffa
jmp 0x416fe2
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x417109
call dbg.runtime.printlock
lea rax, [0x004edebf]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x68]
call dbg.runtime.printuint
lea rax, [0x004edb09]
mov ebx, 0x19
nop
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.00437b80
lea rax, [0x004ea9e1]
mov ebx, 0xd
call dbg.runtime.throw
cmp eax, 0x5af
je 0x4170b3
call dbg.runtime.printlock
lea rax, [0x004edebf]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x004edb09]
mov ebx, 0x19
nop dword [rax]
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.00437b80
lea rax, [0x004ef683]
mov ebx, 0x1f
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.sysUsedOS