Function at 0x180004580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0xd0
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov r12, rdx
mov rsi, rcx
cmp qword [rcx + 0x98], 8
jb 0x1800045bb
mov rcx, qword [rcx + 0x80]
jmp 0x1800045bf
sub rcx, 0xffffffffffffff80
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor eax, eax
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x180004609
mov ebp, dword [rsp + 0x3c]
shl rbp, 0x20
mov eax, dword [rsp + 0x40]
add rbp, rax
jmp 0x18000460c
mov rbp, rbx
and dword [rsp + 0x78], 0xfffffe00
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbx
lea rax, [rsp + 0x20]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
cmp qword [rsi + 0x20], 0x10
jb 0x180004660
mov rcx, qword [rsi + 8]
jmp 0x180004664
lea rcx, [rsi + 8]
mov edx, dword [rsi + 0x18]
call fcn.18003446c
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa07]
lea rdx, str.pl_task
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x1800046b6
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, dword [rsp + 0x28]
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x180004704
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x180004722
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x180004740
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call fcn.180034e14
lea rdx, [rsp + 0x20]
mov qword [rsp + 0xf0], rdx
lea rdx, [rsi + 0x50]
lea rcx, [rsp + 0x48]
call fcn.180001500
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180004791
mov rcx, qword [rax + 8]
jmp 0x180004795
lea rcx, [rax + 8]
call fcn.18003446c
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa10]
lea rdx, str.doc_name
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x1800047e4
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, dword [rsp + 0x28]
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x180004832
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x180004850
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x18000486e
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call fcn.180034e14
nop
cmp qword [rsp + 0x68], 0x10
jb 0x18000488b
mov rcx, qword [rsp + 0x50]
call fcn.1800538dc
lea rax, [rsp + 0x20]
mov qword [rsp + 0xf0], rax
lea rcx, [0x18009c860]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
mov qword [rsp + 0xb8], 7
mov qword [rsp + 0xb0], rbx
mov word [rsp + 0xa0], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x98]
call fcn.18000d5e0
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x48]
call fcn.180001500
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180004923
mov rcx, qword [rax + 8]
jmp 0x180004927
lea rcx, [rax + 8]
call fcn.18003446c
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa21]
lea rdx, str.proc_name
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x180004976
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, dword [rsp + 0x28]
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x1800049c4
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x1800049e2
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x180004a00
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call fcn.180034e14
nop
cmp qword [rsp + 0x68], 0x10
jb 0x180004a1d
mov rcx, qword [rsp + 0x50]
call fcn.1800538dc
mov qword [rsp + 0x68], socket
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], 0
cmp qword [rsp + 0xb8], 8
jb 0x180004a48
mov rcx, qword [rsp + 0xa0]
call fcn.1800538dc
lea rax, [rsp + 0x20]
mov qword [rsp + 0xf0], rax
mov r8d, dword [rsi + 0xa0]
lea rdx, [0x18007aa2c]
lea rcx, [rsp + 0x48]
call fcn.18002964c
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180004a99
mov rcx, qword [rax + 8]
jmp 0x180004a9d
lea rcx, [rax + 8]
call fcn.18003446c
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa29]
lea rdx, str.pages
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x180004aec
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, dword [rsp + 0x28]
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x180004b3a
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x180004b58
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x180004b76
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call fcn.180034e14
nop
cmp qword [rsp + 0x68], 0x10
jb 0x180004b93
mov rcx, qword [rsp + 0x50]
call fcn.1800538dc
lea rax, [rsp + 0x20]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0x28], 1
btr dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
movsxd rax, dword [rsi + 0xa4]
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa39]
lea rdx, str.pl_copies
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x180004c0b
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, dword [rsp + 0x28]
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x180004c59
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x180004c77
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x180004c95
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call fcn.180034e14
lea rdx, [rsp + 0x20]
mov qword [rsp + 0xf0], rdx
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.180028630
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180004ce7
mov rcx, qword [rax + 8]
jmp 0x180004ceb
lea rcx, [rax + 8]
call fcn.18003446c
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa49]
lea rdx, str.data_time
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x180004d3a
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, dword [rsp + 0x28]
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x180004d88
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x180004da6
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x180004dc4
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call fcn.180034e14
nop
cmp qword [rsp + 0x68], 0x10
jb 0x180004de1
mov rcx, qword [rsp + 0x50]
call fcn.1800538dc
lea rax, [rsp + 0x20]
mov qword [rsp + 0xf0], rax
lea rdx, [rsi + 0x28]
lea rcx, [rsp + 0x48]
call fcn.180001500
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180004e28
mov rcx, qword [rax + 8]
jmp 0x180004e2c
lea rcx, [rax + 8]
call fcn.18003446c
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa5c]
lea rdx, str.printer_name
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x180004e7b
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, ecx
xor eax, dword [rsp + 0x28]
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x180004ec9
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x180004ee7
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x180004f05
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call fcn.180034e14
nop
cmp qword [rsp + 0x68], 0x10
jb 0x180004f22
mov rcx, qword [rsp + 0x50]
call fcn.1800538dc
lea rax, [rsp + 0x20]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
lea rcx, [0x1800996b0]
cmp qword [0x1800996c8], 0x10
cmovae rcx, qword [0x1800996b0]
mov edx, dword [0x1800996c0]
call fcn.18003446c
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa66]
lea rdx, str.hash4k
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x180004fb5
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, ecx
xor eax, dword [rsp + 0x28]
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x180005003
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x180005021
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x18000503f
mov rdx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x20]
call fcn.180034e14
lea rdx, [rsp + 0x20]
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0xb8], 7
mov qword [rsp + 0xb0], rbx
mov word [rsp + 0xa0], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x98]
call fcn.18000d5e0
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x48]
call fcn.180001500
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x1800050d4
mov rcx, qword [rax + 8]
jmp 0x1800050d8
lea rcx, [rax + 8]
call fcn.18003446c
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa71]
lea rdx, str.pl_action
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x180005127
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, ecx
xor eax, dword [rsp + 0x28]
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x180005175
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x180005193
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x1800051b1
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call fcn.180034e14
nop
cmp qword [rsp + 0x68], 0x10
jb 0x1800051ce
mov rcx, qword [rsp + 0x50]
call fcn.1800538dc
mov qword [rsp + 0x68], socket
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], 0
cmp qword [rsp + 0xb8], 8
jb 0x1800051f9
mov rcx, qword [rsp + 0xa0]
call fcn.1800538dc
lea rax, [rsp + 0x20]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0x28], 1
btr dword [rsp + 0x28], 8
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
movsxd rax, ebp
mov qword [rsp + 0x20], rax
lea r8, [0x18007aa81]
lea rdx, str.file_size
lea rcx, [rsp + 0x70]
call fcn.180035dc8
mov rdi, rax
movsx edx, byte [rax + 8]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov byte [rsp + 0x28], dl
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x18000526d
mov rcx, qword [rdi]
mov rdx, qword [rsp + 0x20]
mov qword [rdi], rdx
mov qword [rsp + 0x20], rcx
mov ecx, dword [rdi + 8]
mov edx, ecx
shr edx, 8
and edx, 1
mov eax, ecx
xor eax, dword [rsp + 0x28]
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
mov eax, dword [rsp + 0x28]
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [rsp + 0x28], eax
lea rdx, [rdi + 0x10]
lea rax, [rsp + 0x30]
cmp rdx, rax
je 0x1800052bb
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov qword [rsp + 0x30], rcx
lea rdx, [rdi + 0x18]
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x1800052d9
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov qword [rsp + 0x38], rcx
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x1800052f7
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
call fcn.180034e14
test ebp, ebp
jle 0x180005327
cmp ebp, 0x3200000
jge 0x180005327
cmp qword [rsi + 0x98], 8
jb 0x180005320
mov rbx, qword [rsi + 0x80]
jmp 0x180005327
lea rbx, [rsi + 0x80]
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, str.t_print_log
call fcn.18002dd0c
nop
movsx eax, byte [rsp + 0x78]
cmp eax, 4
je 0x18000536d
add eax, 0xfffffffa
cmp eax, 1
ja 0x18000537f
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x18000537f
mov rcx, rdi
call fcn.180039638
mov rcx, rdi
call fcn.1800538dc
jmp 0x18000537f
bt dword [rsp + 0x78], 8
jae 0x18000537f
mov rcx, qword [rsp + 0x70]
call fcn.180054818
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1800053ac
lea rdi, [rcx - 8]
lea r9, [0x1800347ec]
mov r8d, dword [rdi]
mov edx, 8
call fcn.180063364
mov rcx, rdi
call fcn.180053a74
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret