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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x238
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x1a0]
call fcn.140028c70
lea rax, [0x14017a6c8]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x258]
mov qword [rax], rcx
mov rax, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x258]
mov qword [rax], rcx
movsxd rax, dword [rsp + 0x260]
mov rcx, qword [rsp + 0x258]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x1f0]
mov dword [rcx], eax
mov r8d, 1
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0xd0]
call fcn.140028780
nop
mov rax, qword [rsp + 0x250]
movzx eax, byte [rax]
test eax, eax
je 0x1401593ff
mov rax, qword [rsp + 0x250]
add rax, 0x2c8
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14002ea60
mov rax, qword [rsp + 0xd0]
movsxd rax, dword [rax + 4]
mov eax, dword [rsp + rax + 0xe0]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
and eax, 4
test eax, eax
je 0x14015912b
mov byte [rsp + 0x20], 1
jmp 0x140159130
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14015914e
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 8
je 0x14015918b
mov byte [rsp + 0x24], 0
lea rax, [rsp + 0xf0]
mov rcx, rax
call fcn.140029ba0
lea rax, [rsp + 0xf0]
mov rcx, rax
call fcn.140029b60
nop
lea rcx, [rsp + 0x1a0]
call fcn.140029e00
movzx eax, byte [rsp + 0x24]
jmp 0x1401596d0
lea rax, [rsp + 0x150]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.140028640
nop
lea rax, [rsp + 0x34]
mov qword [rsp + 0x190], rax
lea rcx, [rsp + 0x150]
call fcn.14002cd90
mov rax, qword [rsp + 0x250]
add rax, 0x2c8
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14002cf80
nop
lea rax, [rsp + 0x150]
mov qword [rsp + 0x88], rax
mov rdx, qword [str.Salted__]
mov rcx, qword [rsp + 0x88]
call fcn.140027790
mov byte [rsp + 0x25], al
lea rcx, [rsp + 0x150]
call fcn.14002ccc0
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140159266
mov byte [rsp + 0x26], 0
lea rax, [rsp + 0xf0]
mov rcx, rax
call fcn.140029ba0
lea rax, [rsp + 0xf0]
mov rcx, rax
call fcn.140029b60
nop
lea rcx, [rsp + 0x1a0]
call fcn.140029e00
movzx eax, byte [rsp + 0x26]
jmp 0x1401596d0
mov rax, qword [rsp + 0x250]
add rax, 0x2c8
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14002ea60
mov rax, qword [rsp + 0xd0]
movsxd rax, dword [rax + 4]
mov eax, dword [rsp + rax + 0xe0]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
and eax, 4
test eax, eax
je 0x1401592b3
mov byte [rsp + 0x21], 1
jmp 0x1401592b8
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1401592dc
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 8
je 0x14015933e
mov byte [rsp + 0x27], 0
lea rax, [rsp + 0xf0]
mov rcx, rax
call fcn.140029ba0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
lea rcx, [0x14017a6b0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x58]
lea rcx, [0x14017a660]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x58]
call fcn.1400417cc
nop
lea rcx, [rsp + 0x1a0]
call fcn.140029e00
movzx eax, byte [rsp + 0x27]
jmp 0x1401596d0
lea rax, [rsp + 0x170]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, rax
call fcn.140028640
nop
lea rax, [rsp + 0x35]
mov qword [rsp + 0x198], rax
lea rcx, [rsp + 0x170]
call fcn.14002cd90
mov rax, qword [rsp + 0x250]
add rax, 0x2c8
mov r8d, 8
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.14002cf80
nop
lea rax, [rsp + 0x210]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0xa0]
call fcn.140028dd0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x250]
add rax, 0xa0
mov r8, qword [rsp + 0xa8]
mov rdx, rax
mov rcx, qword [rsp + 0x250]
call fcn.14001f3a0
nop
lea rcx, [rsp + 0x170]
call fcn.14002ccc0
mov rax, qword [rsp + 0x250]
add rax, 0x2c8
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14002ea60
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x2c], 0
jle 0x140159665
mov rax, qword [rsp + 0xd0]
movsxd rax, dword [rax + 4]
mov eax, dword [rsp + rax + 0xe0]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
and eax, 4
test eax, eax
je 0x14015947a
mov byte [rsp + 0x22], 1
jmp 0x14015947f
mov byte [rsp + 0x22], 0
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x1401594ea
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0xf0]
mov rcx, rax
call fcn.140029ba0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
lea rcx, [0x14017a6b0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
lea rcx, [0x14017a660]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x60]
call fcn.1400417cc
nop
lea rcx, [rsp + 0x1a0]
call fcn.140029e00
movzx eax, byte [rsp + 0x28]
jmp 0x1401596d0
cmp dword [rsp + 0x2c], 0x10
jge 0x1401594f6
jmp 0x140159665
mov rax, qword [rsp + 0x250]
add rax, 0x1d4
mov rcx, qword [rsp + 0x250]
add rcx, 0x2d8
mov rdx, qword [rsp + 0x250]
add rdx, 0x2c8
mov qword [rsp + 0xb8], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xb8]
mov rcx, rax
call fcn.140171d40
mov rax, qword [rsp + 0x250]
add rax, 0x2c8
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14002ea60
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x44], reloc.WS2_32.dll_recv
cmp dword [rsp + 0x2c], 0
jne 0x14015961e
mov eax, 1
imul rax, rax, 0xf
mov rcx, qword [rsp + 0x250]
movsx eax, byte [rcx + rax + 0x2d8]
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x23], 1
mov dword [rsp + 0x3c], reloc.WS2_32.dll_recv
mov dword [rsp + 0x38], 0
jmp 0x1401595d0
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x38], eax
jge 0x140159608
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x250]
movsx eax, byte [rcx + rax + 0x2d8]
cmp eax, dword [rsp + 0x40]
je 0x140159606
mov byte [rsp + 0x23], 0
jmp 0x140159608
jmp 0x1401595c6
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x14015961e
mov eax, reloc.WS2_32.dll_recv
sub eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x250]
add rcx, 0x2d8
movsxd rdx, dword [rsp + 0x30]
mov r8, qword [rsp + 0x268]
add r8, rdx
mov rdx, r8
mov rdi, rdx
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x140159446
mov rax, qword [rsp + 0x270]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov byte [rsp + 0x29], 1
lea rax, [rsp + 0xf0]
mov rcx, rax
call fcn.140029ba0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
lea rcx, [0x14017a6b0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x68]
lea rcx, [0x14017a660]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x68]
call fcn.1400417cc
nop
lea rcx, [rsp + 0x1a0]
call fcn.140029e00
movzx eax, byte [rsp + 0x29]
add rsp, 0x238
pop rdi
pop rsi
ret