Function at 0x1800279e0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x5b8
mov rax, qword [0x180135070]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov dword [rsp + 0x110], 1
mov rax, qword [rsp + 0x5c8]
cmp qword [rax + 0x38], 0
jne 0x180027a34
mov rcx, qword [rsp + 0x5c8]
call fcn.18003cdc0
mov rax, qword [rsp + 0x5c8]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x5d0]
movsx eax, byte [rax + 0x3ea]
test eax, eax
je 0x180027a73
mov rax, qword [rsp + 0x5d0]
add rax, 0x3ea
mov qword [rsp + 0x540], rax
jmp 0x180027a82
lea rax, [0x18013a800]
mov qword [rsp + 0x540], rax
mov rax, qword [rsp + 0x5d0]
movsx eax, byte [rax + 0x2ca]
test eax, eax
je 0x180027aad
mov rax, qword [rsp + 0x5d0]
add rax, 0x2ca
mov qword [rsp + 0x548], rax
jmp 0x180027abc
lea rax, [0x18013a804]
mov qword [rsp + 0x548], rax
mov rax, qword [rsp + 0x5d0]
movsx eax, byte [rax + 0x289]
test eax, eax
je 0x180027ae7
mov rax, qword [rsp + 0x5d0]
add rax, 0x289
mov qword [rsp + 0x550], rax
jmp 0x180027af6
lea rax, [0x18013a808]
mov qword [rsp + 0x550], rax
mov rax, qword [rsp + 0x5d0]
movsx eax, byte [rax + 0x248]
test eax, eax
je 0x180027b21
mov rax, qword [rsp + 0x5d0]
add rax, 0x248
mov qword [rsp + 0x558], rax
jmp 0x180027b30
lea rax, [0x18013a80c]
mov qword [rsp + 0x558], rax
mov rax, qword [rsp + 0x5d0]
movsx eax, byte [rax + 0x174]
test eax, eax
je 0x180027b5b
mov rax, qword [rsp + 0x5d0]
add rax, 0x174
mov qword [rsp + 0x560], rax
jmp 0x180027b6a
lea rax, [0x18013a810]
mov qword [rsp + 0x560], rax
mov rax, qword [rsp + 0x5d0]
movsx eax, byte [rax + 0xccc]
test eax, eax
je 0x180027b95
mov rax, qword [rsp + 0x5d0]
add rax, 0xccc
mov qword [rsp + 0x568], rax
jmp 0x180027ba4
lea rax, [0x18013a814]
mov qword [rsp + 0x568], rax
mov rax, qword [rsp + 0x5d0]
movsx eax, byte [rax + 0x32c]
test eax, eax
je 0x180027bcf
mov rax, qword [rsp + 0x5d0]
add rax, 0x32c
mov qword [rsp + 0x570], rax
jmp 0x180027bde
lea rax, [0x18013a818]
mov qword [rsp + 0x570], rax
mov rax, qword [rsp + 0x5d0]
movsx eax, byte [rax + 0x168]
test eax, eax
je 0x180027c09
mov rax, qword [rsp + 0x5d0]
add rax, 0x168
mov qword [rsp + 0x578], rax
jmp 0x180027c18
lea rax, [0x18013a81c]
mov qword [rsp + 0x578], rax
mov rax, qword [rsp + 0x5c8]
movsx eax, byte [rax + 0xa2]
test eax, eax
je 0x180027c43
mov rax, qword [rsp + 0x5c8]
add rax, 0xa2
mov qword [rsp + 0x580], rax
jmp 0x180027c52
lea rax, [0x18013a820]
mov qword [rsp + 0x580], rax
mov rax, qword [rsp + 0x5c8]
movsx eax, byte [rax + 0x61]
test eax, eax
je 0x180027c78
mov rax, qword [rsp + 0x5c8]
add rax, 0x61
mov qword [rsp + 0x588], rax
jmp 0x180027c87
lea rax, [0x18013a824]
mov qword [rsp + 0x588], rax
mov rax, qword [rsp + 0x5c8]
movsx eax, byte [rax + 0x40]
test eax, eax
je 0x180027cad
mov rax, qword [rsp + 0x5c8]
add rax, 0x40
mov qword [rsp + 0x590], rax
jmp 0x180027cbc
lea rax, [0x18013a828]
mov qword [rsp + 0x590], rax
mov rax, qword [rsp + 0x5d0]
add rax, 0x5a
mov rcx, qword [rsp + 0x5d0]
add rcx, 0x44
mov rdx, qword [rsp + 0x5d0]
add rdx, 0x1b
lea r8, [rsp + 0x134]
mov qword [rsp + 0x598], r8
mov r9, qword [rsp + 0x5d0]
mov r9d, dword [r9 + 0x31c]
mov dword [rsp + 0x108], r9d
mov r9, qword [rsp + 0x5d0]
mov r9d, dword [r9 + 0x1fc]
mov dword [rsp + 0x100], r9d
mov r9, qword [rsp + 0x540]
mov qword [rsp + 0xf8], r9
mov r9, qword [rsp + 0x548]
mov qword [rsp + 0xf0], r9
mov r9, qword [rsp + 0x550]
mov qword [rsp + 0xe8], r9
mov r9, qword [rsp + 0x558]
mov qword [rsp + 0xe0], r9
mov r9, qword [rsp + 0x560]
mov qword [rsp + 0xd8], r9
mov r9, qword [rsp + 0x568]
mov qword [rsp + 0xd0], r9
mov r9, qword [rsp + 0x570]
mov qword [rsp + 0xc8], r9
mov r9, qword [rsp + 0x578]
mov qword [rsp + 0xc0], r9
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa8], rdx
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x5e0]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x5e8]
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x5d0]
mov eax, dword [rax + 0x30c]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x5d0]
mov eax, dword [rax + 0x338]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x5d0]
mov eax, dword [rax + 0x244]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x5d0]
mov eax, dword [rax + 0x318]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x5d0]
mov eax, dword [rax + 0x314]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x5d0]
mov eax, dword [rax + 0x328]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x5d0]
mov eax, dword [rax + 0x1f8]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x5d0]
mov eax, dword [rax + 0x324]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x5d0]
mov eax, dword [rax + 0x320]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x5d8]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x580]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x590]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 3
mov r8d, ioctlsocket
lea rdx, str._x_x_x_s_s_s_x_x_x_x_x_x_x_x_x_x_x_llx_s_s_s_s_s_s_s_s_s_s_s_s_x_x_n
mov rax, qword [rsp + 0x598]
mov rcx, rax
call fcn.1800f9dc0
lea rax, [rsp + 0x134]
mov rcx, rax
call fcn.18000acf0
mov dword [rsp + 0x120], eax
cmp dword [rsp + 0x120], 0x400
jle 0x180027f2a
mov rcx, qword [rsp + 0x5c0]
call fcn.180015158
mov dword [rsp + 0x110], 0xffffff54
jmp 0x180027fc1
lea rax, [rsp + 0x134]
mov r8d, dword [rsp + 0x120]
mov rdx, rax
mov rcx, qword [rsp + 0x5c8]
call fcn.180027ff0
mov r8d, dword [rsp + 0x120]
lea rdx, [0x18013a894]
lea rcx, [rsp + 0x130]
call fcn.1800f9dc0
mov eax, dword [rsp + 0x120]
add eax, 4
cdqe
mov r9, qword [rsp + 0x5c0]
mov r8, rax
mov edx, 1
lea rcx, [rsp + 0x130]
call fcn.1800fadc0
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0x120]
add eax, 4
cmp dword [rsp + 0x124], eax
je 0x180027fb6
mov dword [rsp + 0x110], 0xffffff54
jmp 0x180027fc1
mov dword [rsp + 0x110], 0
mov eax, dword [rsp + 0x110]
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.180005860
add rsp, 0x5b8
ret