joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140098590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rbp - 0x40], 6
mov r13, 7
mov rax, 0x54
mov r10, qword [rbp - 0x40]
cqo
idiv r10
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], 9
xor r15d, r15d
mov r10, qword [rbp - 0x58]
mov r14, r10
sub r14, 9
movabs r10, 0x6a7c
mov qword [rbp - 0xb8], r10
mov edi, 0x876f48a2
mov r14d, 0x3989
mov r10, qword [rbp - 0xb8]
movabs r9, 0x9a14
mov r15, r10
imul r15, r9
mov r10d, r14d
movabs r9, 0x436
mov r14, r10
add r14, r9
movabs r10, 0x100000000
mov qword [rbp - 0x60], r10
add r15, qword [rbp - 0x60]
mov r10, qword [rbp - 0x40]
mov r12, r10
sub r12, 6
mov esi, 0x1e4b
movabs r10, 0x4b98
add byte [rbp + 1], cl
xlatb
mov r10d, r14d
movabs r9, 0x4b641
mov ecx, 0x4b641
add byte [rax], al
add byte [rax], al
mov r14, r10
add r14, r9
sub edi, 1
sub r15, rsi

Function at 0x1400985a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rbp - 0x40], 6
mov r13, 7
mov rax, 0x54
mov r10, qword [rbp - 0x40]
cqo
idiv r10
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], 9
xor r15d, r15d
mov r10, qword [rbp - 0x58]
mov r14, r10
sub r14, 9
movabs r10, 0x6a7c
mov qword [rbp - 0xb8], r10
mov edi, 0x876f48a2
mov r14d, 0x3989
mov r10, qword [rbp - 0xb8]
movabs r9, 0x9a14
mov r15, r10
imul r15, r9
mov r10d, r14d
movabs r9, 0x436
mov r14, r10
add r14, r9
movabs r10, 0x100000000
mov qword [rbp - 0x60], r10
add r15, qword [rbp - 0x60]
mov r10, qword [rbp - 0x40]
mov r12, r10
sub r12, 6
mov esi, 0x1e4b
movabs r10, 0x4b98
add byte [rbp + 1], cl
xlatb
mov r10d, r14d
movabs r9, 0x4b641
mov ecx, 0x4b641
add byte [rax], al
add byte [rax], al
mov r14, r10
add r14, r9
sub edi, 1
sub r15, rsi

Function at 0x140098650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rbp - 0x40], 6
mov r13, 7
mov rax, 0x54
mov r10, qword [rbp - 0x40]
cqo
idiv r10
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], 9
xor r15d, r15d
mov r10, qword [rbp - 0x58]
mov r14, r10
sub r14, 9
movabs r10, 0x6a7c
mov qword [rbp - 0xb8], r10
mov edi, 0x876f48a2
mov r14d, 0x3989
mov r10, qword [rbp - 0xb8]
movabs r9, 0x9a14
mov r15, r10
imul r15, r9
mov r10d, r14d
movabs r9, 0x436
mov r14, r10
add r14, r9
movabs r10, 0x100000000
mov qword [rbp - 0x60], r10
add r15, qword [rbp - 0x60]
mov r10, qword [rbp - 0x40]
mov r12, r10
sub r12, 6
mov esi, 0x1e4b
movabs r10, 0x4b98
add byte [rbp + 1], cl
xlatb
mov r10d, r14d
movabs r9, 0x4b641
mov ecx, 0x4b641
add byte [rax], al
add byte [rax], al
mov r14, r10
add r14, r9
sub edi, 1
sub r15, rsi
Function at 0x140098674
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r10, qword [rbp - 0x40]
sub r10, 3
add eax, dword [rcx - 0x77]
int1
add eax, dword [rcx - 0x77]
int1
mov r11, r10
add r11, r9
jmp 0x1400986e6
mov r10d, r11d
mov r10b, byte [r15 + r10]
mov byte [rbp - 0x31], r10b
movzx r10d, byte [rbp - 0x31]
mov r10d, esi
add r10d, r14d
cmp r11d, r10d
jb 0x140098680
mov qword [rbp - 0x88], 0x40173948
lea r12, [r12 + 1]
mov qword [rbp - 0x78], 0x401fa000
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x78], r10
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x88], r10
mov r10, qword [rbp - 0x50]
sub r10, 8
mov r9d, r12d
cmp r10, r9
jge 0x14009866d
invalid
invalid
invalid
invalid
mov qword [rbp - 0x90], 0x40335000
mov r10, qword [rbp - 0x50]
sub r10, 0xe
mov dword [rbp - 0x64], r10d
mov r10d, dword [rbp - 0x64]
mov r9, qword [rbp - 0x88]
mov r10b, byte [r9 + r10]
mov byte [rbp - 0x31], r10b
mov r10d, dword [rbp - 0x64]
mov r9, qword [rbp - 0x78]
mov r8b, byte [rbp - 0x31]
mov byte [r9 + r10], r8b
mov r10d, r10d
lea r10, [r10 + 1]
mov dword [rbp - 0x64], r10d
movabs r9, 0x3dbf0
cmp r10, r9
jl 0x140098747
mov qword [rbp - 0x98], 0x401b2d48
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x90], r10
mov r10, qword [rbp - 0x60]
add qword [rbp - 0x98], r10
mov r10, qword [rbp - 0x58]
add r10, qword [rbp - 0x40]
sub r10, 0xf
mov dword [rbp - 0x68], r10d
mov r10d, dword [rbp - 0x68]
lea r10, [r10 + 1]
mov dword [rbp - 0x68], r10d
mov r9, qword [rbp - 0x90]
mov r8, r13
add r8, qword [rbp - 0x40]
sub r8, 0xc
sub eax, 0xc
mov rdx, r10
sub rdx, r8
mov qword [rbp - 0xf0], rdx
mov r8, qword [rbp - 0x98]
mov rax, 7
cqo
idiv r13
sub r10, rax
mov r10b, byte [r10 + r8]
mov r8, qword [rbp - 0xf0]
mov byte [r8 + r9], r10b
mov r10d, dword [rbp - 0x68]
movabs r9, 0xe0a0
cmp r10, r9
jl 0x1400987b5
mov qword [rbp - 0x48], 0x401c2348
movabs r10, 0x401c3134
mov qword [rbp - 0xa0], r10
movabs r10, 0x8000000
invalid
invalid
xchg ebp, eax
invalid
invalid

Function at 0x1400a2fd8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a3108
Function at 0xcb9250
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xcb925d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xcb926d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xcb9255
lea eax, [rcx + 1]
jmp 0xcb927b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xcb928e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xcb9274
sub eax, 3
jb 0xcb92ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xcb92fd
sar eax, 1
movsxd rbp, eax
jb 0xcb92e4
jmp 0xcb92bc
add ebx, ebx
jne 0xcb92ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xcb92e4
inc ecx
add ebx, ebx
jne 0xcb92ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xcb92e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xcb92dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xcb92cc
add ecx, 2
jmp 0xcb92e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00cb9212
jmp 0xcb925d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2bdc00
mov dl, 0x27
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xcb9349
cmp rsi, rcx
jae 0xcb9351
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xcb9330
cmp al, 0x8f
ja 0xcb9330
cmp byte [rsi - 2], 0xf
je 0xcb9336
sub al, 0xe8
cmp al, 1
ja 0xcb931a
cmp rsi, rcx
jae 0xcb9351
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xcb9320
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xcb9351
lodsb al, byte [rsi]
jmp 0xcb9330
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x8b1000]
mov eax, dword [rdi]
or eax, eax
je 0xcb93ae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x8b9000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xcb935e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xcb93a8
mov qword [rbx], rax
add rbx, 8
jmp 0xcb937e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xcb93f2
cmp al, 0xef
ja 0xcb93da
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xcb93ba
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xcb93c9
mov eax, dword [rdi]
add rdi, 4
jmp 0xcb93c9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xcb9446
sub rsp, 0xffffffffffffff80
jmp 0x4667a0
Function at 0x14001519a
Capabilities:
Write file on windows

Disassembly:
jmp 0x140039430
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14005f06d]
call fcn.140016095
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140039487
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140039593
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14003952c
cmp qword [rbp + 0x28], 0
jle 0x14003952c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400394cc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140015f7d
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140039582
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140039582
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400152b2
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140027eb0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14005f06c]
call fcn.140016095
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x140027eec
mov rcx, qword [rbp + 0x100]
call fcn.140015325
jmp 0x140027f07
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x140027f07
mov rcx, qword [rbp + 0x100]
call fcn.14001582f
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001582f
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14002bcf0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x14005f06c]
call fcn.140016095
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x14002bd34
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x14002bdc5
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x14002bd8a
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14002bd94
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002bd29
mov qword [rbp + 0x88], 0xe3
jmp 0x14002bde3
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x14002be8c
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x14002be48
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14002be52
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002bdd2
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x14002beec
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14002bef6
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x14001593d
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14003cf30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003cf50
xor al, al
jmp 0x14003cfd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14003cf63
xor al, al
jmp 0x14003cfd1
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 0x14003cf8d
xor al, al
jmp 0x14003cfd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14003cfa1
xor al, al
jmp 0x14003cfd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14003cfb3
xor al, al
jmp 0x14003cfd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14003cfcf
xor al, al
jmp 0x14003cfd1
mov al, 1
add rsp, 0x38
ret
Function at 0x140016063
Capabilities:
Write file on windows

Disassembly:
jmp 0x140029ec0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x140055040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14005f06d]
call fcn.140016095
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140029f26
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140029f2d
mov al, 1
jmp 0x14002a07d
call fcn.1400154bf
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.1400154bf
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140015cdf
movzx eax, al
test eax, eax
je 0x140029f7e
xor al, al
jmp 0x14002a07d
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140029fe3
cmp dword [rbp + 0x154], 1
je 0x140029fee
cmp dword [rbp + 0x154], 3
je 0x14002a06c
jmp 0x14002a07b
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14002a03e
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14002a03e
xor al, al
jmp 0x14002a07d
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002a059
mov dword [rbp + 0x154], 1
jmp 0x14002a063
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14002a07d
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14002a07d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140049400]
call fcn.140015d8e
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.140015802
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x4140a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41422b
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 [0x005844a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414105
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414114
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414133
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414143
cmp rbx, 0x1000
jae 0x41410b
jmp 0x4141ad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414155
xor edx, edx
jmp 0x4141a4
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 [0x005844a8]
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 0x414139
jmp 0x414128
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005844a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004a21d0]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004a24d7]
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, [0x004a4092]
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 0x414260
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414486
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 [0x005844a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4142d3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4142e2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414305
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414315
cmp rbx, 0x1000
jae 0x4142d9
nop
jmp 0x414398
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 0x41432d
xor esi, esi
jmp 0x41438a
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 [0x005844a8]
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 0x41430b
jmp 0x4142f6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005844a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414420
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004a24f0]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004a24d7]
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, [0x0049fb9b]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4143c0
call sym.runtime.printlock
lea rax, [0x004a24f0]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004a24d7]
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, [0x004a39b2]
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