joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140042270
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
lea rax, [rsp + 0x70]
mov dword [rsp + 0x68], 4
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov dword [rsp + 0x60], ebx
xor r8d, r8d
lea rdx, str.SoftwareVerseSerialChecker
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140042302
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.SkipTutorial
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x70]
test eax, eax
jne 0x1400422fc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x60], 1
sete al
test al, al
jne 0x1400423b8
jmp 0x140042302
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, 0x40
lea r8, str.Tutorial
lea rdx, str.DO_NOT_SKIP_THIS_SHORT_TUTORIAL____n_nVERSE_SERIAL_CHECKER_TUTORIAL__SHOWS_ONCE__n_nThis_short_tutorial_will_guide_u_through_using_the_Serial_Checker_features._Please_click_OK_to_continue__learn_more.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov r9d, 0x40
lea r8, str.Tutorial
lea rdx, str.DO_NOT_SKIP_THIS_SHORT_TUTORIAL____n_nVERSE_SERIAL_CHECKER_TUTORIAL__SHOWS_ONCE__n_n1._To_dump_current_HWID_serials:_n_nClick_the__Export__button_located_at_the_top_right_of_the_application._A_text_file_will_be_generated_on_ur_desktop_containing_ur_HWID_serials._n_n2._To_compare_serials_after_spoofing:_n_nClick_the_green__Check__button_located_at_the_top_right_of_the_application._A_new_file_named__NEW_SERIALS.txt__will_be_created_on_ur_desktop._This_file_will_include_a_detailed_comparison_between_ur_original_and_new_serials._n_nFollow_these_steps_to_ensure_accurate_comparisons.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareVerseSerialChecker
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x60], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400423b8
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
lea rdx, str.SkipTutorial
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbx
ret
Function at 0x140056300
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140142d10], eax
jle 0x140056356
lea rcx, [0x140142d10]
call fcn.14008f400
cmp dword [0x140142d10], 0xffffffff
jne 0x140056356
lea rcx, [0x140142d18]
call fcn.1400417d0
lea rcx, [0x140142d10]
call fcn.14008f394
lea rcx, [rsp + 0xe0]
call fcn.1400417d0
mov rdx, qword [0x1401428c8]
mov rax, qword [rsp + 0xe0]
mov rcx, rax
sub rcx, rdx
mov edx, 0xee6b2800
cmp rcx, rdx
jl 0x140056486
sub rax, qword [0x140142d18]
cmp rax, 0x3b9aca00
jl 0x140056486
lea rcx, [rsp + 0x30]
call fcn.14004dcf0
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140044d00
nop
lea rcx, [rsp + 0x30]
call fcn.140037e30
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140056466
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140056466
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x811c9dc5
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140056461
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140056440
cmp r8d, 0xcded1a85
je 0x14005646b
test r9d, r9d
jne 0x140056420
mov rax, qword [rax]
jmp 0x1400563f0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x1400575e0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov edi, edx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
lea rsi, [rcx + 0x10]
mov qword [rsi], rbp
mov qword [rcx + 0x18], rbp
mov r8d, 0x104
call fcn.1400779a0
mov dword [rsp + 0x30], 1
mov r8d, edi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140057683
lea r9, [rsp + 0x70]
mov r8d, 8
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14005767a
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140057662
mov r8, qword [rbx]
mov r9d, 0x104
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
lea rsi, [rbx + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rdi, qword [rbx + 0x18]
cmp rdi, 7
jbe 0x140057693
mov rax, qword [rbx]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400576a0
mov r9, qword [rsi]
cmp rdx, r9
ja 0x1400576d5
mov qword [rsi], rdx
mov rax, rbx
cmp rdi, 7
jbe 0x1400576c1
mov rax, qword [rbx]
mov word [rax + rdx*2], bp
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdx
sub rcx, r9
mov rax, rdi
sub rax, r9
cmp rcx, rax
ja 0x140057719
mov qword [rsi], rdx
mov r8, rbx
cmp rdi, 7
jbe 0x1400576f5
mov r8, qword [rbx]
lea rdi, [r8 + r9*2]
test rcx, rcx
je 0x140057704
movzx eax, bp
rep stosw word [rdi], ax
mov word [r8 + rdx*2], bp
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov r9, rcx
mov rdx, rcx
mov rcx, rbx
call fcn.140078050
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140071af0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r10, rcx
mov r9, rdx
cmp r14, 0xf
jbe 0x140071b1f
mov r9, qword [rdx]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test rsi, rsi
je 0x140071b54
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x140071b40
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
mov qword [rsp + 0x30], rbp
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r10 + 8]
je 0x140071bde
mov rbp, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x140071b92
mov rdx, qword [rdx]
mov rcx, rdi
cmp r14, 0xf
jbe 0x140071b9e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x140071baf
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140071bba
cmp rbx, rbp
je 0x140071bde
mov rbx, qword [rbx + 8]
jmp 0x140071b80
test rbx, rbx
je 0x140071bde
mov rbp, qword [rsp + 0x30]
lea rax, [rbx + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3

Function at 0x140072b00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140072b44
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140072b30
ret

Function at 0x140072d50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140072d84
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140072d70
ret
Function at 0x140077030
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov r15, rdx
mov qword [rsp + 0x58], rsi
mov r13, rcx
mov rsi, qword [r8 + 0x10]
mov r9, r8
mov qword [rsp + 0x60], rdi
mov rdi, r8
mov qword [rsp + 0x28], r12
mov r12, qword [r8 + 0x18]
cmp r12, 0xf
jbe 0x14007706b
mov r9, qword [r8]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x1400770a4
movabs rdx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor r8, rax
imul r8, rdx
cmp rcx, rsi
jb 0x140077090
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x140077112
mov qword [rsp + 0x20], r14
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x1400770e2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x1400770ee
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1400770ff
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14007710a
cmp rbx, r14
je 0x14007710d
mov rbx, qword [rbx + 8]
jmp 0x1400770d0
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rbp, rbp
je 0x14007713b
mov qword [r15], rbp
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret
mov rax, qword [r13 + 8]
mov qword [r15], rax
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret

Function at 0x1400771a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r15, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r9, rcx
mov r8, rdx
cmp r15, 0xf
jbe 0x1400771cc
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x140077204
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, rsi
jb 0x1400771f0
mov rcx, qword [r9 + 0x30]
mov rax, qword [r9 + 0x18]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r9 + 8]
jne 0x140077222
mov rbx, rbp
jmp 0x140077272
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop dword [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x140077242
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x14007724e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14007725f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14007726d
cmp rbx, r14
je 0x14007726a
mov rbx, qword [rbx + 8]
jmp 0x140077230
mov rbx, rbp
mov r14, qword [rsp + 0x40]
test rbx, rbx
mov rbx, qword [rsp + 0x48]
setne bpl
mov rax, rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x140077290
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14008f478
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14007c500]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14007731d
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140082260
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140082325
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140082325
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14008233e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140082315
cmp byte [rcx], 0x5c
jne 0x14008230e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14008230e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400822fc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14008230b
test r8b, 0x10
jne 0x14008230e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14008230e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14007b580
test edi, edi
jne 0x140082280
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14007b570
int3

Function at 0x140085100
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x1400851e3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400851e3
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140085201
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1400851d3
cmp word [rcx], 0x5c
jne 0x1400851cc
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1400851cc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400851b7
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x1400851c9
test r8b, 0x10
jne 0x1400851cc
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x1400851cc
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14007e520
test edi, edi
jne 0x140085130
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14007b570
int3
Function at 0x14008bc80
Capabilities:
Get mac address on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14, rcx
xor r13d, r13d
mov dword [rax - 0x68], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rax - 0x68], 1
mov dword [rax + 0x18], r13d
mov r12d, r13d
lea rdx, [rax + 0x18]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14008bcef
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test r12, r12
je 0x14008be2c
test eax, eax
jne 0x14008be23
mov r15, r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
mov esi, dword [r15 + 0x194]
mov ebx, r13d
test esi, esi
je 0x14008bdb0
lea ebp, [rsi - 1]
lea rdi, [r15 + 0x198]
nop word [rax + rax]
movzx r8d, byte [rdi]
lea rdx, str._02X
lea rcx, [rsp + 0x98]
call fcn.14003eb50
lea rax, [rsp + 0x98]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14008bd70
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x28]
call fcn.14003af20
cmp ebx, ebp
jae 0x14008bda7
mov r8d, 1
lea rdx, [0x1400ff43c]
lea rcx, [rsp + 0x28]
call fcn.14003af20
inc ebx
inc rdi
cmp ebx, esi
jb 0x14008bd40
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x14008bdce
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14003a940
add qword [r14 + 8], 0x20
jmp 0x14008bdde
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, r14
call fcn.14003ed50
mov r15, qword [r15]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14008be1a
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008be15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008be47
call fcn.14008f7c4
test r15, r15
jne 0x14008bd03
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, r14
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140090044
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009008e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009008e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009008e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009008e
cmp dword [rcx + 0x84], 0xe
jbe 0x14009008e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140090090
xor al, al
add rsp, 0x28
ret
Function at 0x140095ed0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret

Function at 0x140095f80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x140095fde
mov dl, 1
call fcn.140098f50
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140098f50
mov eax, ebx
jmp 0x140096022
cmp ebx, 2
ja 0x140096020
mov r9, qword [rdi + 0x668]
lea rdx, [0x1400e67d8]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140096040
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x140119040]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x140096083
cmp qword [rcx + 0x678], 0
je 0x140096160
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1400971c0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400960b1
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1400960f8
cmp byte [rdi + 0x1597], 0
jne 0x1400960f8
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400960e0
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x140096158
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1400961b3
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x140096179
mov dl, 1
mov rcx, rdi
call fcn.140098f50
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140098f50
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14008fb70
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x1400e67d8]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140096158
call fcn.140090398
int3
Function at 0x1400961c0
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x140096326
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x140119040]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x14009630e
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400971c0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x140096281
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140096240
cmp byte [rax + rcx - 1], 0xa
jne 0x140096268
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x14009627c
lea r8, [0x1400f44a4]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1400970c0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140096286
cmp qword [rdi + 0x718], 0
je 0x1400962ce
mov dl, 1
mov rcx, rdi
call fcn.140098f50
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140098f50
jmp 0x140096306
mov r9, qword [rdi + 0x668]
lea rcx, [0x1400e67d8]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14008fb70
add rsp, 0x860
pop rdi
ret

Function at 0x1400963c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x140096402
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, Ordinal_60
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret