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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x108
mov rsi, qword [rcx + 0x10]
mov rdi, qword [rcx]
xor r8d, r8d
cmp dword [rsp + 0x180], r8d
mov r12, rdx
mov r15, rcx
setne byte [rsp + 0x60]
mov dword [rsp + 0x7c], r8d
mov dword [rsp + 0x80], r8d
mov dword [rsp + 0x98], r8d
mov byte [rsp + 0x61], r8b
mov dword [rsp + 0xac], 0xffffffff
mov qword [rsp + 0xb8], rdi
test rsi, rsi
jne 0x18007373e
call fcn.18003a350
mov rsi, rax
mov qword [r15 + 0x10], rax
test rax, rax
je 0x180073724
mov edx, 0x9e
mov rcx, rax
call fcn.18003a750
xor r8d, r8d
cmp qword [r15 + 0x1c8], r8
jne 0x18007373e
mov rax, qword [r15]
test byte [rax + 0x50], 8
jne 0x18007373e
mov byte [r15 + 0x23], 1
test byte [r12 + 0x46], 0x20
movsx rcx, word [r12 + 0x3e]
mov eax, 1
jne 0x18007375b
mov qword [rsp + 0x88], r8
jmp 0x18007378e
mov rdx, qword [r12 + 0x10]
mov qword [rsp + 0x88], rdx
test rdx, rdx
je 0x18007378a
nop dword [rax]
mov eax, dword [rdx + 0x64]
and al, 3
cmp al, 2
je 0x180073782
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x180073770
mov qword [rsp + 0x88], rdx
movzx eax, word [rdx + 0x5e]
mov r14, rcx
movzx ecx, byte [rsp + 0x190]
mov dword [rsp + 0x6c], eax
mov ebp, r8d
mov r13, r8
mov r9d, 2
test r14, r14
jle 0x180073a71
mov rdx, qword [rsp + 0x158]
mov r12, r8
nop dword [rax]
movsx eax, word [rdx + 0x3c]
cmp ebp, eax
je 0x180073a57
mov rax, qword [rsp + 0x1a8]
test rax, rax
je 0x1800737e4
cmp dword [rax + r13*4], 0
jl 0x180073a57
mov rax, qword [rdx + 8]
movzx ebx, byte [r12 + rax + 0x18]
test ebx, ebx
je 0x180073a57
cmp cl, 0xa
je 0x18007389a
movzx ebx, cl
cmp ebx, 5
jne 0x180073811
cmp qword [r12 + rax + 8], 0
cmove ebx, r9d
mov ecx, ebx
dec ecx
je 0x180073941
dec ecx
je 0x18007392c
dec ecx
je 0x180073941
dec ecx
mov eax, dword [rsp + 0x178]
je 0x1800738c2
lea ebx, [rbp + rax + 1]
mov edx, 0x4d
mov rcx, rsi
mov r8d, ebx
call fcn.18003a7c0
mov rdx, qword [rsp + 0x158]
mov r8d, ebx
mov rdx, qword [rdx + 8]
mov rcx, r15
mov edi, eax
mov rdx, qword [r12 + rdx + 8]
call fcn.180056ec0
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rsi + 0x3c]
test edi, edi
jns 0x180073882
lea edi, [rdx - 1]
mov rax, qword [rsi]
cmp byte [rax + 0x55], 0
je 0x1800738ab
lea rax, [0x1802f0540]
mov dword [rax + 8], edx
jmp 0x180073a36
cmp ebx, 0xa
jne 0x180073802
mov ebx, r9d
jmp 0x180073811
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x180073a36
movsxd rcx, dword [rsi + 0x3c]
lea edx, [rbp + rax + 1]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x1800738f5
mov r9d, dword [rsp + 0x198]
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov edx, 0x4c
mov rcx, rsi
call fcn.18003a660
jmp 0x180073a3e
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x198]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov word [rax + rcx*8], 0x4c
mov dword [rax + rcx*8 + 8], edx
jmp 0x180073a47
mov rax, qword [r15 + 0x1c8]
mov rcx, r15
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
mov r9, qword [rdx + 8]
mov r8, qword [rdx]
lea rdx, str._s._s
mov r9, qword [r12 + r9]
mov rcx, rdi
call fcn.180019420
movsxd rdx, dword [rsi + 0x3c]
mov rdi, rax
mov eax, dword [rsp + 0x178]
lea r8d, [rbp + rax + 1]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x64], edx
jg 0x180073996
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov edx, shutdown
mov r8d, 0x513
mov rcx, rsi
call fcn.18003a660
mov edx, eax
jmp 0x1800739c9
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 0x513
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], 0
mov word [rax + rcx*8], shutdown
mov rcx, qword [rsi]
cmp byte [rcx + 0x55], 0
je 0x1800739df
mov r8, rdi
or edx, 0xffffffff
call fcn.18003b100
jmp 0x180073a1c
test edx, edx
jns 0x1800739e8
mov edx, dword [rsi + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180073a0f
or r9d, 0xffffffff
mov r8, rdi
mov rcx, rsi
call fcn.18003b3c0
jmp 0x180073a1c
test rdi, rdi
je 0x180073a1c
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xff
mov rax, qword [rsi]
cmp byte [rax + 0x55], 0
jne 0x180073a36
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 - 0x15], 1
mov rdi, qword [rsp + 0xb8]
mov r9d, 2
xor r8d, r8d
mov rdx, qword [rsp + 0x158]
movzx ecx, byte [rsp + 0x190]
inc r13
inc ebp
add r12, 0x20
cmp r13, r14
jl 0x1800737c0
mov r12, qword [rsp + 0x158]
mov r14, qword [r12 + 0x30]
movzx ebx, byte [rsp + 0x188]
mov r13d, dword [rsp + 0x178]
test r14, r14
je 0x180073cd3
test dword [rdi + 0x2c], 0x2000
jne 0x180073cd3
lea eax, [r13 + 1]
movzx ebp, cl
mov dword [r15 + 0x70], eax
cmp cl, 0xa
jne 0x180073aaf
mov ebp, r9d
cmp dword [r14], 0
mov r15d, r8d
jle 0x180073ccb
mov r13, r8
lea rdx, [0x180073660]
nop word [rax + rax]
mov rax, qword [r14 + 8]
mov rcx, qword [rsp + 0x1a8]
mov r12, qword [r13 + rax]
test rcx, rcx
je 0x180073b5a
xor eax, eax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0xec], al
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
test r12, r12
je 0x180073b4c
lea rcx, [rsp + 0xc8]
mov rdx, r12
call fcn.18004e050
movzx eax, byte [rsp + 0xec]
test bl, bl
jne 0x180073b52
and al, 0xfd
test al, al
je 0x180073ca4
mov rdi, qword [rsi + 0x30]
movsxd rbx, dword [rdi + 0x80]
lea eax, [rbx + 1]
mov dword [rdi + 0x80], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x180073b96
mov rdx, qword [rdi + 0x88]
mov rcx, qword [rdi]
lea eax, [rbx + rbx + 1]
movsxd r8, eax
shl r8, 2
call fcn.180017710
mov qword [rdi + 0x88], rax
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x180073ba8
or edx, 0xffffffff
mov dword [rcx + rbx*4], edx
or edi, 0xffffffff
mov r9d, reloc.WS2_32.dll_recv
mov rdx, r12
sub edi, ebx
mov rbx, qword [rsp + 0x150]
mov rcx, rbx
mov r8d, edi
call fcn.180057460
cmp ebp, 4
jne 0x180073c33
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180073bfb
mov r9d, dword [rsp + 0x198]
lea edx, [rbp + 9]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], 0
call fcn.18003a660
jmp 0x180073c71
mov edx, dword [rsp + 0x198]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
xor r8d, r8d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov word [rax + rcx*8], select
jmp 0x180073c71
mov rax, qword [r14 + 8]
mov r9, qword [r13 + rax + 8]
test r9, r9
jne 0x180073c4c
mov rax, qword [rsp + 0x158]
mov r9, qword [rax]
cmp ebp, 5
mov eax, 2
mov edx, 0x113
cmove ebp, eax
mov rcx, rbx
mov byte [rsp + 0x28], 3
mov r8d, ebp
mov byte [rsp + 0x20], 0
call fcn.1800653f0
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180073c94
movsxd rax, edi
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rsi + 0x3c]
movzx ebx, byte [rsp + 0x188]
dec eax
mov dword [rdx + 0x6c], eax
inc r15d
add r13, 0x28
lea rdx, [0x180073660]
cmp r15d, dword [r14]
jl 0x180073ad0
mov r12, qword [rsp + 0x158]
mov r13d, dword [rsp + 0x178]
mov r15, qword [rsp + 0x150]
test bl, bl
je 0x1800741f2
cmp qword [rsp + 0x88], 0
jne 0x1800741f2
mov rdi, qword [rsi + 0x30]
movsxd rbx, dword [rdi + 0x80]
lea eax, [rbx + 1]
mov dword [rdi + 0x80], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x180073d26
mov rdx, qword [rdi + 0x88]
mov rcx, qword [rdi]
lea eax, [rbx + rbx + 1]
movsxd r8, eax
shl r8, 2
call fcn.180017710
mov qword [rdi + 0x88], rax
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x180073d38
or edx, 0xffffffff
mov dword [rcx + rbx*4], edx
movzx edi, byte [rsp + 0x190]
or ebp, 0xffffffff
sub ebp, ebx
movzx ebx, byte [r12 + 0x47]
cmp dil, 0xa
je 0x180073d57
movzx ebx, dil
jmp 0x180073d62
cmp ebx, 0xa
mov eax, 2
cmove ebx, eax
cmp byte [rsp + 0x60], 0
je 0x180073de6
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180073d96
mov eax, dword [rsp + 0x180]
mov r9d, ebp
mov r8d, r13d
mov edx, 0x4f
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18003a660
jmp 0x180073dcc
mov edx, dword [rsp + 0x180]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], 0
mov word [rax + rcx*8], 0x4f
mov rax, qword [rsi]
cmp byte [rax + 0x55], 0
jne 0x180073de6
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 - 0x15], 0x90
cmp ebx, 5
jne 0x180073e7b
cmp dil, bl
je 0x180073e7b
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x180073e7b
movzx ecx, byte [rax + 0x62]
cmp cl, 4
je 0x180073e1b
cmp cl, 3
je 0x180073e1b
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x180073e02
jmp 0x180073e7b
movsxd rdx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
mov dword [rsp + 0x80], edx
cmp dword [rax + 0x64], edx
jg 0x180073e52
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0xd]
mov dword [rsp + 0x20], 0
call fcn.18003a660
mov dword [rsp + 0x80], eax
jmp 0x180073e7b
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
xor edx, edx
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], rdx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov word [rax + rcx*8], select
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
mov r14d, dword [rsp + 0x168]
cmp dword [rax + 0x64], ecx
jg 0x180073ead
mov r9d, ebp
mov r8d, r14d
mov edx, 0x46
mov rcx, rsi
mov dword [rsp + 0x20], r13d
call fcn.18003a660
xor r9d, r9d
jmp 0x180073edc
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r9d, r9d
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x46
test ebx, ebx
jle 0x1800740b0
cmp ebx, 3
jle 0x1800740b7
cmp ebx, 4
je 0x18007404d
cmp ebx, 5
jne 0x1800740b0
mov rax, qword [rsp + 0xb8]
mov rdi, r9
test dword [rax + 0x2c], 0x40000
je 0x180073f63
mov rax, qword [r15]
mov ebx, r9d
mov r8, r9
test dword [rax + 0x2c], 0x800000
je 0x180073f36
mov rdx, r12
mov rcx, r15
call fcn.18008b3a0
xor r9d, r9d
mov r8, rax
mov rdx, r8
test r8, r8
je 0x180073f55
nop
cmp byte [rdx + 0x10], 0x6d
jne 0x180073f4c
movzx ecx, byte [rdx + 0x11]
or ebx, ecx
mov rdx, qword [rdx + 0x40]
test rdx, rdx
jne 0x180073f40
test ebx, ebx
mov rdi, r9
cmovne rdi, r8
test rdi, rdi
jne 0x180073f9e
mov rax, qword [r15]
test dword [rax + 0x2c], 0x80000
je 0x180074000
mov rcx, qword [r12 + 0x68]
mov rdx, qword [r12]
lea r8, [rsp + 0x74]
add rcx, 0x50
call fcn.18001bad0
test rax, rax
je 0x180073f96
cmp qword [rax + 0x10], 0
jne 0x180073f9e
cmp qword [r12 + 0x20], 0
je 0x180073ffd
mov rax, qword [r15 + 0x1c8]
mov rcx, r15
mov ebx, 1
test rax, rax
mov r9d, r14d
mov r8, rdi
cmovne rcx, rax
or eax, 0xffffffff
mov rdx, r12
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x170]
mov byte [rsp + 0x48], 1
mov byte [rsp + 0x40], 5
mov byte [rsp + 0x38], 0
mov byte [rcx + 0x20], 1
mov word [rsp + 0x30], bx
mov rcx, r15
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call fcn.180069300
mov dword [rsp + 0x7c], ebx
jmp 0x180074116
xor r9d, r9d
cmp qword [r12 + 0x10], 0
je 0x18007403f
mov rax, qword [r15 + 0x1c8]
mov rcx, r15
mov r8d, r14d
test rax, rax
mov rdx, r12
cmovne rcx, rax
or eax, 0xffffffff
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, dword [rsp + 0x170]
mov byte [rcx + 0x20], 1
mov rcx, r15
call fcn.180069960
mov ebx, 1
mov dword [rsp + 0x7c], ebx
jmp 0x180074116
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18007407b
xor r8d, r8d
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x198]
lea edx, [r8 + 0xd]
mov rcx, rsi
call fcn.18003a660
jmp 0x180074116
mov edx, dword [rsp + 0x198]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r9d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], select
jmp 0x180074119
mov eax, 2
mov ebx, eax
movzx eax, word [r12 + 0x3c]
mov r8, qword [r12]
mov rcx, qword [r15]
test ax, ax
js 0x1800740ed
mov r9, qword [r12 + 8]
movsx rax, ax
lea rdx, str._s._s
shl rax, 5
mov r9, qword [rax + r9]
call fcn.180019420
mov edx, 0x613
jmp 0x1800740fe
lea rdx, str._s.rowid
call fcn.180019420
mov edx, 0xa13
mov r9, rax
mov r8d, ebx
mov rcx, r15
mov byte [rsp + 0x28], 2
mov byte [rsp + 0x20], 0xff
call fcn.1800653f0
xor r9d, r9d
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18007413c
movsxd rax, ebp
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rsi + 0x3c]
mov ebx, dword [rsp + 0x80]
dec eax
mov dword [rdx + 0x6c], eax
test ebx, ebx
je 0x1800741f2
movsxd r8, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
mov dword [rsp + 0x98], r8d
cmp dword [rax + 0x64], r8d
jg 0x180074189
mov dword [rsp + 0x20], r9d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xd]
mov rcx, rsi
call fcn.18003a660
mov dword [rsp + 0x98], eax
jmp 0x1800741b6
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], select
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rsi + 0x3c]
mov ecx, ebx
test ebx, ebx
jns 0x1800741ce
lea ecx, [rdx - 1]
mov rax, qword [rsi]
cmp byte [rax + 0x55], 0
je 0x1800741e0
lea rax, [0x1802f0540]
jmp 0x1800741ef
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rbp, qword [r12 + 0x10]
xor r11d, r11d
mov dword [rsp + 0x64], r11d
mov qword [rsp + 0x90], rbp
mov r14d, r11d
mov qword [rsp + 0xa0], r11
test rbp, rbp
je 0x180074f16
mov rcx, qword [rsp + 0x160]
mov eax, r11d
nop word [rax + rax]
cmp dword [rcx + r14*4], 0
je 0x180074ee8
cmp byte [rsp + 0x61], 0
jne 0x18007425a
lea r8d, [r13 + 1]
mov rdx, r12
mov rcx, rsi
call fcn.180071640
mov eax, dword [rsp + 0x64]
mov byte [rsp + 0x61], 1
mov rdi, qword [rsi + 0x30]
mov ecx, dword [rsp + 0x170]
movsxd rbx, dword [rdi + 0x80]
lea r12d, [rax + rcx]
lea eax, [rbx + 1]
mov dword [rsp + 0x74], r12d
mov dword [rdi + 0x80], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x1800742a6
mov rdx, qword [rdi + 0x88]
mov rcx, qword [rdi]
lea eax, [rbx + rbx + 1]
movsxd r8, eax
shl r8, 2
call fcn.180017710
mov qword [rdi + 0x88], rax
mov rcx, qword [rdi + 0x88]
or r9d, 0xffffffff
test rcx, rcx
je 0x1800742ba
mov dword [rcx + rbx*4], r9d
mov r13d, r9d
sub r13d, ebx
cmp qword [rbp + 0x48], 0
mov dword [rsp + 0x78], r13d
je 0x18007438b
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rsi + 0x3c]
mov edx, dword [rax + r14*4]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x180074305
xor r8d, r8d
mov r9d, edx
mov rcx, rsi
lea edx, [r8 + 0x19]
mov dword [rsp + 0x20], 0
call fcn.18003a660
jmp 0x180074334
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r8d, r8d
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov word [rax + rcx*8], 0x19
mov eax, dword [rsp + 0x178]
mov rbx, qword [r15]
xor r9d, r9d
inc eax
xor r8d, r8d
mov rcx, rbx
mov dword [r15 + 0x70], eax
mov rdx, qword [rbp + 0x48]
call fcn.180052130
cmp byte [rbx + 0x55], 0
mov rdi, rax
jne 0x180074373
mov r9d, reloc.WS2_32.dll_recv
mov r8d, r13d
mov rdx, rax
mov rcx, r15
call fcn.180057850
mov rdx, rdi
mov rcx, rbx
call fcn.180051f60
xor r11d, r11d
or r9d, 0xffffffff
mov dword [r15 + 0x70], r11d
jmp 0x18007438e
xor r11d, r11d
movzx ecx, word [rbp + 0x60]
mov edx, dword [r15 + 0x48]
mov r14d, dword [r15 + 0x4c]
mov dword [rsp + 0x70], r14d
cmp ecx, edx
jg 0x1800743b3
lea eax, [rcx + r14]
sub edx, ecx
mov dword [r15 + 0x4c], eax
mov dword [r15 + 0x48], edx
jmp 0x1800743c6
mov eax, dword [r15 + 0x58]
lea r14d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x70], r14d
mov dword [r15 + 0x58], eax
cmp r11w, word [rbp + 0x60]
jae 0x18007451a
mov ebx, r14d
mov r13, r11
mov r12, r11
neg r14d
nop dword [rax]
mov rax, qword [rbp + 8]
movsx ecx, word [rax + r12]
cmp ecx, 0xfffffffe
jne 0x18007444f
mov eax, dword [rsp + 0x178]
xor r9d, r9d
xor r8d, r8d
inc eax
mov dword [r15 + 0x70], eax
mov rax, qword [rbp + 0x50]
mov rbp, qword [r15]
mov rcx, qword [rax + 8]
mov rdx, qword [r13 + rcx]
mov rcx, rbp
call fcn.180052130
cmp byte [rbp + 0x55], 0
mov rdi, rax
jne 0x180074430
mov r8d, ebx
mov rdx, rax
mov rcx, r15
call fcn.180056ec0
mov rdx, rdi
mov rcx, rbp
call fcn.180051f60
mov rbp, qword [rsp + 0x90]
xor r11d, r11d
mov dword [r15 + 0x70], r11d
jmp 0x1800744f0
cmp ecx, 0xffffffff
je 0x180074472
mov rax, qword [rsp + 0x158]
movsx eax, word [rax + 0x3c]
cmp ecx, eax
je 0x180074472
mov eax, dword [rsp + 0x178]
lea r8d, [rcx + rax + 1]
jmp 0x180074495
cmp dword [rsp + 0xac], ebx
je 0x1800744f0
cmp qword [rbp + 0x48], 0
mov r8d, dword [rsp + 0x178]
mov eax, ebx
cmovne eax, r9d
mov dword [rsp + 0xac], eax
mov rax, qword [rsi + 0x30]
test ecx, ecx
movsxd rcx, dword [rsi + 0x3c]
mov edx, r11d
sets dl
add edx, 0x1f
cmp dword [rax + 0x64], ecx
jg 0x1800744c2
mov r9d, ebx
mov rcx, rsi
mov dword [rsp + 0x20], r11d
call fcn.18003a660
xor r11d, r11d
jmp 0x1800744f0
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], 0
movzx eax, word [rbp + 0x60]
inc ebx
add r12, 2
lea ecx, [r14 + rbx]
add r13, 0x28
mov r9d, 0xffffffff
cmp ecx, eax
jl 0x1800743e0
mov r12d, dword [rsp + 0x74]
mov r13d, dword [rsp + 0x78]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x160]
movzx r8d, word [rbp + 0x60]
mov edx, dword [rcx + rax*4]
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
mov r14d, dword [rsp + 0x70]
cmp dword [rax + 0x64], ecx
jg 0x180074560
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov rcx, rsi
mov r8d, r14d
mov edx, gethostbyaddr
call fcn.18003a660
xor r11d, r11d
jmp 0x18007458c
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], gethostbyaddr
movzx eax, word [rbp + 0x60]
lea rcx, [r15 + 0x9c]
mov r8d, 0xa
lea r9d, [rax + r14 - 1]
mov edx, dword [rcx]
cmp edx, r14d
jl 0x1800745d0
cmp edx, r9d
jg 0x1800745d0
cmp byte [rcx - 6], 0
je 0x1800745cd
movzx eax, byte [r15 + 0x1f]
cmp al, 8
jae 0x1800745c9
movzx eax, al
mov dword [r15 + rax*4 + 0x28], edx
inc byte [r15 + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r11d
add rcx, 0x14
dec r8
jne 0x1800745a2
cmp byte [rsp + 0x60], r8b
je 0x18007462c
cmp qword [rsp + 0x88], rbp
jne 0x18007462c
cmp byte [rsp + 0x188], r8b
jne 0x18007462c
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180074617
movsxd rax, r13d
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rsi + 0x3c]
mov r12, qword [rsp + 0x158]
dec eax
mov dword [rdx + 0x6c], eax
jmp 0x180074ed4
movzx edi, byte [rbp + 0x62]
test edi, edi
jne 0x1800746d1
movzx r10d, word [rbp + 0x60]
lea rcx, [r15 + 0x9c]
lea r8d, [rdi + 0xa]
lea r9d, [r14 + r10 - 1]
nop dword [rax]
mov edx, dword [rcx]
cmp edx, r14d
jl 0x18007467e
cmp edx, r9d
jg 0x18007467e
cmp byte [rcx - 6], 0
je 0x18007467b
movzx eax, byte [r15 + 0x1f]
cmp al, 8
jae 0x180074677
movzx eax, al
mov dword [r15 + rax*4 + 0x28], edx
inc byte [r15 + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r11d
add rcx, 0x14
dec r8
jne 0x180074650
cmp r10d, dword [r15 + 0x48]
jle 0x180074695
mov dword [r15 + 0x48], r10d
mov dword [r15 + 0x4c], r14d
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180074617
mov r12, qword [rsp + 0x158]
movsxd rax, r13d
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
jmp 0x180074ed4
movzx eax, byte [rsp + 0x190]
cmp al, 0xa
je 0x1800746e2
movzx edi, al
jmp 0x1800746ed
cmp edi, 0xa
mov eax, 2
cmove edi, eax
mov rax, qword [rsi + 0x30]
movsxd rdx, dword [rsi + 0x3c]
movzx ebx, word [rbp + 0x5e]
mov dword [rsp + 0x74], edi
cmp dword [rax + 0x64], edx
jg 0x18007471e
mov r9d, r13d
mov r8d, r12d
mov edx, 0x43
mov rcx, rsi
mov dword [rsp + 0x20], r14d
call fcn.18003a660
mov edx, eax
jmp 0x18007474b
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], 0x43
mov rcx, qword [rsi]
mov r8, rbx
cmp byte [rcx + 0x55], 0
je 0x180074763
mov edx, 0xfffffff2
call fcn.18003b100
jmp 0x180074799
test edx, edx
jns 0x18007476c
mov edx, dword [rsi + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180074792
mov r9d, 0xfffffff2
mov rcx, rsi
call fcn.18003b3c0
jmp 0x180074799
mov dword [rdx + 0x10], ebx
mov byte [rdx + 1], 0xf2
mov rbx, qword [rsp + 0x88]
cmp rbp, rbx
jne 0x1800747b0
mov r13d, r14d
mov dword [rsp + 0x68], r14d
jmp 0x1800747e9
mov ecx, dword [r15 + 0x48]
mov edx, dword [rsp + 0x6c]
mov r13d, dword [r15 + 0x4c]
mov dword [rsp + 0x68], r13d
cmp edx, ecx
jg 0x1800747d6
lea eax, [r13 + rdx]
sub ecx, edx
mov dword [r15 + 0x4c], eax
mov dword [r15 + 0x48], ecx
jmp 0x1800747e9
mov eax, dword [r15 + 0x58]
lea r13d, [rax + 1]
add eax, edx
mov dword [rsp + 0x68], r13d
mov dword [r15 + 0x58], eax
cmp byte [rsp + 0x60], 0
jne 0x1800747f9
cmp edi, 5
jne 0x180074c28
mov rax, qword [rsp + 0x158]
test byte [rax + 0x46], 0x20
jne 0x1800748fa
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180074834
xor eax, eax
mov r9d, r13d
mov r8d, r12d
lea edx, [rax + 0x71]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18003a660
xor r8d, r8d
jmp 0x180074864
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r8d, r8d
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov word [rax + rcx*8], WSAStartup
cmp byte [rsp + 0x60], 0
je 0x180074c28
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18007489e
mov eax, dword [rsp + 0x180]
mov r9d, dword [rsp + 0x78]
mov r8d, r13d
mov edx, 0x4f
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18003a660
jmp 0x1800748d4
mov edx, dword [rsp + 0x78]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0x180]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov qword [rax + rcx*8 + 0x10], r8
mov word [rax + rcx*8], 0x4f
mov dword [rax + rcx*8 + 0xc], edx
mov rax, qword [rsi]
xor r11d, r11d
cmp byte [rax + 0x55], r11b
jne 0x180074c2b
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 - 0x15], 0x90
jmp 0x180074c2b
cmp rbp, rbx
je 0x1800749f4
xor r10d, r10d
cmp r10w, word [rbx + 0x5e]
jae 0x1800749f4
mov r14, qword [rsp + 0x90]
mov r15, qword [rsp + 0x88]
mov ebp, r13d
neg ebp
mov ebx, r13d
mov edi, r10d
or r13d, 0xffffffff
movzx edx, word [r14 + 0x60]
mov ecx, r10d
test edx, edx
jle 0x180074960
mov rax, qword [r15 + 8]
mov r8, qword [r14 + 8]
movzx r9d, word [rdi + rax]
nop dword [rax]
movsxd rax, ecx
cmp r9w, word [r8 + rax*2]
je 0x180074964
inc ecx
cmp ecx, edx
jl 0x180074950
movzx ecx, r13w
mov rax, qword [rsi + 0x30]
movsx edx, cx
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180074990
mov r9d, edx
mov r8d, r12d
mov rcx, rsi
mov edx, gethostbyaddr
mov dword [rsp + 0x20], ebx
call fcn.18003a660
xor r10d, r10d
jmp 0x1800749bb
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], r10
mov word [rax + rcx*8], gethostbyaddr
movzx eax, word [r15 + 0x5e]
inc ebx
add rdi, 2
lea ecx, [rbp + rbx]
cmp ecx, eax
jl 0x180074930
mov r15, qword [rsp + 0x150]
mov r13d, dword [rsp + 0x68]
mov r14d, dword [rsp + 0x70]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
cmp byte [rsp + 0x60], 0
je 0x180074c28
movzx ecx, word [rbx + 0x5e]
mov eax, dword [rsi + 0x3c]
mov dword [rsp + 0xa8], 0x4e
lea edx, [rcx + rax]
mov eax, dword [rbp + 0x64]
and al, 3
mov dword [rsp + 0xb0], edx
mov edx, r13d
cmp al, 2
cmove edx, r14d
xor r11d, r11d
mov r13d, r11d
mov dword [rsp + 0xc0], edx
test ecx, ecx
jle 0x180074c2b
mov r14d, r11d
mov r15d, r11d
nop word [rax + rax]
mov rax, qword [rbx + 0x40]
mov r10, qword [rsp + 0x150]
mov rbp, qword [r15 + rax]
mov rax, qword [r10]
movzx r12d, byte [rax + 0x52]
movzx ebx, byte [rax + 0xa5]
test rbp, rbp
je 0x180074a90
movzx r8d, bl
mov rdx, rbp
mov rcx, rax
call fcn.180066590
mov r10, qword [rsp + 0x150]
mov rdi, rax
jmp 0x180074a94
mov rdi, qword [rax + 0x10]
test rdi, rdi
je 0x180074aa9
movzx eax, r12b
dec eax
cdqe
lea rcx, [rax + rax*4]
lea rdi, [rdi + rcx*8]
test bl, bl
jne 0x180074ace
test rdi, rdi
je 0x180074ab9
cmp qword [rdi + 0x18], 0
jne 0x180074ace
mov r9, rbp
mov r8, rdi
movzx edx, r12b
mov rcx, r10
call fcn.180066480
mov rdi, rax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rbx + 8]
movsx edx, word [rcx + r14]
movzx ecx, word [rbx + 0x5e]
dec ecx
cmp r13d, ecx
jne 0x180074b07
mov r10d, dword [rsp + 0x78]
mov r11d, 0x4f
mov dword [rsp + 0xb0], r10d
mov dword [rsp + 0xa8], r11d
jmp 0x180074b17
mov r10d, dword [rsp + 0xb0]
mov r11d, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0x180]
mov rax, qword [rsi + 0x30]
movsxd r9, dword [rsi + 0x3c]
inc r8d
add r8d, edx
cmp dword [rax + 0x64], r9d
jg 0x180074b54
mov eax, dword [rsp + 0xc0]
mov r9d, r10d
mov edx, r11d
add eax, r13d
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18003a660
mov r9d, eax
jmp 0x180074b8f
mov rcx, qword [rsi + 8]
lea rdx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rsi + 0x3c], eax
mov eax, dword [rsp + 0xc0]
mov byte [rcx + rdx*8], r11b
add eax, r13d
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], r8d
mov dword [rcx + rdx*8 + 0xc], eax
xor eax, eax
mov dword [rcx + rdx*8 + 8], r10d
mov qword [rcx + rdx*8 + 0x10], rax
mov byte [rcx + rdx*8 + 1], al
mov rcx, qword [rsi]
cmp byte [rcx + 0x55], 0
je 0x180074ba7
mov r8, rdi
mov edx, 0xfffffffc
call fcn.18003b100
jmp 0x180074be9
test r9d, r9d
jns 0x180074bb3
mov r9d, dword [rsi + 0x3c]
dec r9d
movsxd rax, r9d
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180074bdc
mov r9d, 0xfffffffc
mov r8, rdi
mov rcx, rsi
call fcn.18003b3c0
jmp 0x180074be9
test rdi, rdi
je 0x180074be9
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xfc
mov rax, qword [rsi]
cmp byte [rax + 0x55], 0
jne 0x180074c03
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 - 0x15], 0x90
movzx eax, word [rbx + 0x5e]
inc r13d
add r15, 8
add r14, 2
cmp r13d, eax
jl 0x180074a50
mov r15, qword [rsp + 0x150]
mov r14d, dword [rsp + 0x70]
xor r11d, r11d
mov edx, dword [rsp + 0x74]
test edx, edx
jle 0x180074d07
cmp edx, 3
jle 0x180074cdf
cmp edx, 4
jne 0x180074d07
mov rax, qword [rsi + 0x30]
movsxd rcx, dword [rsi + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180074c8f
mov r9d, dword [rsp + 0x198]
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], r11d
call fcn.18003a660
mov ebx, dword [rsp + 0x68]
mov rbp, qword [rsp + 0x90]
mov r12, qword [rsp + 0x158]
mov edi, dword [rsp + 0x6c]
jmp 0x180074de5
mov edx, dword [rsp + 0x198]
mov ebx, dword [rsp + 0x68]
mov rbp, qword [rsp + 0x90]
mov r12, qword [rsp + 0x158]
mov edi, dword [rsp + 0x6c]
lea eax, [rcx + 1]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r11d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], select
jmp 0x180074de8
mov rbp, qword [rsp + 0x90]
mov rcx, r15
mov r8, rbp
call fcn.180065510
mov ebx, dword [rsp + 0x68]
mov r12, qword [rsp + 0x158]
mov edi, dword [rsp + 0x6c]
jmp 0x180074de5
mov rax, qword [r15 + 0x1c8]
mov rcx, r15
mov r8, r11
test rax, rax
cmovne rcx, rax
mov rax, qword [rsp + 0xb8]
mov byte [rcx + 0x20], 1
test dword [rax + 0x2c], 0x40000
je 0x180074d7e
mov rax, qword [r15]
mov ebx, r11d
mov r9, r11
test dword [rax + 0x2c], 0x800000
je 0x180074d58
mov rdx, qword [rsp + 0x158]
mov rcx, r15
call fcn.18008b3a0
xor r11d, r11d
mov r9, rax
mov rdx, r9
test r9, r9
je 0x180074d75
cmp byte [rdx + 0x10], 0x6d
jne 0x180074d6c
movzx ecx, byte [rdx + 0x11]
or ebx, ecx
mov rdx, qword [rdx + 0x40]
test rdx, rdx
jne 0x180074d60
mov r8, r11
test ebx, ebx
cmovne r8, r9
mov rbp, qword [rsp + 0x90]
mov edi, dword [rsp + 0x6c]
mov r12, qword [rsp + 0x158]
cmp rbp, qword [rsp + 0x88]
mov ebx, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x168]
sete al
or edx, 0xffffffff
mov rcx, r15
mov dword [rsp + 0x50], edx
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x170]
mov byte [rsp + 0x40], 5
mov byte [rsp + 0x38], 0
mov word [rsp + 0x30], di
mov rdx, r12
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call fcn.180069300
mov dword [rsp + 0x7c], 1
xor r11d, r11d
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180074e0d
movsxd rax, dword [rsp + 0x78]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [rcx], eax
mov eax, dword [rsi + 0x3c]
lea rcx, [r15 + 0x9c]
mov r8d, 0xa
dec eax
mov dword [rdx + 0x6c], eax
movzx r10d, word [rbp + 0x60]
lea r9d, [r14 + r10 - 1]
nop dword [rax]
mov edx, dword [rcx]
cmp edx, r14d
jl 0x180074e5e
cmp edx, r9d
jg 0x180074e5e
cmp byte [rcx - 6], 0
je 0x180074e5b
movzx eax, byte [r15 + 0x1f]
cmp al, 8
jae 0x180074e57
movzx eax, al
mov dword [r15 + rax*4 + 0x28], edx
inc byte [r15 + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r11d
add rcx, 0x14
dec r8
jne 0x180074e30
cmp r10d, dword [r15 + 0x48]
jle 0x180074e75
mov dword [r15 + 0x48], r10d
mov dword [r15 + 0x4c], r14d
cmp ebx, r14d
je 0x180074ed4
lea r9d, [rbx + rdi - 1]
lea rcx, [r15 + 0x9c]
mov r8d, 0xa
nop dword [rax]
mov edx, dword [rcx]
cmp edx, ebx
jl 0x180074ebd
cmp edx, r9d
jg 0x180074ebd
cmp byte [rcx - 6], 0
je 0x180074eba
movzx eax, byte [r15 + 0x1f]
cmp al, 8
jae 0x180074eb6
movzx eax, al
mov dword [r15 + rax*4 + 0x28], edx
inc byte [r15 + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r11d
add rcx, 0x14
dec r8
jne 0x180074e90
cmp edi, dword [r15 + 0x48]
jle 0x180074ed4
mov dword [r15 + 0x48], edi
mov dword [r15 + 0x4c], ebx
mov r14, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x160]
mov rbp, qword [rbp + 0x28]
mov r13d, dword [rsp + 0x178]
inc eax
inc r14
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r14
test rbp, rbp
jne 0x180074230
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x180074fbd
movsxd rcx, dword [rsi + 0x3c]
lea r8d, [rax + 1]
mov rax, qword [rsi + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x180074f4f
mov r9d, r8d
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], r11d
call fcn.18003a660
jmp 0x180074f7c
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsi + 0x3c], eax
mov rax, qword [rsi + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r11d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], select
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov ecx, dword [rsp + 0x98]
mov edx, dword [rsi + 0x3c]
test ecx, ecx
jns 0x180074f99
lea ecx, [rdx - 1]
mov rax, qword [rsi]
cmp byte [rax + 0x55], 0
je 0x180074fab
lea rax, [0x1802f0540]
jmp 0x180074fba
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rax, qword [rsp + 0x1a0]
mov ecx, dword [rsp + 0x7c]
mov dword [rax], ecx
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret