Function at 0x140035c50
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd30]
sub rsp, 0xe30
mov r15, rcx
call fcn.140034050
mov qword [rbp + 0xd80], rax
cmp byte [rax + 0x30], 0
jne 0x140036ca0
mov byte [rax + 0x30], 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r12, rax
movsxd rdx, dword [rax + 0x3c]
cmp word [rdx + rax + 0x5c], 3
sete r13b
call fcn.140034050
cmp dword [rax + 0x5c], 1
jne 0x140035cb5
xor r13b, r13b
jmp 0x140035cce
call fcn.140034050
cmp dword [rax + 0x5c], 2
je 0x140035ccb
call fcn.140034050
cmp dword [rax + 0x5c], 3
jne 0x140035cce
mov r13b, 1
lea rcx, str.IMAGEHLP.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400f2eb8], rax
xor esi, esi
test rax, rax
jne 0x140035cf1
xor r14b, r14b
jmp 0x140035ec3
lea rdx, str.SymInitialize
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ec0], rax
test rax, rax
jne 0x140035d15
xor r14b, r14b
jmp 0x140035ec3
lea rdx, str.SymSetOptions
mov rcx, qword [0x1400f2eb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ec8], rax
test rax, rax
jne 0x140035d3d
xor r14b, r14b
jmp 0x140035ec3
lea rdx, str.SymCleanup
mov rcx, qword [0x1400f2eb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ed8], rax
test rax, rax
jne 0x140035d65
xor r14b, r14b
jmp 0x140035ec3
lea rdx, str.UnDecorateSymbolName
mov rcx, qword [0x1400f2eb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ed0], rax
test rax, rax
jne 0x140035d8d
xor r14b, r14b
jmp 0x140035ec3
lea rdx, str.StackWalk
mov rcx, qword [0x1400f2eb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ee0], rax
test rax, rax
jne 0x140035db5
xor r14b, r14b
jmp 0x140035ec3
lea rdx, str.SymFunctionTableAccess
mov rcx, qword [0x1400f2eb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ee8], rax
test rax, rax
jne 0x140035ddd
xor r14b, r14b
jmp 0x140035ec3
lea rdx, str.SymGetModuleBase
mov rcx, qword [0x1400f2eb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ef0], rax
test rax, rax
jne 0x140035e05
xor r14b, r14b
jmp 0x140035ec3
lea rdx, str.SymGetSymFromAddr
mov rcx, qword [0x1400f2eb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2ef8], rax
test rax, rax
jne 0x140035e2d
xor r14b, r14b
jmp 0x140035ec3
lea rdx, str.SymGetLineFromAddr64
mov rcx, qword [0x1400f2eb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f2f00], rax
test rax, rax
jne 0x140035e52
xor r14b, r14b
jmp 0x140035ec3
mov ecx, 4
call qword [0x1400f2ec8]
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x2f
lea rcx, [rbp + 0x30]
call fcn.14003b540
test rax, rax
jne 0x140035e93
lea edx, [rax + 0x5c]
lea rcx, [rbp + 0x30]
call fcn.14003b540
test rax, rax
je 0x140035e96
mov byte [rax], sil
lea rdi, [rbp + 0x30]
cmp byte [rbp + 0x30], sil
cmove rdi, rsi
mov rbx, qword [0x1400f2ec0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, 1
mov rdx, rdi
call rbx
test eax, eax
setne r14b
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x1c], 0x10
mov dword [rbp - 0x20], esi
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x54], 0x10
mov dword [rsp + 0x50], esi
call fcn.140034050
lea rsi, [rax + 0x18]
test r13b, r13b
je 0x140035f07
mov r8d, 0x22
lea rdx, str._FATAL_APPLICATION_ERROR__n
lea rcx, [rsp + 0x50]
call fcn.140032320
call fcn.140034050
mov rbx, qword [rax + 8]
movsxd rax, dword [rax + 0x10]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x140035f2e
nop dword [rax]
mov rax, qword [rbx]
call rax
add rbx, 8
cmp rbx, rdi
jne 0x140035f20
mov r8d, 0x104
lea rdx, [rbp + 0x210]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov r8d, 0xd
lea rdx, str._nExecutable:
mov rcx, rsi
call fcn.140032320
lea rax, [rbp + 0x210]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140035f70
lea rdx, [rbp + 0x210]
mov rcx, rsi
call fcn.140032320
mov r8d, 2
lea rdx, [0x1400d60a4]
mov rcx, rsi
call fcn.140032320
lea rax, [rbp + 0x210]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x210]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140035fb0
mov dword [rbp - 0x68], ebx
bts ebx, 0x1e
mov dword [rbp - 0x64], ebx
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x68]
call fcn.140035a30
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x140035fe5
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x140036004
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
nop
mov eax, dword [rbp - 0x64]
shr eax, 0x1f
test al, al
je 0x140036017
mov rcx, qword [rbp - 0x60]
call fcn.14006bcf0
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140032420
xor esi, esi
mov ecx, dword [rsp + 0x50]
test ecx, ecx
jle 0x140036121
movsxd rdi, esi
mov eax, dword [rsp + 0x54]
and eax, 0xc0000000
je 0x140036083
cmp eax, 0x40000000
jne 0x14003607c
movsxd rcx, ecx
call fcn.14006d070
mov rbx, rax
mov ecx, dword [rsp + 0x50]
inc ecx
movsxd r8, ecx
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400a0710
mov qword [rsp + 0x58], rbx
mov ecx, dword [rsp + 0x50]
mov eax, ecx
or eax, 0xc0000000
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x58]
jmp 0x140036088
lea rax, [rsp + 0x58]
add rax, rdi
movzx eax, byte [rax]
cmp al, 0xa
jne 0x1400360a6
mov r8b, 0xd
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400328f0
inc esi
jmp 0x140036111
cmp al, 9
jne 0x140036115
mov eax, dword [rsp + 0x54]
and eax, 0xc0000000
je 0x1400360f6
cmp eax, 0x40000000
jne 0x1400360ef
movsxd rcx, ecx
call fcn.14006d070
mov rbx, rax
mov ecx, dword [rsp + 0x50]
inc ecx
movsxd r8, ecx
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.1400a0710
mov qword [rsp + 0x58], rbx
mov eax, dword [rsp + 0x50]
or eax, 0xc0000000
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x58]
jmp 0x1400360fb
lea rcx, [rsp + 0x58]
add rcx, rdi
mov byte [rcx], 0x20
mov r8b, 0x20
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400328f0
mov ecx, dword [rsp + 0x50]
inc esi
cmp esi, ecx
jl 0x140036032
test ecx, ecx
je 0x140036189
movsxd rdx, ecx
cmp rdx, 1
jl 0x14003615b
test dword [rsp + 0x54], 0x40000000
lea rcx, [rsp + 0x58]
cmovne rcx, qword [rsp + 0x58]
dec rcx
add rcx, rdx
mov r8d, 1
lea rdx, [0x1400d4a4c]
call fcn.140031c80
test al, al
jne 0x140036172
mov r8d, 2
lea rdx, [0x1400d60a4]
lea rcx, [rsp + 0x50]
call fcn.140032320
mov r8d, 2
lea rdx, [0x1400d60a4]
lea rcx, [rsp + 0x50]
call fcn.140032320
xor esi, esi
mov word [rbp + 0x320], si
mov r8d, 0x104
lea rdx, [rbp + 0x320]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x320]
lea rcx, [rbp - 0x68]
call fcn.1400335d0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 8]
call fcn.14002ec40
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400361d5
call fcn.14006bcf0
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x10]
call fcn.14002f4d0
nop
lea r8, str.CrashDumps
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140033980
nop
test dword [rbp - 0x4c], 0x40000000
lea rcx, [rbp - 0x48]
cmovne rcx, qword [rbp - 0x48]
call fcn.140024a40
test al, al
je 0x1400363ac
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.14002f570
nop
mov r8, rax
lea rdx, [0x1400d6184]
lea rcx, [rsp + 0x68]
call fcn.140033b30
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x14003624b
mov rdx, qword [rdx]
lea rcx, [rbp - 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x14003626b
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
nop
mov eax, dword [rbp - 0x64]
shr eax, 0x1f
test al, al
je 0x14003627e
mov rcx, qword [rbp - 0x60]
call fcn.14006bcf0
mov eax, dword [rbp - 0x50]
add eax, 0xfffffffc
movsxd rdx, eax
lea rcx, [rbp - 0x50]
call fcn.1400326c0
mov r8d, 1
lea rdx, [0x1400d6188]
lea rcx, [rbp - 0x50]
call fcn.140032320
xor ecx, ecx
call fcn.140066670
mov qword [rbp + 0xd78], rax
lea rcx, [rbp + 0xd78]
call fcn.1400650e4
mov r9d, dword [rax + 0x10]
inc r9d
mov r8d, dword [rax + 0x14]
add r8d, 0x76c
mov ecx, dword [rax]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rax + 8]
mov dword [rsp + 0x28], ecx
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
lea rdx, str._4d_02d_02d__02d_02d_02d
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x140036312
mov rdx, qword [rdx]
lea rcx, [rbp - 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x140036331
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov r8d, 4
lea rdx, str..dmp
lea rcx, [rbp - 0x50]
call fcn.140032320
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.140034450
test al, al
je 0x1400363ac
test dword [rbp - 0x4c], 0x40000000
lea r8, [rbp - 0x48]
cmovne r8, qword [rbp - 0x48]
lea rdx, str.Crash_minidump_saved_as__s_n
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x14003638c
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x1400363ac
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov ecx, 0x40000005
mov dword [rbp + 0x30], ecx
lea rax, str.Segment_Notification
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], 0x80000003
lea rax, str.Breakpoint
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x50], 0x80000004
lea rax, str.Single_step
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], esi
lea rax, str.Wait_0
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x70], 0x80
lea rax, str.Abandoned_Wait_0
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], 0xc0
lea rax, str.User_APC
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], 0x102
lea rax, str.Timeout
mov qword [rbp + 0x98], rax
mov dword [rbp + 0xa0], 0x103
lea rax, str.Pending
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xb0], 0x80000001
lea rax, str.Guard_Page_Violation
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xc0], 0x80000002
lea rax, str.Data_Type_Misalignment
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xd0], 0xc0000005
lea rax, str.Access_Violation
mov qword [rbp + 0xd8], rax
mov dword [rbp + 0xe0], 0xc0000006
lea rax, str.In_Page_Error
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0xf0], 0xc0000017
lea rax, str.No_Memory
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0x100], 0xc000001d
lea rax, str.Illegal_Instruction
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x110], 0xc0000025
lea rax, str.Noncontinuable_Exception
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], 0xc0000026
lea rax, str.Invalid_Disposition
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x130], 0xc000008c
lea rax, str.Array_Bounds_Exceeded
mov qword [rbp + 0x138], rax
mov dword [rbp + 0x140], 0xc000008d
lea rax, str.Float_Denormal_Operand
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x150], 0xc000008e
lea rax, str.Divide_by_Zero
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x160], 0xc000008f
lea rax, str.Float_Inexact_Result
mov qword [rbp + 0x168], rax
mov dword [rbp + 0x170], 0xc0000090
lea rax, str.Float_Invalid_Operation
mov qword [rbp + 0x178], rax
mov dword [rbp + 0x180], 0xc0000091
lea rax, str.Float_Overflow
mov qword [rbp + 0x188], rax
mov dword [rbp + 0x190], 0xc0000092
lea rax, str.Float_Stack_Check
mov qword [rbp + 0x198], rax
mov dword [rbp + 0x1a0], 0xc0000093
lea rax, str.Float_Underflow
mov qword [rbp + 0x1a8], rax
mov dword [rbp + 0x1b0], 0xc0000094
lea rax, str.Integer_Divide_by_Zero
mov qword [rbp + 0x1b8], rax
mov dword [rbp + 0x1c0], 0xc0000095
lea rax, str.Integer_Overflow
mov qword [rbp + 0x1c8], rax
mov dword [rbp + 0x1d0], 0xc0000096
lea rax, str.Privileged_Instruction
mov qword [rbp + 0x1d8], rax
mov dword [rbp + 0x1e0], 0xc00000fd
lea rax, str.Stack_Overflow
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x1f0], 0xc000013a
lea rax, str.CtrlC_Exit
mov qword [rbp + 0x1f8], rax
mov dword [rbp + 0x200], 0xffffffff
lea rax, [0x1400d5c45]
mov qword [rbp + 0x208], rax
mov r8d, esi
mov rax, qword [r15]
mov r9d, dword [rax]
mov rdx, rsi
cmp ecx, r9d
je 0x14003671e
inc r8d
inc rdx
mov rax, rdx
add rax, rax
mov ecx, dword [rbp + rax*8 + 0x30]
cmp ecx, 0xffffffff
jne 0x140036667
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [r15]
mov dword [rsp + 0x20], eax
mov r9, qword [rcx + 0x10]
mov r8d, dword [rcx]
lea rdx, str.Unknown_exception:__code_0x_x__at_address____in_thread__X_r_n
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x1400366be
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x1400366de
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov rax, qword [r15]
mov rbx, qword [rax + 0x10]
mov r8d, 0x30
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400367ec
mov rdi, qword [rsp + 0x70]
test rdi, rdi
jne 0x140036783
mov byte [rbp + 0x530], dil
mov rdi, rsi
mov rbx, rsi
jmp 0x1400367fa
movsxd rax, r8d
add rax, rax
mov rbx, qword [rbp + rax*8 + 0x38]
test rbx, rbx
je 0x140036685
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [r15]
mov rdx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov r9d, dword [rcx]
mov r8, rbx
lea rdx, str.Exception:__s__code_0x_x__at_address____in_thread__X_r_n
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x140036773
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
jmp 0x1400366c9
mov r8d, 0x800
lea rdx, [rbp + 0x530]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1400367ec
movsxd rax, dword [rdi + 0x3c]
add rax, rdi
movzx edx, word [rax + 0x14]
add rdx, 0x28
sub rbx, rdi
mov r8d, esi
movzx r10d, word [rax + 6]
test r10d, r10d
je 0x1400367ec
add rdx, rax
nop
mov r9d, dword [rdx - 4]
mov ecx, dword [rdx]
cmp ecx, dword [rdx - 8]
cmovbe ecx, dword [rdx - 8]
mov eax, ecx
add rax, r9
cmp rbx, r9
jb 0x1400367e0
cmp rbx, rax
jbe 0x140036c01
inc r8d
add rdx, 0x28
cmp r8d, r10d
jb 0x1400367c0
mov rbx, qword [rbp + 0xd78]
mov rdi, qword [rbp + 0xd78]
mov r9, rbx
mov r8, rdi
lea rdx, str.Logical_Address:__04X:___r_n
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x140036825
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x140036845
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov r8d, 2
lea rdx, [0x1400d60a4]
lea rcx, [rsp + 0x50]
call fcn.140032320
mov r9, rbx
mov r8, rdi
lea rdx, str.Exception_at__04X:_08X
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14001e700
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x140036896
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x34], 0x10
mov dword [rbp - 0x38], esi
test r14b, r14b
je 0x1400368dd
xor r8d, r8d
mov rdx, qword [r15 + 8]
lea rcx, [rsp + 0x68]
call fcn.140035290
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14001e700
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x1400368dd
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
movsxd r8, dword [rbp - 0x38]
test dword [rbp - 0x34], 0x40000000
lea rdx, [rbp - 0x30]
cmovne rdx, qword [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140032320
mov r8d, 2
lea rdx, [0x1400d60a4]
lea rcx, [rsp + 0x50]
call fcn.140032320
mov r8, qword [r15 + 8]
mov rax, qword [r8 + 0xb0]
mov qword [rsp + 0x38], rax
mov rax, qword [r8 + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [r8 + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [r8 + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [r8 + 0x90]
mov r8, qword [r8 + 0x78]
lea rdx, str.RAX:___RBX:___RCX:___RDX:___RSI:___RDI:___r_n
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x140036976
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x140036996
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov r8, qword [r15 + 8]
mov rax, qword [r8 + 0xf0]
mov qword [rsp + 0x48], rax
mov rax, qword [r8 + 0xe8]
mov qword [rsp + 0x40], rax
mov rax, qword [r8 + 0xe0]
mov qword [rsp + 0x38], rax
mov rax, qword [r8 + 0xd8]
mov qword [rsp + 0x30], rax
mov rax, qword [r8 + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [r8 + 0xc8]
mov qword [rsp + 0x20], rax
mov r9, qword [r8 + 0xc0]
mov r8, qword [r8 + 0xb8]
lea rdx, str.R8:___R9:___R10:___R11:___r_nR12:___R13:___R14:___R15:___r_n
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x140036a15
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x140036a35
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov r8, qword [r15 + 8]
mov rax, qword [r8 + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, qword [r8 + 0x98]
mov r8, qword [r8 + 0xf8]
lea rdx, str.EIP:___ESP:___EBP:___r_n
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x140036a78
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x140036a98
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov rax, qword [r15 + 8]
movzx ecx, word [rax + 0x40]
movzx edx, word [rax + 0x3e]
movzx r10d, word [rax + 0x3c]
movzx r11d, word [rax + 0x3a]
movzx r9d, word [rax + 0x42]
movzx r8d, word [rax + 0x38]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rdx, str.CS:_04X_SS:_04X_DS:_04X_ES:_04X_FS:_04X_GS:_04X_r_n
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x140036aef
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x140036b0f
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov r8, qword [r15 + 8]
mov r8d, dword [r8 + 0x44]
lea rdx, str.Flags:___r_n
lea rcx, [rsp + 0x68]
call fcn.14002e280
nop
movsxd r8, dword [rax]
lea rdx, [rax + 8]
test dword [rax + 4], 0x40000000
je 0x140036b3c
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
mov eax, dword [rsp + 0x6c]
shr eax, 0x1f
test al, al
je 0x140036b5c
mov rcx, qword [rsp + 0x70]
call fcn.14006bcf0
mov r8d, 2
lea rdx, [0x1400d60a4]
lea rcx, [rsp + 0x50]
call fcn.140032320
mov byte [rbp - 0x60], 0
mov dword [rbp - 0x64], 0x10
mov dword [rbp - 0x68], esi
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140032320
nop
mov eax, dword [rbp - 0x64]
shr eax, 0x1f
test al, al
je 0x140036ba6
mov rcx, qword [rbp - 0x60]
call fcn.14006bcf0
test r13b, r13b
je 0x140036c0d
mov r8d, 1
lea rdx, [0x1400d4a4c]
lea rcx, [rsp + 0x50]
call fcn.140032320
mov edi, dword [rsp + 0x50]
test dword [rsp + 0x54], 0x40000000
lea rbx, [rsp + 0x58]
cmovne rbx, qword [rsp + 0x58]
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0xd78]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140036c27
lea edi, [r8 + 1]
sub rbx, r9
jmp 0x1400367fa
mov r8, qword [rbp + 0xd80]
add r8, 0x60
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.140034b30
nop
mov eax, dword [rbp - 0x34]
shr eax, 0x1f
test al, al
je 0x140036c3b
mov rcx, qword [rbp - 0x30]
call fcn.14006bcf0
nop
mov eax, dword [rbp - 0x4c]
shr eax, 0x1f
test al, al
je 0x140036c4f
mov rcx, qword [rbp - 0x48]
call fcn.14006bcf0
nop
mov eax, dword [rbp + 0x14]
shr eax, 0x1f
test al, al
je 0x140036c63
mov rcx, qword [rbp + 0x18]
call fcn.14006bcf0
nop
mov eax, dword [rbp - 4]
shr eax, 0x1f
test al, al
je 0x140036c77
mov rcx, qword [rbp]
call fcn.14006bcf0
nop
mov eax, dword [rsp + 0x54]
shr eax, 0x1f
test al, al
je 0x140036c8d
mov rcx, qword [rsp + 0x58]
call fcn.14006bcf0
nop
mov eax, dword [rbp - 0x1c]
shr eax, 0x1f
test al, al
je 0x140036ca0
mov rcx, qword [rbp - 0x18]
call fcn.14006bcf0
mov rbx, qword [rsp + 0xe70]
add rsp, 0xe30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret