joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400103b0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001021b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001021b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001021b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001021b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001021b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001021b
cmp dword [rcx + 0xf8], 0
je 0x14001021b
mov ecx, ebx
call fcn.1400102cc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400100a8
nop
cmp dword [rbp + 0x20], 0
je 0x140010269
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140010274
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400101ac

Function at 0x140010764
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14000ac90
sub rsp, rax
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001ade0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400107b3
mov rax, rbp
jmp 0x1400108bb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x6e76e0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001b290
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x6e76e0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400108b7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400108b7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001b290
test rax, rax
js 0x1400108b7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400108b7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400108a9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400108a9
cmp byte [rcx], 0xd
jne 0x14001088f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001089e
cmp byte [rcx + 1], 0xa
jne 0x14001089e
inc rcx
jmp 0x14001089e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3f430]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140010871
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400108bb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000a640
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001ba14
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1406e76e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001ba6b
cmp word [rdx], r13w
jne 0x14001ba6b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001ba70
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001bb95
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001bbb6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001baa9
mov rdx, r9
mov word [rbx], cx
jmp 0x14001bad0
cmp r9, r8
jae 0x14001bae0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001ba8a
jmp 0x14001bb95
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001bb8a
cmp dword [rsp + 0x80], esi
je 0x14001bb8a
lea r8, [0x1406e76e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001bb62
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001bb32
mov word [rbx], r13w
jmp 0x14001bb92
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001bb3f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001bb92
cmp word [rsp + 0x70], r13w
jne 0x14001bb6f
cmp rbx, r14
je 0x14001bb2c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001b298
cmp word [rsp + 0x70], r13w
je 0x14001bb95
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1406e76e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001bb8f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001bb95
Function at 0x14001ffac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001ffc2
mov al, 1
jmp 0x140020022
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001ffd3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140020020
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001ddac
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140020020
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140020020
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140020020
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140020022
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140026650
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.14001b6b4
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 0x1400266f1
cmp ebx, dword [rsp + 0x30]
je 0x1400266ea
test esi, esi
je 0x1400266ea
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400266c5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400266d2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400266af
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400266d6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400266f3
mov eax, 1
jmp 0x1400266f3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002a598
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.14001b298
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b298
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002a6e8
cmp rax, 0xffffffffffffffff
je 0x14002a6e8
xor edi, edi
test rbp, rbp
jle 0x14002a693
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001c680
mov rbx, rax
test rax, rax
jne 0x14002a620
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002a689
mov edx, 0x8000
mov ecx, r14d
call fcn.140018454
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.14001e7e4
cmp eax, 0xffffffff
je 0x14002a669
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002a630
mov edx, r15d
mov ecx, r14d
call fcn.140018454
jmp 0x14002a689
cmp byte [rsi + 0x38], dil
je 0x14002a680
cmp dword [rsi + 0x34], 5
jne 0x14002a680
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002a689
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001cbb8
jmp 0x14002a6fc
jns 0x14002a6fc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b298
cmp rax, 0xffffffffffffffff
jne 0x14002a6b4
cmp byte [rsi + 0x30], dil
je 0x14002a6fc
mov edi, dword [rsi + 0x2c]
jmp 0x14002a6fc
mov ecx, r14d
call fcn.14001ddac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002a6fc
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 0x14002a6fc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002a6f5
mov eax, dword [rsi + 0x2c]
jmp 0x14002a6fa
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b298
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 0x3576215b0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x3576215d1
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sub.msvcrt.dll_fflush

Function at 0x357628800
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x158
movaps xmmword [rsp + 0x140], xmm6
cmp qword [0x357660b20], 0
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x178], rdx
mov byte [rsp + 0x2f], 1
je 0x3576288f7
mov rax, qword [0x357660c00]
lea rcx, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [0x357660c00], rax
call sub.msvcrt.dll__setjmp
cdqe
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x357628920
xor r12d, r12d
cmp qword [rsp + 0x170], 0
je 0x3576288cc
mov rcx, qword [rsp + 0x170]
call sub.msvcrt.dll_strlen
mov edx, 7
lea rcx, [0x357649020]
cmp rax, rdx
movq xmm6, rax
mov rbx, rax
cmovge rdx, rax
movq xmm0, rdx
add rdx, 0x11
punpcklqdq xmm6, xmm0
call fcn.357640560
mov rdx, qword [rsp + 0x170]
lea r8, [rbx + 1]
movups xmmword [rax], xmm6
lea rcx, [rax + 0x10]
mov r12, rax
call sub.msvcrt.dll_memcpy
mov rcx, r12
call qword [0x357660b20]
cmp qword [rsp + 0x38], 0
mov byte [rsp + 0x2f], 0
mov rax, qword [0x357660c00]
mov rax, qword [rax]
mov qword [0x357660c00], rax
jne 0x357628989
movzx eax, byte [rsp + 0x2f]
test al, al
jne 0x357628998
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop r12
ret
mov rax, qword [0x357660c00]
mov rax, qword [rax]
mov qword [rsp + 0x38], 0
mov qword [0x357660c00], rax
mov rax, qword [0x35766e7a8]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x35762895b
add qword [rbx - 0x10], 8
mov rax, qword [0x35766e7a8]
test rax, rax
je 0x357628976
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x357628976
call fcn.35763f010
cmp qword [rsp + 0x38], 0
mov qword [0x35766e7a8], rbx
je 0x3576288f7
call fcn.357629290
jmp 0x3576288f7
mov ecx, 2
call qword [fcn.357648410]
mov rcx, qword [rsp + 0x170]
mov edx, 1
mov r8, qword [rsp + 0x178]
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
jmp 0x357628904
Function at 0x35762a680
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.357648410]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
sub rsp, 0x28
mov rax, qword [0x35766e7a0]
cmp rax, 0xdab
jg 0x35762a6fe
lea rdx, [0x357667a40]
mov qword [rdx + rax*8], rcx
add rax, 1
mov qword [0x35766e7a0], rax
add rsp, 0x28
ret
call fcn.35762a680
nop
nop word cs:[rax + rax]
nop
push r12
sub rsp, 0x30
mov rax, qword [0x35766e7a0]
cmp rax, 0xdab
jg 0x35762a7af
lea rdx, [0x357667a40]
lea rcx, [0x3576243d0]
mov qword [rdx + rax*8], rcx
add rax, 1
lea r12, [0x357629340]
mov qword [0x35766e7a0], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.3576217d0
call fcn.357622be0
mov rdx, r12
mov ecx, 2
call sub.msvcrt.dll_signal
mov rdx, r12
mov ecx, 0xb
call sub.msvcrt.dll_signal
mov rdx, r12
mov ecx, 0x16
call sub.msvcrt.dll_signal
mov rdx, r12
mov ecx, 8
call sub.msvcrt.dll_signal
mov rdx, r12
mov ecx, 4
call sub.msvcrt.dll_signal
nop
add rsp, 0x30
pop r12
ret
call fcn.35762a680
nop
nop word cs:[rax + rax]

Function at 0x35762a920
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.357648410]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__cannot_register_global_variable__too_many_global_variables
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
sub rsp, 0x28
mov rax, qword [0x357667a20]
cmp rax, 0xdab
jg 0x35762a99e
lea rdx, [0x357660cc0]
mov qword [rdx + rax*8], rcx
add rax, 1
mov qword [0x357667a20], rax
add rsp, 0x28
ret
call fcn.35762a920
nop
nop word cs:[rax + rax]
nop
Function at 0x35762c670
Capabilities:
Link many functions at runtime

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
lea rcx, [0x35764a570]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x3576714d0], rax
mov r12, rax
test rax, rax
je 0x35762c880
lea r13, str.GetCurrentThread
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rdx, r13
call rbx
test rax, rax
je 0x35762c890
mov r12, qword [0x3576714d0]
lea r13, [0x35764a362]
mov qword [0x357660128], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x35762c8a0
mov r12, qword [0x3576714d0]
lea r13, str.HeapCreate
mov qword [0x357660120], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x35762c8b0
mov r12, qword [0x3576714d0]
lea r13, str.HeapAlloc
mov qword [0x357660118], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x35762c8c0
mov r12, qword [0x3576714d0]
lea r13, [0x35764a388]
mov qword [0x357660110], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x35762c8d0
mov r12, qword [0x3576714d0]
lea r13, str.LoadLibraryA
mov qword [0x357660108], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x35762c8e0
mov r12, qword [0x3576714d0]
lea r13, [0x35764a3a4]
mov qword [0x357660100], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x35762c8f0
mov rcx, qword [0x3576714d0]
lea rdx, str.InitializeProcThreadAttributeList
mov qword [0x3576600f8], rax
lea r13, str.UpdateProcThreadAttribute
call fcn.35762a8e0
mov r12, qword [0x3576714d0]
mov rdx, r13
mov qword [0x3576600f0], rax
mov rcx, r12
call rbx
test rax, rax
je 0x35762c900
mov rcx, qword [0x3576714d0]
lea rdx, str.CreateProcessW
mov qword [0x3576600e8], rax
lea r13, str.GetCurrentProcess
call fcn.35762a8e0
mov r12, qword [0x3576714d0]
mov rdx, r13
mov qword [0x3576600e0], rax
mov rcx, r12
call rbx
test rax, rax
je 0x35762c910
mov r12, qword [0x3576714d0]
lea r13, str.ResumeThread
mov qword [0x3576600d8], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x35762c920
mov r12, qword [0x3576714d0]
lea r13, [0x35764a422]
mov qword [0x3576600d0], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x35762c930
mov qword [0x3576600c8], rax
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
lea rcx, [0x35764a540]
call fcn.357629450
nop dword [rax]
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c6b8
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c6de
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c704
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c72a
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c750
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c776
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c79c
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c7dc
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c81c
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c842
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x35762c868
Function at 0x357631e50
Capabilities:
Link many functions at runtime

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
lea rcx, [0x3576501d0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x357675038], rax
mov r12, rax
test rax, rax
je 0x357631f68
lea r13, str.GetCommandLineW
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rdx, r13
call rbx
test rax, rax
je 0x357631f78
mov r12, qword [0x357675038]
lea r13, str.GetModuleFileNameW
mov qword [0x357672fb8], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x357631f90
mov r12, qword [0x357675038]
lea r13, str.GetCurrentDirectoryW
mov qword [0x357672fb0], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x357631fa0
mov r12, qword [0x357675038]
lea r13, str.FormatMessageW
mov qword [0x357672fa8], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x357631fb0
mov r12, qword [0x357675038]
lea r13, str.LocalFree
mov qword [0x357672fa0], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x357631fc0
mov r12, qword [0x357675038]
lea r13, str.GetLastError
mov qword [0x357672f98], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x357631fd0
mov qword [0x357672f90], rax
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
lea rcx, [0x3576501a0]
call fcn.357629450
nop dword [rax]
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x357631e98
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x357631ebe
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x357631ee4
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x357631f0a
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x357631f30
mov rdx, r13
mov rcx, r12
call fcn.35762a7c0
jmp 0x357631f52
Function at 0x357635700
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbx, [0x35764e940]
mov r13, rcx
mov r12d, edx
lea rcx, [0x35764e980]
mov edx, 0x25902b6e
call fcn.35762fc60
mov edx, 0x36c29f6a
mov rcx, rax
call fcn.357634e70
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rdi, qword [rax + 0x20]
lea rsi, [rax + 0x20]
nop dword [rax]
movzx eax, word [r13]
mov rdx, r13
test ax, ax
je 0x357635780
nop dword [rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x357635800
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x357635760
mov r8, qword [rdi + 0x50]
movzx eax, word [r8]
test ax, ax
je 0x3576357b0
mov rdx, r8
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x357635820
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x357635790
mov rdx, r8
mov rcx, r13
call fcn.3576306c0
mov edx, 0x1a1653ee
mov rcx, rbx
mov rbp, rax
call fcn.35762fc60
mov edx, 0x33348ea
mov rcx, rax
call fcn.357634e70
test rbp, rbp
je 0x357635836
mov rdi, qword [rdi]
cmp rsi, rdi
jne 0x357635750
mov edx, r12d
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp 0x35763ec00
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x357635760
jmp 0x357635780
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x357635790
jmp 0x3576357b0
mov rax, qword [rdi + 0x20]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
push r12
push rbx
sub rsp, 0x48
mov r12, rcx
test edx, edx
je 0x35763ecb0
mov edx, 0x5303d88e
lea rcx, [0x357650760]
lea rbx, [rsp + 0x30]
call fcn.35762fc60
mov edx, 0x7e9c52ca
mov rcx, rax
call fcn.357634e70
mov rax, qword [0x357659800]
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [rax]
mov rax, qword [0x3576597b0]
lea r9, [rsp + 0x28]
xor edx, edx
mov r8, rbx
xor ecx, ecx
call qword [rax]
mov edx, 0x3d0de78a
lea rcx, [0x357650720]
mov r12d, eax
call fcn.35762fc60
mov edx, 0x1a1653ee
mov rcx, rax
call fcn.357634e70
xor eax, eax
test r12d, r12d
cmove rax, qword [rsp + 0x28]
add rsp, 0x48
pop rbx
pop r12
ret
mov edx, 0x7f261faa
lea rcx, [0x3576506e0]
call fcn.35762fc60
mov edx, 0x73bbc84e
mov rcx, rax
call fcn.357634e70
xor eax, eax
add rsp, 0x48
pop rbx
pop r12
ret
Function at 0x35763ece0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov edx, 0x25902b6e
mov r12, rcx
mov rcx, qword [0x357659cf0]
call fcn.35762fc60
mov edx, 0x36c29f6a
mov rcx, rax
call fcn.357634e70
mov rbx, qword [0x357659d00]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rdi, qword [rax + 0x20]
lea rsi, [rax + 0x20]
nop word [rax + rax]
movzx eax, word [r12]
mov rdx, r12
test ax, ax
je 0x35763ed60
nop dword [rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x35763ede0
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x35763ed40
mov r8, qword [rdi + 0x50]
movzx eax, word [r8]
test ax, ax
je 0x35763ed90
mov rdx, r8
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x35763ee00
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x35763ed70
mov rdx, r8
mov rcx, r12
call fcn.3576306c0
mov edx, 0x1a1653ee
mov rcx, rbx
mov rbp, rax
call fcn.35762fc60
mov edx, 0x33348ea
mov rcx, rax
call fcn.357634e70
test rbp, rbp
je 0x35763ee16
mov rdi, qword [rdi]
cmp rsi, rdi
jne 0x35763ed30
mov edx, 1
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp 0x35763ec00
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x35763ed40
jmp 0x35763ed60
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x35763ed70
jmp 0x35763ed90
mov rax, qword [rdi + 0x20]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x35763ef30
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov rbx, qword [fcn.357648410]
mov r12, qword [rcx]
mov ecx, 1
call rbx
mov rcx, rax
mov rdx, r12
call fcn.35763ee30
mov ecx, 1
call rbx
mov r8d, 1
mov edx, 1
lea rcx, [0x35765050e]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbx
mov rcx, rax
add rsp, 0x28
pop rbx
pop r12
jmp sub.msvcrt.dll_fflush

Function at 0x35763ef90
Capabilities:
Write file on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [fcn.357648410]
mov r12, qword [rcx]
mov rsi, rcx
mov ecx, 1
call rbx
mov rdx, r12
mov rcx, rax
call fcn.35763ee30
mov r12, qword [rsi + 8]
mov ecx, 1
call rbx
mov rcx, rax
mov rdx, r12
call fcn.35763ee30
mov ecx, 1
call rbx
mov r8d, 1
mov edx, 1
lea rcx, [0x35765050e]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbx
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sub.msvcrt.dll_fflush

Function at 0x357641320
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.357648410
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.357648410
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop