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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
sub rsp, 0x50
mov r10, qword [rcx + 0x10]
xor esi, esi
mov qword [rsp + 0x48], r10
mov ebx, r8d
mov dword [rsp + 0x70], esi
mov rbp, rdx
mov dword [rsp + 0x44], esi
mov rdi, rcx
test r10, r10
je 0x14005259d
test rdx, rdx
je 0x14005259d
movzx r8d, byte [rdx]
lea edx, [r8 + 1]
xor edx, 1
lea eax, [r8 - 0x13]
dec edx
mov dword [rsp + 0x40], edx
cmp eax, 0x81
ja case.0x14005228f.20
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x525e8]
mov ecx, dword [rdx + rax*4 + 0x525c4]
add rcx, rdx
jmp rcx
mov rdx, qword [rbp + 0x10]
mov r8d, ebx
mov rcx, rdi
call fcn.140052210
inc dword [rdi + 0x4c]
mov r8d, ebx
mov r9d, dword [rsp + 0x88]
mov rcx, rdi
mov rdx, qword [rbp + 0x18]
call fcn.140052210
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14004fcc0
mov rcx, r10
call fcn.140034280
mov r9d, dword [rsp + 0x88]
mov r8d, eax
mov rdx, qword [rbp + 0x10]
xor r9d, 0x10
mov rcx, rdi
mov dword [rsp + 0x70], eax
call fcn.140051dc0
inc dword [rdi + 0x4c]
mov r8d, ebx
mov r9d, dword [rsp + 0x88]
mov rcx, rdi
mov rdx, qword [rbp + 0x18]
call fcn.140052210
mov r10, qword [rsp + 0x48]
mov rax, qword [r10 + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140052335
or eax, 0xffffffff
sub eax, dword [rsp + 0x70]
movsxd rcx, eax
mov eax, dword [r10 + 0xb8]
mov dword [rdx + rcx*4], eax
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14004fcc0
mov rdx, qword [rbp + 0x10]
mov r8d, ebx
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.140051dc0
cmp r8b, 0x48
mov dword [rsp + 0x88], pe_nt_image_headers64
mov eax, esi
setne al
add eax, 0x4d
mov dword [rsp + 0x40], eax
mov rdx, qword [rbp + 0x10]
mov rcx, rdx
call fcn.14004a3b0
test eax, eax
jne case.0x14005228f.20
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.1400515b0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x44]
mov rcx, rdi
mov ebx, eax
call fcn.1400515b0
mov edx, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x40]
mov r8, qword [rbp + 0x18]
mov dword [rsp + 0x38], edx
mov rdx, qword [rbp + 0x10]
mov dword [rsp + 0x30], ecx
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.14004a220
jmp 0x140052517
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.1400515b0
mov edx, dword [rsp + 0x40]
mov r9d, ebx
mov rcx, qword [rsp + 0x48]
mov r8d, eax
call fcn.140033af0
jmp 0x140052517
mov dword [rsp + 0x20], r9d
mov r8d, ebx
lea r9, [fcn.140052210]
mov rdx, rbp
mov rcx, rdi
call fcn.140051bf0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
test r9d, r9d
je 0x14005245e
mov r9d, ebx
mov r8d, ebx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.14004e5d0
mov rcx, r10
call fcn.140034280
mov r9d, eax
mov r8d, ebx
mov rdx, rbp
mov rcx, rdi
mov esi, eax
call fcn.14004e5d0
mov r10, qword [rsp + 0x48]
mov rcx, qword [r10 + 0x18]
mov rdx, qword [rcx + 0x58]
test rdx, rdx
je 0x14005259d
or eax, 0xffffffff
sub eax, esi
movsxd rcx, eax
mov eax, dword [r10 + 0xb8]
mov dword [rdx + rcx*4], eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbp
call fcn.14004b170
test eax, eax
je 0x1400524d0
mov edx, ebx
mov rcx, r10
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.140033b60
mov rcx, rbp
call fcn.14004b0e0
test eax, eax
jne 0x14005259d
lea r8, [rsp + 0x70]
mov rdx, rbp
mov rcx, rdi
call fcn.1400515b0
mov edx, dword [rsp + 0x88]
mov ecx, esi
test edx, edx
mov r9d, ebx
mov r8d, eax
mov edx, socket
setne cl
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x48]
call fcn.1400339a0
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x14005255e
movzx r9d, byte [rdi + 0x1f]
cmp r9b, 8
jae 0x14005255e
movzx r8d, byte [rdi + 0x25]
lea rax, [rdi + 0xc4]
mov ecx, esi
test r8d, r8d
je 0x140052550
nop dword [rax]
cmp dword [rax + 0xc], edx
je 0x1400525aa
inc ecx
add rax, 0x14
cmp ecx, r8d
jl 0x140052540
movzx eax, r9b
mov dword [rdi + rax*4 + 0x18c], edx
inc byte [rdi + 0x1f]
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x14005259d
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x14005259d
movzx edx, byte [rdi + 0x25]
lea rax, [rdi + 0xc4]
test edx, edx
je 0x14005258f
cmp dword [rax + 0xc], ecx
je 0x1400525b0
inc esi
add rax, 0x14
cmp esi, edx
jl 0x140052580
movzx eax, r8b
mov dword [rdi + rax*4 + 0x18c], ecx
inc byte [rdi + 0x1f]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov byte [rax + 6], 1
jmp 0x14005255e
mov byte [rax + 6], 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret