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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x3d8
mov rax, qword [0x140292140]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov edx, 0xb0
lea rcx, [rsp + 0x100]
call fcn.14015e290
lea rcx, [rsp + 0x100]
call fcn.14014b980
nop
mov edx, 0xb0
lea rcx, [rsp + 0x1b0]
call fcn.14015e290
lea rcx, [rsp + 0x1b0]
call fcn.14014b980
nop
mov edx, 0xb0
lea rcx, [rsp + 0x260]
call fcn.14015e290
lea rcx, [rsp + 0x260]
call fcn.14014b980
nop
mov edx, 0xb0
lea rcx, [rsp + 0x310]
call fcn.14015e290
lea rcx, [rsp + 0x310]
call fcn.14014b980
nop
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x3f8]
and eax, 1
test eax, eax
je 0x1401671af
mov dword [rsp + 0x44], 1
jmp 0x1401671b7
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401671d3
mov dword [rsp + 0x48], 2
jmp 0x1401671db
mov dword [rsp + 0x48], 1
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x3f0]
cmp dword [rax + 0x10], 0
jl 0x1401672df
lea rax, [rsp + 0x90]
mov rdi, rax
mov rsi, qword [rsp + 0x3f0]
mov ecx, recvfrom
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x100]
call fcn.140118720
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0x10]
add eax, dword [rsp + 0x28]
mov edx, eax
lea rcx, [rsp + 0x100]
call fcn.140157e30
mov edx, 1
lea rcx, [rsp + 0x260]
call fcn.1401185d0
mov rax, qword [rsp + 0x3f0]
mov edx, dword [rax + 0x10]
lea rcx, [rsp + 0x260]
call fcn.140157e30
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401672b1
mov edx, 1
lea rcx, [rsp + 0x310]
call fcn.1401185d0
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0x10]
inc eax
mov edx, eax
lea rcx, [rsp + 0x310]
call fcn.140157e30
lea rax, [rsp + 0x310]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x410]
mov edx, dword [rax]
lea rcx, [rsp + 0x1b0]
call fcn.14015edf0
mov edx, dword [rsp + 0x28]
lea rcx, [rsp + 0x1b0]
call fcn.140157e30
nop
jmp 0x14016748c
mov rax, qword [rsp + 0x410]
cmp dword [rax], 0
jge 0x1401673d8
mov rax, qword [rsp + 0x410]
mov eax, dword [rax]
neg eax
mov edx, eax
lea rcx, [rsp + 0x100]
call fcn.14015edf0
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x260]
call fcn.14015ed50
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14016735e
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x310]
call fcn.14015ed50
mov edx, 1
lea rcx, [rsp + 0x310]
call fcn.140157e30
lea rax, [rsp + 0x310]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa0]
mov rdi, rax
mov rsi, qword [rsp + 0x3f0]
mov ecx, recvfrom
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x100]
call fcn.14011a260
mov edx, dword [rsp + 0x28]
lea rcx, [rsp + 0x100]
call fcn.140157e30
mov edx, 1
lea rcx, [rsp + 0x1b0]
call fcn.1401185d0
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov edx, eax
lea rcx, [rsp + 0x1b0]
call fcn.140157e30
nop
jmp 0x14016748c
lea rax, [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0x3f0]
mov ecx, recvfrom
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x100]
call fcn.140118720
mov edx, dword [rsp + 0x28]
lea rcx, [rsp + 0x100]
call fcn.140157e30
mov rax, qword [rsp + 0x410]
mov edx, dword [rax]
lea rcx, [rsp + 0x1b0]
call fcn.14015edf0
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 0x10]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov edx, eax
lea rcx, [rsp + 0x1b0]
call fcn.140157e30
mov edx, 1
lea rcx, [rsp + 0x260]
call fcn.1401185d0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14016748c
mov edx, 2
lea rcx, [rsp + 0x310]
call fcn.1401187b0
lea rax, [rsp + 0x310]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.14014d1b0
mov edx, 1
lea rcx, [rsp + 0xc0]
call fcn.14014d1b0
mov rax, qword [rsp + 0x3f0]
lea r8, [rsp + 0xc0]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140151b20
lea rdx, [rsp + 0xd0]
mov rcx, rax
call fcn.140150f80
movzx eax, al
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0x30], 0
jne 0x1401674f9
lea rax, [rsp + 0x260]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x400], 0
jge 0x14016750d
mov dword [rsp + 0x4c], 1
jmp 0x140167515
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x3f8]
and eax, 2
test eax, eax
je 0x1401675e1
lea r8, [rsp + 0x1b0]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x100]
call fcn.14015e3e0
add eax, dword [rsp + 0x40]
test eax, eax
jg 0x1401675b7
mov rax, qword [rsp + 0x410]
mov eax, dword [rax]
dec eax
mov rcx, qword [rsp + 0x410]
mov dword [rcx], eax
mov edx, 0xa
lea rcx, [rsp + 0x100]
call fcn.14011a200
nop
cmp dword [rsp + 0x400], 0
jge 0x1401675b7
mov edx, 0xa
lea rcx, [rsp + 0x260]
call fcn.14011a200
nop
lea rax, [rsp + 0x260]
cmp qword [rsp + 0x30], rax
je 0x1401675b7
mov edx, 0xa
mov rcx, qword [rsp + 0x30]
call fcn.14011a200
nop
mov eax, dword [rsp + 0x3f8]
and eax, 4
test eax, eax
je 0x1401675e1
mov rax, qword [rsp + 0x410]
mov eax, dword [rax]
inc eax
mov edx, eax
lea rcx, [rsp + 0x400]
call fcn.14015e5e0
nop
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140167841
mov dword [rsp + 0x400], 0
mov rcx, qword [rsp + 0x408]
call fcn.140160d60
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.140161350
mov dword [rsp + 0x5c], eax
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x100]
call fcn.14015ffd0
sub eax, dword [rsp + 0x40]
test eax, eax
jge 0x14016764b
mov dword [rsp + 0x50], 1
jmp 0x140167653
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x21], al
lea r8, [rsp + 0x1b0]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x100]
call fcn.14015e3e0
add eax, dword [rsp + 0x40]
test eax, eax
jle 0x140167688
mov dword [rsp + 0x54], 1
jmp 0x140167690
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x22], al
mov eax, dword [rsp + 0x5c]
add eax, 0x30
movsxd rcx, dword [rsp + 0x400]
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x400]
inc eax
mov dword [rsp + 0x400], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1401676d6
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x1401677f8
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14016770b
mov eax, dword [rsp + 0x400]
dec eax
cdqe
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
inc al
mov ecx, dword [rsp + 0x400]
dec ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx], al
jmp 0x14016777d
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14016777d
lea r8, [rsp + 0x1b0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x100]
call fcn.14015e3e0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jg 0x140167753
cmp dword [rsp + 0x58], 0
jne 0x14016777d
mov eax, dword [rsp + 0x5c]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
je 0x14016777d
mov eax, dword [rsp + 0x400]
dec eax
cdqe
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax]
inc al
mov ecx, dword [rsp + 0x400]
dec ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x68]
mov byte [rdx + rcx], al
mov ecx, dword [rsp + 0x400]
call fcn.140135470
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x408]
call fcn.14016eb10
mov eax, dword [rsp + 0x400]
dec eax
mov rcx, qword [rsp + 0x410]
mov ecx, dword [rcx]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x410]
mov dword [rcx], eax
lea rcx, [rsp + 0x310]
call fcn.140150340
nop
lea rcx, [rsp + 0x260]
call fcn.140150340
nop
lea rcx, [rsp + 0x1b0]
call fcn.140150340
nop
lea rcx, [rsp + 0x100]
call fcn.140150340
nop
jmp 0x140167bbf
mov edx, 0xa
lea rcx, [rsp + 0x100]
call fcn.14011a200
mov edx, 0xa
lea rcx, [rsp + 0x260]
call fcn.14011a200
nop
lea rax, [rsp + 0x260]
cmp qword [rsp + 0x30], rax
je 0x14016783c
mov edx, 0xa
mov rcx, qword [rsp + 0x30]
call fcn.14011a200
nop
jmp 0x14016760b
mov eax, dword [rsp + 0x400]
dec eax
mov rcx, qword [rsp + 0x410]
mov ecx, dword [rcx]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x410]
mov dword [rcx], eax
cmp dword [rsp + 0x400], 0
jg 0x14016790e
mov edx, 0xa
lea rcx, [rsp + 0x1b0]
call fcn.14011a200
lea r8, [rsp + 0x1b0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x100]
call fcn.14015e3e0
test eax, eax
jle 0x1401678aa
mov byte [rsp + 0x23], 0x31
jmp 0x1401678af
mov byte [rsp + 0x23], 0x30
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0xf0], al
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x408]
call fcn.14016c2a0
nop
lea rcx, [rsp + 0x310]
call fcn.140150340
nop
lea rcx, [rsp + 0x260]
call fcn.140150340
nop
lea rcx, [rsp + 0x1b0]
call fcn.140150340
nop
lea rcx, [rsp + 0x100]
call fcn.140150340
nop
jmp 0x140167bbf
mov ecx, dword [rsp + 0x400]
call fcn.140135470
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x408]
call fcn.14016eb10
nop
mov dword [rsp + 0x3c], 0
jmp 0x140167940
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x400]
dec eax
cmp dword [rsp + 0x3c], eax
jge 0x14016799f
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.140161350
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
add eax, 0x30
mov dword [rsp + 0x70], eax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x408]
call fcn.140118900
mov ecx, dword [rsp + 0x70]
mov byte [rax], cl
mov edx, 0xa
lea rcx, [rsp + 0x100]
call fcn.14011a200
nop
jmp 0x140167936
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.140161350
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x1b0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x100]
call fcn.14015e3e0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jg 0x1401679ff
cmp dword [rsp + 0x60], 0
jne 0x140167b5e
mov eax, dword [rsp + 0x38]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
je 0x140167b5e
cmp dword [rsp + 0x38], 9
jne 0x140167b54
mov dword [rsp + 0x88], 0x3a
mov eax, dword [rsp + 0x400]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x408]
call fcn.140118900
mov byte [rax], 0x3a
mov eax, dword [rsp + 0x400]
dec eax
mov dword [rsp + 0x2c], eax
jmp 0x140167a49
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jle 0x140167ab3
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x408]
call fcn.140118900
movsx eax, byte [rax]
cmp eax, 0x3a
jne 0x140167ab3
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x408]
call fcn.140118900
mov byte [rax], 0x30
mov eax, dword [rsp + 0x2c]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x408]
call fcn.140118900
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
inc al
mov rcx, qword [rsp + 0x80]
mov byte [rcx], al
jmp 0x140167a3f
xor edx, edx
mov rcx, qword [rsp + 0x408]
call fcn.140118900
movsx eax, byte [rax]
cmp eax, 0x3a
jne 0x140167b1a
xor edx, edx
mov rcx, qword [rsp + 0x408]
call fcn.140118900
mov byte [rax], 0x31
mov eax, dword [rsp + 0x3f8]
and eax, 4
test eax, eax
je 0x140167b04
mov byte [rsp + 0x25], 0x30
lea rdx, [rsp + 0x25]
mov rcx, qword [rsp + 0x408]
call fcn.14016c2a0
nop
jmp 0x140167b1a
mov rax, qword [rsp + 0x410]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x410]
mov dword [rcx], eax
lea rcx, [rsp + 0x310]
call fcn.140150340
nop
lea rcx, [rsp + 0x260]
call fcn.140150340
nop
lea rcx, [rsp + 0x1b0]
call fcn.140150340
nop
lea rcx, [rsp + 0x100]
call fcn.140150340
nop
jmp 0x140167bbf
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
add eax, 0x30
mov dword [rsp + 0x74], eax
mov ecx, dword [rsp + 0x400]
dec ecx
mov edx, ecx
mov rcx, qword [rsp + 0x408]
call fcn.140118900
mov ecx, dword [rsp + 0x74]
mov byte [rax], cl
lea rcx, [rsp + 0x310]
call fcn.140150340
nop
lea rcx, [rsp + 0x260]
call fcn.140150340
nop
lea rcx, [rsp + 0x1b0]
call fcn.140150340
nop
lea rcx, [rsp + 0x100]
call fcn.140150340
nop
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.1401e9b40
add rsp, 0x3d8
pop rdi
pop rsi
ret