Function at 0x140033e70
Capabilities:
Write file on windows

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, qword [0x140205610]
mov rax, qword [rsi + 0x58]
test rax, rax
je 0x140033ed4
cmp byte [rsi + 1], 0
je 0x140033ed4
mov byte [rax + 0x18], 0
mov rdi, qword [rsi + 0x58]
test rdi, rdi
je 0x140033ed4
mov rcx, rdi
call fcn.1400562c0
mov rax, qword [0x140205610]
test rax, rax
je 0x140033ec4
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
mov rcx, rdi
call qword [0x1401e7350]
mov qword [rsi + 0x58], 0
mov rcx, qword [rsi + 0x3c60]
test rcx, rcx
je 0x140033f1d
mov qword [rsi + 0x3c58], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140033f05
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x3c60], 0
cmp byte [rsi], 0
je 0x140034976
cmp byte [rsi + 0x5c09], 0
je 0x140033f92
mov rbx, qword [rsi + 0x20]
test rbx, rbx
je 0x140033f92
mov rax, qword [0x140205610]
mov dword [rax + 0x5c0c], 0
mov qword [rbp - 0x10], 0
lea rcx, [rbp - 0x10]
call fcn.14004c7c0
mov rdi, rax
lea rdx, [0x140110de6]
mov rcx, rbx
call fcn.14002e4d0
test rax, rax
je 0x140033f92
mov rbx, rax
mov r8, qword [rbp - 0x10]
mov edx, 1
mov rcx, rdi
mov r9, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [rsi + 0x5c50]
test eax, eax
jle 0x140033fe2
xor edi, edi
xor ebx, ebx
jmp 0x140033fbf
inc rbx
movsxd rcx, eax
add rdi, 0x20
cmp rbx, rcx
jge 0x140033fe2
mov r8, qword [rsi + 0x5c58]
cmp dword [r8 + rdi + 4], 6
jne 0x140033fb0
lea rdx, [r8 + rdi]
mov rcx, rsi
call qword [r8 + rdi + 0x10]
mov eax, dword [rsi + 0x5c50]
jmp 0x140033fb0
mov eax, dword [rsi + 0x3e98]
test eax, eax
jle 0x14003403d
xor ebx, ebx
jmp 0x140034011
mov rdx, qword [0x140205620]
mov rcx, rdi
call qword [0x1401e7350]
mov eax, dword [rsi + 0x3e98]
inc rbx
movsxd rcx, eax
cmp rbx, rcx
jge 0x14003403d
mov rcx, qword [rsi + 0x3ea0]
mov rdi, qword [rcx + rbx*8]
test rdi, rdi
je 0x140034006
mov rcx, rdi
call fcn.140035f00
mov rax, qword [0x140205610]
test rax, rax
je 0x140033ff0
dec dword [rax + 0xf4]
jmp 0x140033ff0
mov rcx, qword [rsi + 0x3ea0]
test rcx, rcx
je 0x14003407e
mov qword [rsi + 0x3e98], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034066
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x3ea0], 0
mov rcx, qword [rsi + 0x3eb0]
test rcx, rcx
je 0x1400340bf
mov qword [rsi + 0x3ea8], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x1400340a7
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x3eb0], 0
mov rcx, qword [rsi + 0x3ec0]
test rcx, rcx
je 0x140034100
mov qword [rsi + 0x3eb8], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x1400340e8
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x3ec0], 0
mov qword [rsi + 0x3ef8], 0
mov rcx, qword [rsi + 0x3ed0]
test rcx, rcx
je 0x14003414c
mov qword [rsi + 0x3ec8], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034134
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x3ed0], 0
mov rcx, qword [rsi + 0x3ee0]
test rcx, rcx
je 0x14003418d
mov qword [rsi + 0x3ed8], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034175
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x3ee0], 0
mov qword [rsi + 0x48d8], 0
mov qword [rsi + 0x3f90], 0
mov qword [rsi + 0x3f78], 0
lea rcx, [rsi + 0x4630]
xorps xmm0, xmm0
movups xmmword [rsi + 0x3f00], xmm0
mov qword [rsi + 0x3f10], 0
mov r8d, 0x118
mov dl, 0xff
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsi + 0x4750]
test rcx, rcx
je 0x140034218
mov qword [rsi + 0x4748], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034200
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4750], 0
mov rcx, qword [rsi + 0x4760]
test rcx, rcx
je 0x140034259
mov qword [rsi + 0x4758], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034241
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4760], 0
mov rcx, qword [rsi + 0x4848]
test rcx, rcx
je 0x14003429a
mov qword [rsi + 0x4840], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034282
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4848], 0
mov rcx, qword [rsi + 0x4858]
test rcx, rcx
je 0x1400342db
mov qword [rsi + 0x4850], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x1400342c3
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4858], 0
mov rcx, qword [rsi + 0x4868]
test rcx, rcx
je 0x14003431c
mov qword [rsi + 0x4860], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034304
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4868], 0
mov rcx, qword [rsi + 0x48a8]
test rcx, rcx
je 0x14003435d
mov qword [rsi + 0x48a0], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034345
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x48a8], 0
mov rcx, qword [rsi + 0x48b8]
test rcx, rcx
je 0x14003439e
mov qword [rsi + 0x48b0], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034386
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x48b8], 0
mov eax, dword [rsi + 0x48c8]
test eax, eax
jle 0x1400343fd
xor ebx, ebx
jmp 0x1400343d1
mov rdx, qword [0x140205620]
mov rcx, rdi
call qword [0x1401e7350]
mov eax, dword [rsi + 0x48c8]
inc rbx
movsxd rcx, eax
cmp rbx, rcx
jge 0x1400343fd
mov rcx, qword [rsi + 0x48d0]
mov rdi, qword [rcx + rbx*8]
test rdi, rdi
je 0x1400343c6
mov rcx, rdi
call fcn.14004edf0
mov rax, qword [0x140205610]
test rax, rax
je 0x1400343b0
dec dword [rax + 0xf4]
jmp 0x1400343b0
mov rcx, qword [rsi + 0x48d0]
test rcx, rcx
je 0x14003443e
mov qword [rsi + 0x48c8], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034426
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x48d0], 0
lea rcx, [rsi + 0x4bc8]
call fcn.140035480
mov rcx, qword [rsi + 0x4bf8]
test rcx, rcx
je 0x14003448b
mov qword [rsi + 0x4bf0], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034473
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4bf8], 0
mov rcx, qword [rsi + 0x4c08]
test rcx, rcx
je 0x1400344cc
mov qword [rsi + 0x4c00], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x1400344b4
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4c08], 0
mov eax, dword [rsi + 0x4b48]
test eax, eax
jle 0x140034526
mov edi, 0x20
xor ebx, ebx
jmp 0x140034502
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov eax, dword [rsi + 0x4b48]
inc rbx
movsxd rcx, eax
add rdi, 0x28
cmp rbx, rcx
jge 0x140034526
mov rcx, qword [rsi + 0x4b50]
mov rcx, qword [rcx + rdi]
test rcx, rcx
je 0x1400344f3
mov rax, qword [0x140205610]
test rax, rax
je 0x1400344e0
dec dword [rax + 0xf4]
jmp 0x1400344e0
mov rcx, qword [rsi + 0x4b50]
test rcx, rcx
je 0x140034567
mov qword [rsi + 0x4b48], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x14003454f
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4b50], 0
lea rcx, [rsi + 0x4b78]
call fcn.140035600
cmp dword [rsi + 0x4b68], 0
jle 0x1400345de
mov edi, 0x10
xor ebx, ebx
jmp 0x1400345b0
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
inc rbx
movsxd rax, dword [rsi + 0x4b68]
add rdi, 0x70
cmp rbx, rax
jge 0x1400345de
mov r14, qword [rsi + 0x4b70]
lea rcx, [r14 + rdi]
call fcn.14004fe60
mov rcx, qword [r14 + rdi + 0x10]
test rcx, rcx
je 0x14003459d
mov rax, qword [0x140205610]
test rax, rax
je 0x140034590
dec dword [rax + 0xf4]
jmp 0x140034590
mov rcx, qword [rsi + 0x4b70]
test rcx, rcx
je 0x14003461f
mov qword [rsi + 0x4b68], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034607
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4b70], 0
mov rcx, qword [rsi + 0x4bb8]
test rcx, rcx
je 0x140034660
mov qword [rsi + 0x4bb0], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034648
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4bb8], 0
mov rcx, qword [rsi + 0x5bd0]
test rcx, rcx
je 0x1400346a1
mov qword [rsi + 0x5bc8], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034689
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x5bd0], 0
mov rcx, qword [rsi + 0x5be0]
test rcx, rcx
je 0x1400346e2
mov qword [rsi + 0x5bd8], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x1400346ca
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x5be0], 0
mov rcx, qword [rsi + 0x4c48]
test rcx, rcx
je 0x140034723
mov qword [rsi + 0x4c40], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x14003470b
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4c48], 0
mov rcx, qword [rsi + 0x4c58]
test rcx, rcx
je 0x140034764
mov qword [rsi + 0x4c50], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x14003474c
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4c58], 0
mov rcx, qword [rsi + 0x4c68]
test rcx, rcx
je 0x1400347a5
mov qword [rsi + 0x4c60], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x14003478d
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x4c68], 0
mov dword [rsi + 0x5ab8], 0
mov rcx, qword [rsi + 0x5ac8]
test rcx, rcx
je 0x1400347f0
mov qword [rsi + 0x5ac0], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x1400347d8
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x5ac8], 0
mov rcx, qword [rsi + 0x5c38]
test rcx, rcx
je 0x140034831
mov qword [rsi + 0x5c30], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034819
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x5c38], 0
mov rcx, qword [rsi + 0x5c28]
test rcx, rcx
je 0x140034872
mov qword [rsi + 0x5c20], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x14003485a
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x5c28], 0
mov rdi, qword [rsi + 0x5ca8]
test rdi, rdi
je 0x1400348a6
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x14003489b
mov rcx, qword [rsi + 0x5ca8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rsi + 0x5ca8], 0
mov rcx, qword [rsi + 0x5cb8]
test rcx, rcx
je 0x1400348e7
mov qword [rsi + 0x5cb0], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x1400348cf
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x5cb8], 0
mov rcx, qword [rsi + 0x5cf0]
test rcx, rcx
je 0x140034928
mov qword [rsi + 0x5ce8], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034910
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x5cf0], 0
mov rcx, qword [rsi + 0x5d00]
test rcx, rcx
je 0x140034969
mov qword [rsi + 0x5cf8], 0
mov rax, qword [0x140205610]
test rax, rax
je 0x140034951
dec dword [rax + 0xf4]
mov rdx, qword [0x140205620]
call qword [0x1401e7350]
mov qword [rsi + 0x5d00], 0
mov dword [rsi + 0x5d08], 0
mov byte [rsi], 0
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret