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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
push rdi
push r15
sub rsp, 0x78
mov qword [rax - 0x28], rsi
mov rsi, rcx
mov qword [rax - 0x38], r13
mov r13d, edx
mov qword [rax - 0x40], r14
call fcn.1400ec180
mov edi, dword [rsi + 0x50]
mov rcx, rax
dec edi
mov rbx, rax
mov dword [rsp + 0x34], edi
call fcn.140112390
cmp dword [rsp + 0xd8], 0
mov r14, qword [rsp + 0xc0]
mov dword [rsp + 0x30], eax
jge 0x140084ca9
movzx r8d, byte [r14 + 0x2c]
mov r9d, eax
mov edx, 0x87
mov dword [rsp + 0x20], 0
mov rcx, rbx
call fcn.1401089e0
mov r15d, dword [r14 + 0x28]
xor ebp, ebp
mov qword [rsp + 0x68], r12
mov r12d, dword [rsp + 0xd0]
mov dword [rsp + 0x3c], r15d
test r15d, r15d
jle 0x140084d70
mov r14, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xc0]
mov r13d, dword [rsp + 0x30]
nop
movsxd rdi, dword [rbx + 0x3c]
mov r15d, dword [r14]
mov ecx, edi
mov rax, qword [rbx + 0x30]
inc r15d
add r15d, r12d
cmp dword [rax + 0x60], edi
jg 0x140084d0c
mov edx, 1
mov rcx, rbx
call fcn.1400aad80
test eax, eax
jne 0x140084d40
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x4c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], 0
mov qword [rax + rcx*8 + 0x10], 0
mov r15d, dword [rsi + 0x28]
inc ebp
add r14, 4
mov dword [rsp + 0x3c], r15d
cmp ebp, r15d
jl 0x140084ce0
mov rsi, qword [rsp + 0xa0]
mov r13d, dword [rsp + 0xa8]
mov r14, qword [rsp + 0xc0]
mov edi, dword [rsp + 0x34]
cmp dword [rsp + 0xe0], 0
jne 0x140085324
mov rbp, qword [rsp + 0xb8]
test rbp, rbp
jne 0x140084f18
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x140084d9f
inc dword [rsi + 0x54]
mov edi, dword [rsi + 0x54]
jmp 0x140084dab
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov edi, dword [rsi + rax*4 + 0x24]
mov rax, qword [rsp + 0xc8]
mov r9d, edi
mov edx, 0x22
mov dword [rsp + 0x20], 0
mov rcx, rbx
mov r8d, dword [rax]
inc r8d
add r8d, r12d
call fcn.1401089e0
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, edi
mov rcx, rbx
lea edx, [r9 + 0x26]
call fcn.1401089e0
mov r15, qword [rsp + 0xb0]
mov ebp, eax
cmp r15, qword [r14]
jne 0x140084e36
cmp dword [rsp + 0xd8], 1
jne 0x140084e36
mov r9d, dword [rsp + 0x30]
mov r8d, r12d
mov edx, 0x4f
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.1401089e0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140084e36
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x90
mov r9, r15
mov dword [rsp + 0x20], 0x36
mov r15d, dword [rsp + 0x34]
mov r8d, r13d
mov edx, r15d
mov rcx, rsi
call fcn.1400f1f10
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, r15d
mov rcx, rbx
lea edx, [r9 + 0x46]
call fcn.1401089e0
mov r13d, dword [rsp + 0x30]
xor r8d, r8d
mov r9d, r13d
mov dword [rsp + 0x20], 0
mov rcx, rbx
lea edx, [r8 + 0x10]
call fcn.1401089e0
mov edx, dword [rbx + 0x3c]
lea eax, [rdx - 2]
cmp edx, eax
jbe 0x140084ea2
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
mov edx, dword [rbx + 0x3c]
cmp edx, ebp
jbe 0x140084ec9
mov rax, qword [rbx + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
xor ebp, ebp
mov dword [rax + 0x64], ecx
test edi, edi
je 0x140085330
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x140085330
mov ecx, ebp
lea rax, [rsi + 0x88]
cmp dword [rax + 0xc], edi
je 0x140084f0f
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140084ef3
mov dword [rsi + rdx*4 + 0x24], edi
inc byte [rsi + 0x1f]
jmp 0x140085330
mov byte [rax + 6], 1
jmp 0x140085330
mov ecx, dword [rsi + 0x44]
mov r14d, dword [rsi + 0x48]
mov dword [rsp + 0xe0], r14d
cmp r15d, ecx
jg 0x140084f3b
lea eax, [r14 + r15]
sub ecx, r15d
mov dword [rsi + 0x48], eax
mov dword [rsi + 0x44], ecx
jmp 0x140084f50
mov eax, dword [rsi + 0x54]
lea r14d, [rax + 1]
add eax, r15d
mov dword [rsi + 0x54], eax
mov dword [rsp + 0xe0], r14d
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x140084f60
inc dword [rsi + 0x54]
mov eax, dword [rsi + 0x54]
jmp 0x140084f6c
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov eax, dword [rsi + rax*4 + 0x24]
mov r9d, dword [rbp + 0x50]
mov r8d, edi
mov edx, 0x36
mov dword [rsp + 0x38], eax
mov rcx, rbx
mov dword [rsp + 0x20], r13d
call fcn.1401089e0
mov rdx, rbp
mov rcx, rsi
call fcn.140114b90
movsxd r13, r15d
test r15d, r15d
jle 0x140085039
mov rsi, qword [rsp + 0xc8]
xor edi, edi
nop word [rax + rax]
mov eax, dword [rsi + rdi*4]
movsxd rbp, dword [rbx + 0x3c]
inc eax
add r12d, eax
mov ecx, ebp
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x60], ebp
jg 0x140084fdb
mov edx, 1
mov rcx, rbx
call fcn.1400aad80
test eax, eax
jne 0x140085016
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 8]
add rcx, rbp
mov word [rax + rcx*8], 0x21
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], 0
mov qword [rax + rcx*8 + 0x10], 0
mov r12d, dword [rsp + 0xd0]
inc r14d
inc rdi
cmp rdi, r13
jl 0x140084fb0
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb0]
cmp rdx, qword [rax]
jne 0x140085193
cmp dword [rsp + 0xd8], 1
jne 0x140085193
mov edi, dword [rbx + 0x3c]
lea eax, [rdi + 1]
add eax, r15d
test r15d, r15d
jle 0x14008513d
mov esi, dword [rsp + 0xd0]
xor edi, edi
mov r15d, eax
nop
mov rax, qword [rsp + 0xc8]
lea r12d, [rsi + 1]
movsxd r14, dword [rbx + 0x3c]
mov eax, dword [rax + rdi*4]
add r12d, eax
mov rax, qword [rbp + 8]
lea ebp, [rsi + 1]
movsx ecx, word [rax + rdi*2]
mov rax, qword [rbx + 0x30]
add ebp, ecx
cmp cx, word [rdx + 0x3c]
mov ecx, r14d
cmove ebp, esi
cmp dword [rax + 0x60], r14d
jg 0x1400850cb
mov edx, 1
mov rcx, rbx
call fcn.1400aad80
test eax, eax
jne 0x1400850fb
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [r14 + r14*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x4e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], 0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140085111
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x10
mov rbp, qword [rsp + 0xb8]
inc rdi
mov rdx, qword [rsp + 0xb0]
cmp rdi, r13
jl 0x140085080
mov edi, dword [rbx + 0x3c]
mov rsi, qword [rsp + 0xa0]
mov r15d, dword [rsp + 0x3c]
mov rax, qword [rbx + 0x30]
mov ecx, edi
cmp dword [rax + 0x60], edi
jg 0x14008515c
mov edx, 1
mov rcx, rbx
call fcn.1400aad80
test eax, eax
jne 0x140085193
mov ecx, dword [rbx + 0x3c]
mov r13d, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
xor edx, edx
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], reloc.WS2_32.dll_recv
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
jmp 0x140085198
mov r13d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xb8]
mov rcx, rbx
call fcn.1400ecf30
movsxd rdi, dword [rbx + 0x3c]
mov rbp, rax
mov rcx, qword [rbx + 0x30]
mov eax, edi
cmp dword [rcx + 0x60], edi
jg 0x1400851e2
mov edx, 1
mov rcx, rbx
call fcn.1400aad80
test eax, eax
je 0x1400851df
mov r14d, dword [rsp + 0x38]
mov edi, 1
mov r12d, dword [rsp + 0xe0]
jmp 0x14008521f
mov eax, dword [rbx + 0x3c]
mov r12d, dword [rsp + 0xe0]
lea rcx, [rdi + rdi*2]
mov r14d, dword [rsp + 0x38]
inc eax
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], 0
mov r9d, r15d
mov r8, rbp
mov edx, edi
mov rcx, rbx
call fcn.140108e00
movsxd rdi, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
mov ecx, edi
cmp dword [rax + 0x60], edi
jg 0x14008525b
mov edx, 1
mov rcx, rbx
call fcn.1400aad80
test eax, eax
je 0x140085258
mov edi, 1
xor ebp, ebp
jmp 0x14008528d
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rsp + 0x34]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx + 8]
xor ebp, ebp
mov word [rax + rcx*8], 0x45
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], rbp
mov r8, qword [rbx + 8]
mov rcx, qword [rbx]
test r8, r8
je 0x1400852d0
cmp byte [rcx + 0x51], 0
jne 0x1400852d0
test edi, edi
jns 0x1400852a8
mov edi, dword [rbx + 0x3c]
dec edi
movsxd rax, edi
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140087680
mov qword [rdi + 0x10], rbp
mov byte [rdi + 1], 0xf2
nop word [rax + rax]
test r14d, r14d
je 0x140085306
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x140085306
mov ecx, ebp
lea rax, [rsi + 0x88]
cmp dword [rax + 0xc], r14d
je 0x140085302
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1400852e7
mov dword [rsi + rdx*4 + 0x24], r14d
inc byte [rsi + 0x1f]
jmp 0x140085306
mov byte [rax + 6], 1
mov r8d, r15d
mov edx, r12d
mov rcx, rsi
call fcn.1400da510
cmp r15d, dword [rsi + 0x44]
jle 0x14008532b
mov dword [rsi + 0x44], r15d
mov dword [rsi + 0x48], r12d
jmp 0x14008532b
mov r13d, dword [rsp + 0x30]
xor ebp, ebp
mov r15d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0xc0]
mov r12, qword [rsp + 0x68]
movzx ecx, byte [rdx + 0x2c]
test cl, cl
jne 0x140085404
mov rax, qword [rsi]
test dword [rax + 0x2c], 0x1000000
jne 0x140085404
cmp qword [rsi + 0x1c0], 0
jne 0x140085404
cmp byte [rsi + 0x20], cl
jne 0x140085404
mov rcx, rsi
call fcn.1400ec180
mov rcx, qword [rsi + 0x1c0]
mov edx, 0x18
test rcx, rcx
mov dword [rsp + 0x20], ebp
mov r8d, 0x313
mov r14, rax
cmovne rsi, rcx
mov rcx, rax
lea r9d, [rdx - 0x16]
mov byte [rsi + 0x21], 1
call fcn.1401089e0
mov r8, qword [r14 + 8]
mov rdx, r8
test r8, r8
je 0x1400853ec
mov rcx, qword [r14]
cmp byte [rcx + 0x51], 0
jne 0x1400853ec
test eax, eax
jns 0x1400853c7
mov eax, dword [r14 + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rdi, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rdi + 0x10]
call fcn.140087680
mov qword [rdi + 0x10], rbp
mov byte [rdi + 1], 0
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140085482
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 4
jmp 0x140085482
mov ebp, dword [rsp + 0xd8]
movzx eax, cl
test ebp, ebp
jle 0x14008542c
test cl, cl
jne 0x14008542c
mov rax, qword [rsi + 0x1c0]
test rax, rax
cmovne rsi, rax
mov byte [rsi + 0x21], 1
movzx eax, byte [rdx + 0x2c]
movsxd rdi, dword [rbx + 0x3c]
movzx esi, al
mov ecx, edi
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x60], edi
jg 0x140085452
mov edx, 1
mov rcx, rbx
call fcn.1400aad80
test eax, eax
jne 0x140085480
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rdi + rdi*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], ebp
xor ebp, ebp
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov word [rax + rcx*8], 0x86
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
jmp 0x140085482
xor ebp, ebp
mov r9, qword [rbx + 0x30]
mov eax, 0xffffffff
mov r14, qword [rsp + 0x58]
sub eax, r13d
mov r13, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
js 0x1400854b5
mov r8, qword [r9 + 0x80]
test r8, r8
je 0x1400854b5
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [r9 + 0x64], eax
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x1400854dc
mov edx, 1
mov rcx, rbx
call fcn.1400aad80
test eax, eax
jne 0x140085505
mov rax, qword [rbx + 8]
lea rcx, [rdi + rdi*2]
inc dword [rbx + 0x3c]
mov word [rax + rcx*8], 0x3d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
add rsp, 0x78
pop r15
pop rdi
pop rbp
pop rbx
ret