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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
movabs rax, 0x6e776f6e6b6e753c
mov rbx, rdx
mov qword [rsp + 0x40], rax
xor edx, edx
mov r12, r8
mov qword [rsp + 0x50], rax
mov rax, qword [rbx]
lea rbp, [rsp + 0x40]
mov dword [rsp + 0xb0], ecx
xor ecx, ecx
mov dword [rsp + 0x48], 0x3e
mov word [rsp + 0x4c], dx
mov byte [rsp + 0x4e], 0
mov dword [rsp + 0x58], 0x3e
mov word [rsp + 0x5c], cx
mov byte [rsp + 0x5e], 0
test rax, rax
je 0x100401cb0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x100401cb0
movzx eax, byte [rax + 0x3a]
test al, al
je 0x100401cb0
sub eax, 1
mov r13, rdx
mov r15d, 1
xor edi, edi
lea rax, [rax + rax*8]
lea r14, [rsp + 0x50]
lea rsi, [rdx + rax*2 + 0x12]
jmp 0x100401c2d
test r15d, r15d
jne 0x100401d80
xor r15d, r15d
add r13, 0x12
cmp rsi, r13
je 0x100401c68
movzx eax, word [r13 + 0x10]
movzx ecx, byte [r13 + 0xf]
shr ax, 7
xor eax, 1
and eax, 1
test cl, cl
jne 0x100401c49
test al, al
jne 0x100401c18
cmp cl, 0x20
jne 0x100401d4d
test al, al
je 0x100401d4d
add r13, 0x12
mov edi, 1
cmp rsi, r13
jne 0x100401c2d
mov ecx, dword [rsp + 0xb0]
test r12, r12
je 0x100401e00
call sym.inet_ntoa
mov qword [rsp + 0x20], r12
mov r9, rbp
mov r8, r12
mov rdx, rax
lea rcx, str._s_s_s_s
call sym.printf
test edi, edi
je 0x100401ce4
lea rcx, str._server_
call sym.printf
jmp 0x100401ce4
test r12, r12
je 0x100401db0
mov ecx, dword [rsp + 0xb0]
lea r14, [rsp + 0x50]
call sym.inet_ntoa
mov qword [rsp + 0x20], r12
mov r9, rbp
mov r8, r12
mov rdx, rax
lea rcx, str._s_s_s_s
call sym.printf
mov r9, r12
mov r8, r14
lea rcx, str._s_s_s
mov rdx, r12
call sym.printf
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x100401da0
movzx ecx, byte [rax + 5]
movzx r9d, byte [rax + 2]
movzx r8d, byte [rax + 1]
movzx edx, byte [rax]
mov dword [rsp + 0x30], ecx
movzx ecx, byte [rax + 4]
mov dword [rsp + 0x28], ecx
movzx eax, byte [rax + 3]
lea rcx, str._02x_02x_02x_02x_02x_02x_n
mov dword [rsp + 0x20], eax
call sym.printf
mov eax, 1
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp cl, 3
jne 0x100401c24
test al, al
je 0x100401c24
mov r8d, 0xf
mov rdx, r13
mov rcx, r14
call sym.strncpy
mov byte [rsp + 0x5f], 0
jmp 0x100401c24
mov r8d, 0xf
mov rdx, r13
mov rcx, rbp
call sym.strncpy
mov byte [rsp + 0x4f], 0
jmp 0x100401c21
mov ecx, 0xa
call sym.putchar
jmp 0x100401d37
mov ecx, dword [rsp + 0xb0]
lea r14, [rsp + 0x50]
call sym.inet_ntoa
mov r8, rbp
lea rcx, str.__17s__17s
mov rdx, rax
call sym.printf
lea rdx, [0x100406ed3]
lea rcx, str.__10s
call sym.printf
mov rdx, r14
lea rcx, str.__17s
call sym.printf
jmp 0x100401cf9
call sym.inet_ntoa
mov r8, rbp
lea rcx, str.__17s__17s
mov rdx, rax
call sym.printf
test edi, edi
je 0x100401dd3
lea rdx, str._server_
lea rcx, str.__10s
call sym.printf
jmp 0x100401de6
Function at 0x100401fe0
Capabilities:
Send data
Send data on socket

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0xe0
mov dword [rsp + 0x34], edx
mov r12d, edx
xor edx, edx
mov r13d, ecx
mov word [rsp + 0x5a], dx
mov esi, r8d
lea rdx, [rsp + 0x5c]
xor r8d, r8d
lea rcx, [0x1004073bb]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x89000002
lea r14, [rsp + 0x50]
mov qword [rsp + 0x52], 0x1001000
call dbg.name_mangle
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x7e], 0x1002100
call sym.gettimeofday
mov r8, qword [rsp + 0x48]
movzx ecx, word [rsp + 0x40]
xor r9d, r9d
movabs rdx, 0x20c49ba5e353f7cf
mov dword [rsp + 0x28], 0x10
mov rax, r8
sub ecx, esi
sar r8, 0x3f
mov qword [rsp + 0x20], rbx
imul rdx
imul cx, cx, 0x3e8
sar rdx, 7
sub rdx, r8
mov r8d, 0x32
lea eax, [rcx + rdx]
mov rdx, r14
mov ecx, r13d
xchg ah, al
mov word [rsp + 0x50], ax
call sym.sendto
cmp eax, 0xffffffff
je 0x1004020c0
add rsp, 0xe0
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
mov ecx, r12d
lea r12, [rsp + 0x90]
call sym.inet_ntoa
lea r8, str._s_tSendto_failed
mov edx, 0x50
mov rcx, r12
mov r9, rax
call sym.snprintf
mov rax, qword [0x100407720]
mov eax, dword [rax]
test eax, eax
je 0x100402110
mov eax, 0xffffffff
add rsp, 0xe0
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
mov rcx, r12
call sym.perror
jmp 0x1004020f4

Function at 0x100402690
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r15d, ecx
mov ebp, ecx
mov ecx, 0x64
mov r12d, edx
mov rdi, r8
call sym.malloc
mov r14, rax
test rax, rax
je 0x10040273c
lea r13, str.__MSBROWSE__
xor esi, esi
mov rbx, r13
jmp 0x1004026dc
add esi, 1
add rbx, 0x20
cmp esi, 0x23
je 0x100402710
mov rdx, rbx
mov rcx, rdi
call sym.strstr
test rax, rax
je 0x1004026d0
cmp byte [rbx + 0x10], bpl
jne 0x1004026d0
cmp dword [rbx + 0x14], r12d
jne 0x1004026d0
movsxd rsi, esi
shl rsi, 5
mov r14, qword [r13 + rsi + 0x18]
jmp 0x100402728
movzx r9d, r15b
lea r8, str.Unknown_service__code__x_
mov edx, 0x64
mov rcx, r14
call sym.snprintf
mov rax, r14
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.Malloc_failed._n
call sym.perror
mov ecx, 1
call sym.exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1004027a0
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
call sym.strlen
lea rcx, [rax + 1]
mov rsi, rax
call sym.malloc
mov r12, rax
test rax, rax
je 0x1004028cb
cmp rsi, 0x13
ja 0x100402898
mov edx, 0x2f
mov rcx, rbx
call sym.strchr
test rax, rax
je 0x100402890
lea rsi, [rax + 1]
mov rcx, rsi
call sym.atoi
movsxd r13, eax
lea rax, [r13 - 1]
cmp rax, 0x1f
ja 0x100402898
mov rdx, rbx
mov rcx, r12
sub rbx, rsi
call sym.strcpy
mov eax, ebx
mov rcx, r12
neg eax
cmovs eax, ebx
cdqe
mov byte [r12 + rax - 1], 0
call sym.inet_addr
cmp eax, 0xffffffff
je 0x1004028b0
cmp r13, 0x20
je 0x1004028c0
mov ecx, r13d
mov edx, 1
shl edx, cl
mov ecx, 0x40
sub ecx, r13d
sub edx, 1
shl edx, cl
movsxd rdx, edx
mov rcx, rdx
not rcx
bswap eax
mov eax, eax
and rdx, rax
or rax, rcx
mov rcx, r12
mov qword [rdi + 8], rax
mov qword [rdi], rdx
call fcn.100402e10
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, r12
call fcn.100402e10
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov eax, 0xffffffff
mov qword [rdi], rax
jmp 0x100402898
xor ecx, ecx
mov rdx, 0xffffffffffffffff
jmp 0x100402860
mov rax, qword [0x100407720]
cmp dword [rax], 0
jne 0x1004027cf
lea rcx, [0x1004076d0]
call sym.perror
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x100402950
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x28
mov r13, rcx
mov rbx, rdx
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r12, rax
test rax, rax
je 0x100402a0d
mov rdx, r13
mov rcx, r12
mov r8, rsi
call sym.memcpy
mov edx, 0x2d
mov rcx, r12
call sym.strchr
test rax, rax
je 0x1004029f8
mov byte [rax], 0
lea rcx, [rax + 1]
call sym.atoi
mov rcx, r12
movsxd rsi, eax
cmp rsi, 0xff
ja 0x1004029fb
call sym.inet_addr
cmp eax, 0xffffffff
je 0x1004029f8
bswap eax
mov edx, eax
and eax, 0xffffff00
mov rcx, r12
or rax, rsi
mov qword [rbx], rdx
mov qword [rbx + 8], rax
cmp rax, rdx
jb 0x1004029fb
call fcn.100402e10
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret
mov rcx, r12
call fcn.100402e10
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret
mov rax, qword [0x100407720]
cmp dword [rax], 0
jne 0x10040297d
lea rcx, [0x1004076d0]
call sym.perror
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop

Function at 0x100402a40
Capabilities:
Terminate process

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, 4
call sym.malloc
mov r12, rax
test rax, rax
je 0x100402a9e
mov ebx, dword [rsi]
nop
bswap ebx
mov ecx, ebx
mov dword [r12], ebx
call sym.inet_ntoa
mov rcx, rax
bswap ebx
call main
mov ebx, ebx
cmp rbx, qword [rsi + 8]
jb 0x100402a98
mov rcx, r12
call fcn.100402e10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
add rbx, 1
jmp 0x100402a60
mov rax, qword [0x100407720]
cmp dword [rax], 0
jne 0x100402a5d
lea rcx, [0x1004076d0]
call sym.perror
mov ecx, 1
call sym.exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x100402ad0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.Malloc_failed
call sym.perror
mov ecx, 1
call sym.exit
nop
nop dword [rax + rax]

Function at 0x100402af0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 8
call sym.malloc
test rax, rax
je 0x100402b0f
mov qword [rax], 0
add rsp, 0x28
ret
mov rdx, qword [0x100407720]
cmp dword [rdx], 0
jne 0x100402b03
lea rcx, str.Malloc_failed
call sym.perror
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140002980
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400029a1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400029ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400029d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002a29
test ecx, ecx
jle 0x140002a09
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002a29
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002a29
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002a50
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002a72
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140002a81
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002aa4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002aa6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002ae2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140002b7e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140002b1d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140002b5e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140002b7e
cmp rbx, rax
ja 0x140002b30
test rbx, rbx
je 0x140002b7e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002fb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002fdd
xor eax, eax
jmp 0x140003149
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003017
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003017
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003149
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000313c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000305a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003085
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003141
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400030f4
sub eax, 1
je 0x1400030f4
cmp eax, 2
jne 0x14000313c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003141
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003122
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000313c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003141
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003a80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400033b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003483
cmp byte [rcx + 0x71], 0
je 0x140003483
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000347f
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 0x140003444
sub eax, 1
je 0x140003448
cmp eax, 2
jne 0x14000347f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003a80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003476
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000347f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000342c
xor al, al
jmp 0x14000342c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003a80
add rsp, 0x60
pop rbx
ret

Function at 0x14000440c
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416d4b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x00cce078]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004347c0
xorps xmm15, xmm15
mov r14, qword [0x00d5fff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416c25
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416c34
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416c53
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416c63
cmp rbx, 0x1000
jae 0x416c2b
jmp 0x416ccd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416c75
xor edx, edx
jmp 0x416cc4
mov rcx, qword [0x00cce078]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004347c0
xorps xmm15, xmm15
mov r14, qword [0x00d5fff0]
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 0x416c59
jmp 0x416c48
call fcn.00468760
xorps xmm15, xmm15
mov r14, qword [0x00d5fff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00438ea0
lea rax, [0x009761d2]
mov ebx, 0x18
nop dword [rax]
call fcn.00439720
mov rax, qword [rsp + 0x38]
call fcn.00439460
lea rax, [0x00976418]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00439720
mov rax, qword [rsp + 0x30]
call fcn.00439460
call fcn.004390e0
call fcn.00438f00
lea rax, [0x00977a00]
mov ebx, 0x21
call fcn.00437500
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465040
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416bc0
Function at 0x416d80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416fa6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x00cce080]
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 fcn.00434840
xorps xmm15, xmm15
mov r14, qword [0x00d5fff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416df3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416e02
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416e25
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416e35
cmp rbx, 0x1000
jae 0x416df9
nop
jmp 0x416eb8
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 0x416e4d
xor esi, esi
jmp 0x416eaa
mov rax, qword [0x00cce080]
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 fcn.00434840
xorps xmm15, xmm15
mov r14, qword [0x00d5fff0]
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 0x416e2b
jmp 0x416e16
call fcn.00468760
xorps xmm15, xmm15
mov r14, qword [0x00d5fff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416f40
nop dword [rax + rax]
call fcn.00438ea0
lea rax, [0x00976431]
mov ebx, 0x19
call fcn.00439720
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00439460
lea rax, [0x00976418]
mov ebx, 0x19
call fcn.00439720
mov eax, dword [rsp + 0x34]
call fcn.00439460
nop
call fcn.004390e0
call fcn.00438f00
lea rax, [0x00974919]
mov ebx, 0xd
call fcn.00437500
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416ee0
call fcn.00438ea0
lea rax, [0x00976431]
mov ebx, 0x19
call fcn.00439720
mov rax, qword [rsp + 0x38]
call fcn.00439460
lea rax, [0x00976418]
mov ebx, 0x19
call fcn.00439720
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00439460
call fcn.004390e0
call fcn.00438f00
lea rax, [0x009774e6]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00437500
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465040
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00416d80