Function at 0x45db50
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
mov rax, rsp
sub rsp, 0x98
mov qword [rax - 8], rbx
mov rbx, qword [rcx + 0x10]
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
mov rsi, qword [rbx + 0x30]
mov qword [rax - 0x20], rdi
movsxd rbp, dword [rsi + 0x78]
mov qword [rax - 0x28], r12
mov rdi, rcx
lea eax, [rbp + 1]
mov r12d, r9d
mov dword [rsi + 0x78], eax
lea eax, [rbp - 1]
test ebp, eax
jne 0x45dbc2
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rsi]
lea eax, [rbp + rbp + 1]
movsxd r8, eax
shl r8, 2
call fcn.0043b230
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
mov edx, 0xffffffff
test rcx, rcx
je 0x45dbd6
mov dword [rcx + rbp*4], edx
mov rsi, qword [rbx + 0x30]
mov eax, edx
sub eax, ebp
movsxd rbp, dword [rsi + 0x78]
mov dword [rsp + 0x28], eax
lea eax, [rbp + 1]
mov dword [rsi + 0x78], eax
lea eax, [rbp - 1]
test ebp, eax
jne 0x45dc19
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rsi]
lea eax, [rbp + rbp + 1]
movsxd r8, eax
shl r8, 2
call fcn.0043b230
mov edx, 0xffffffff
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x45dc28
mov dword [rcx + rbp*4], edx
mov eax, edx
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 0x68], r13
mov esi, dword [rdx + 0x14]
sub eax, ebp
mov qword [rsp + 0x60], r14
mov r14, qword [rdx]
xor r9d, r9d
test esi, esi
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x58], r15
movzx r15d, byte [rax]
mov ecx, dword [rax + 4]
mov r13d, r9d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x30], ecx
je 0x45dd75
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
mov r12d, dword [rdx + 0x10]
cmp dword [rax + 0x60], ebp
jg 0x45dc97
lea edx, [r9 + 1]
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45dcc6
xor r9d, r9d
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [rbp + rbp*2]
mov byte [rax + rcx*8], reloc.WS2_32.dll_recvfrom
mov byte [rax + rcx*8 + 3], r13b
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], r13b
jmp 0x45dcc9
xor r9d, r9d
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x45dcea
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45dd1c
xor r9d, r9d
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
mov edx, dword [rsp + 0x28]
lea rcx, [rsi + rsi*2]
mov byte [rax + rcx*8], reloc.WS2_32.dll_recv
mov byte [rax + rcx*8 + 3], r13b
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 byte [rax + rcx*8 + 1], r13b
jmp 0x45dd1f
xor r9d, r9d
mov rdx, qword [rsp + 0xb0]
mov r8, qword [rbx + 0x30]
mov eax, 0xffffffff
sub eax, dword [rdx + 0x14]
js 0x45dd5c
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x45dd54
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov rdx, qword [rsp + 0xb0]
jmp 0x45dd5c
mov rdx, qword [rsp + 0xb0]
mov eax, dword [rbx + 0x3c]
mov r12d, dword [rsp + 0xb8]
dec eax
mov dword [r8 + 0x64], eax
mov rax, qword [rsp + 0xc0]
cmp r15d, 9
mov ebp, dword [rdx + 0xc]
mov dword [rsp + 0x2c], ebp
je 0x45ddde
cmp r15d, 0xd
je 0x45ddde
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x45dd9c
inc dword [rdi + 0x54]
mov ecx, dword [rdi + 0x54]
mov dword [rsp + 0x24], ecx
jmp 0x45ddac
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ecx, dword [rdi + rax*4 + 0x24]
mov dword [rsp + 0x24], ecx
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x45ddc6
inc dword [rdi + 0x54]
mov eax, dword [rdi + 0x54]
mov r15d, 1
mov dword [rsp + 0x20], eax
jmp 0x45dded
dec al
mov r15d, 1
movzx eax, al
mov byte [rdi + 0x1f], al
mov eax, dword [rdi + rax*4 + 0x24]
mov dword [rsp + 0x20], eax
jmp 0x45dded
mov eax, dword [rax + 8]
mov dword [rsp + 0x24], r9d
mov r15d, r12d
mov dword [rsp + 0x20], eax
mov r12d, dword [r14]
sub r12d, dword [rdx + 8]
test byte [rdx + 0x1c], 1
mov dword [rsp + 0x3c], r12d
je 0x45df72
mov r14d, dword [rdi + 0x50]
inc dword [rdi + 0x54]
mov ebp, dword [rdi + 0x54]
lea eax, [r14 + 1]
mov dword [rdi + 0x50], eax
cmp dword [rdx + 0x14], r13d
je 0x45de25
mov rcx, rdi
call fcn.00459c30
mov r13d, eax
mov rcx, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rcx + 0x60], esi
jg 0x45de43
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45de77
mov rcx, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rdx, [rsi + rsi*2]
lea eax, [r12 + r15 + 1]
mov byte [rcx + rdx*8], reloc.WLDAP32.dll_Ordinal_60
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], r14d
mov dword [rcx + rdx*8 + 8], ebp
mov qword [rcx + rdx*8 + 0x10], 0
mov dword [rcx + rdx*8 + 0xc], eax
mov byte [rcx + rdx*8 + 1], 0
test r13d, r13d
je 0x45de9f
mov edx, dword [rbx + 0x3c]
cmp edx, r13d
jbe 0x45de93
mov eax, r13d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x45dec9
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
je 0x45dec9
mov r12d, dword [rsp + 0x2c]
mov esi, 1
jmp 0x45defe
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov edx, dword [rsp + 0x28]
mov r12d, dword [rsp + 0x2c]
lea rcx, [rsi + rsi*2]
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8], 0x6a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rax, qword [rsp + 0xa8]
mov r8d, dword [rsp + 0x34]
lea r13d, [rsi + 1]
mov edx, dword [rax + 0x10]
mov rcx, rbx
mov dword [rsp + 0x38], r13d
call fcn.00449800
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x45df3d
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45df6d
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [rsi + rsi*2]
mov byte [rax + rcx*8], 0x64
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
xor r12d, r12d
jmp 0x45dfee
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x45df97
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
je 0x45df97
mov esi, 1
jmp 0x45dfc6
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov edx, dword [rsp + 0x28]
lea rcx, [rsi + rsi*2]
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov byte [rax + rcx*8], 0x6b
mov byte [rax + rcx*8 + 3], r13b
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov r8d, dword [rsp + 0x34]
lea eax, [rsi + 1]
mov rcx, rbx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xa8]
mov edx, dword [rax + 0x10]
call fcn.00449800
mov r14d, ebp
mov r12d, 1
xor esi, esi
test r15d, r15d
jle 0x45e069
mov r13d, dword [rsp + 0x20]
mov edi, dword [rsp + 0x3c]
nop
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
cmp dword [rax + 0x60], ebp
jg 0x45e01e
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45e058
inc dword [rbx + 0x3c]
mov rcx, qword [rbx + 8]
lea rdx, [rbp + rbp*2]
lea eax, [rsi + r12]
mov byte [rcx + rdx*8], Ordinal_50
mov byte [rcx + rdx*8 + 3], 0
add eax, edi
mov dword [rcx + rdx*8 + 4], r14d
mov qword [rcx + rdx*8 + 0x10], 0
mov dword [rcx + rdx*8 + 8], eax
lea eax, [rsi + r13]
mov byte [rcx + rdx*8 + 1], 0
mov dword [rcx + rdx*8 + 0xc], eax
inc esi
cmp esi, r15d
jl 0x45e000
mov rdi, qword [rsp + 0xa0]
jmp 0x45e06e
mov r13d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x40]
mov ecx, edx
sub ecx, 0xa
je 0x45e421
dec ecx
je 0x45e29d
dec ecx
je 0x45e1cb
cmp ecx, 2
je 0x45e1cb
cmp edx, 9
jne 0x45e163
mov rax, qword [rbx + 0x30]
mov r12, qword [rsp + 0xc0]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
mov ebp, dword [r12 + 8]
jg 0x45e0ca
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45e101
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov edx, dword [rsp + 0xb8]
lea rcx, [rsi + rsi*2]
xor r11d, r11d
mov byte [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_35
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], r11b
jmp 0x45e10b
mov edx, dword [rsp + 0xb8]
xor r11d, r11d
mov r9d, dword [r12 + 8]
lea rcx, [rdi + 0x94]
mov r8d, 0xa
lea r10d, [r9 + rdx - 1]
mov edx, dword [rcx]
cmp edx, r9d
jl 0x45e14d
cmp edx, r10d
jg 0x45e14d
cmp byte [rcx - 6], 0
je 0x45e14a
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x45e146
movzx eax, al
mov dword [rdi + rax*4 + 0x24], edx
inc byte [rdi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r11d
add rcx, 0x14
dec r8
jne 0x45e122
mov r13d, dword [rsp + 0x20]
xor r15d, r15d
jmp 0x45e4db
mov rax, qword [rbx + 0x30]
mov r12, qword [rsp + 0xc0]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
mov ebp, dword [r12 + 4]
jg 0x45e192
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45e4d3
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov r13d, dword [rsp + 0x20]
lea rcx, [rsi + rsi*2]
xor r15d, r15d
mov byte [rax + rcx*8], reloc.WS2_32.dll_shutdown
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], r15b
jmp 0x45e4db
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x45e1e9
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45e223
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov ebp, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x24]
lea rcx, [rsi + rsi*2]
xor r15d, r15d
mov byte [rax + rcx*8], 0x4a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], r15b
jmp 0x45e22f
mov ebp, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x24]
xor r15d, r15d
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x45e24d
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45e279
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [rsi + rsi*2]
mov byte [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], 0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x45e4cc
movsxd rax, dword [rbx + 0x3c]
mov r13d, dword [rsp + 0x20]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
jmp 0x45e4db
mov r12, qword [rsp + 0xc0]
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
inc r12
cmp dword [rax + 0x60], esi
jg 0x45e2da
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
je 0x45e2da
mov r13d, dword [rsp + 0x20]
mov r14d, dword [rsp + 0x24]
mov esi, 1
xor r15d, r15d
jmp 0x45e317
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
mov r13d, dword [rsp + 0x20]
mov r14d, dword [rsp + 0x24]
lea rcx, [rsi + rsi*2]
xor r15d, r15d
mov byte [rax + rcx*8], gethostbyaddr
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], 1
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], r15b
mov rbp, qword [rbx + 8]
mov rcx, qword [rbx]
test rbp, rbp
je 0x45e37d
cmp byte [rcx + 0x50], 0
jne 0x45e37d
test esi, esi
jns 0x45e332
mov esi, dword [rbx + 0x3c]
dec esi
movsxd rax, esi
lea rsi, [rax + rax*2]
movsx edx, byte [rbp + rsi*8 + 1]
mov r8, qword [rbp + rsi*8 + 0x10]
call fcn.00441fd0
test r12, r12
mov qword [rbp + rsi*8 + 0x10], r15
jne 0x45e360
mov qword [rbp + rsi*8 + 0x10], r15
mov byte [rbp + rsi*8 + 1], r12b
jmp 0x45e38a
mov rcx, qword [rbx]
mov r8d, 1
mov rdx, r12
call fcn.0043b390
mov byte [rbp + rsi*8 + 1], 0xff
mov qword [rbp + rsi*8 + 0x10], rax
jmp 0x45e38a
mov r8, r12
mov edx, 1
call fcn.00441fd0
lea rcx, [rdi + 0x94]
mov r8d, 0xa
mov edx, dword [rcx]
cmp edx, r13d
jl 0x45e3c2
cmp edx, r13d
jg 0x45e3c2
cmp byte [rcx - 6], 0
je 0x45e3bf
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x45e3bb
movzx eax, al
mov dword [rdi + rax*4 + 0x24], edx
inc byte [rdi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r15d
add rcx, 0x14
dec r8
jne 0x45e397
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x45e3ec
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45e4db
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
mov ebp, dword [rsp + 0x30]
lea rcx, [rsi + rsi*2]
mov byte [rax + rcx*8], WSAGetLastError
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], 0
jmp 0x45e4db
mov rsi, qword [rdi + 0x10]
mov rax, qword [rsi + 0x30]
movsxd rbp, dword [rsi + 0x3c]
cmp dword [rax + 0x60], ebp
jg 0x45e443
mov edx, 1
mov rcx, rsi
call fcn.00441a80
test eax, eax
jne 0x45e481
inc dword [rsi + 0x3c]
mov rax, qword [rsi + 8]
mov r13d, dword [rsp + 0x20]
lea rcx, [rbp + rbp*2]
mov ebp, dword [rsp + 0x30]
xor r15d, r15d
mov byte [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_32
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], 1
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], r15b
jmp 0x45e489
mov r13d, dword [rsp + 0x20]
xor r15d, r15d
lea rcx, [rdi + 0x94]
mov r8d, 0xa
mov edx, dword [rcx]
cmp edx, r13d
jl 0x45e4c1
cmp edx, r13d
jg 0x45e4c1
cmp byte [rcx - 6], 0
je 0x45e4be
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x45e4ba
movzx eax, al
mov dword [rdi + rax*4 + 0x24], edx
inc byte [rdi + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], r15d
add rcx, 0x14
dec r8
jne 0x45e496
jmp 0x45e4db
mov r13d, dword [rsp + 0x20]
jmp 0x45e4db
mov r13d, dword [rsp + 0x20]
xor r15d, r15d
mov r14d, dword [rsp + 0x24]
mov r12, qword [rsp + 0x70]
test r14d, r14d
je 0x45e555
test r13d, r13d
je 0x45e522
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x45e522
mov ecx, r15d
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], r13d
je 0x45e5f3
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x45e502
movzx eax, dl
mov dword [rdi + rax*4 + 0x24], r13d
inc byte [rdi + 0x1f]
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x45e555
mov ecx, r15d
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], r14d
je 0x45e5fc
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x45e535
movzx eax, dl
mov dword [rdi + rax*4 + 0x24], r14d
inc byte [rdi + 0x1f]
mov r8, qword [rbx + 0x30]
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov ebp, 0xffffffff
mov eax, ebp
sub eax, dword [rsp + 0x34]
js 0x45e585
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x45e585
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov rsi, qword [rsp + 0xb0]
dec eax
mov dword [r8 + 0x64], eax
test byte [rsi + 0x1c], 1
je 0x45e605
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x45e5be
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45e656
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
mov edx, dword [rsp + 0x2c]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x38]
mov byte [rax + rcx*8], 5
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], 0
jmp 0x45e656
mov byte [rax + 6], 1
jmp 0x45e522
mov byte [rax + 6], 1
jmp 0x45e555
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x45e623
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45e656
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
mov edx, dword [rsp + 0x2c]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x38]
mov byte [rax + rcx*8], 9
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], 0
mov edi, dword [rsi + 0x10]
test edi, edi
je 0x45e6a7
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x45e67b
mov edx, 1
mov rcx, rbx
call fcn.00441a80
test eax, eax
jne 0x45e6a7
mov rax, qword [rbx + 8]
inc dword [rbx + 0x3c]
lea rcx, [rsi + rsi*2]
mov byte [rax + rcx*8], reloc.WS2_32.dll_select
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov byte [rax + rcx*8 + 1], 0
sub ebp, dword [rsp + 0x28]
mov r8, qword [rbx + 0x30]
mov r15, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
js 0x45e6d8
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x45e6d8
mov eax, dword [rbx + 0x3c]
movsxd rcx, ebp
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
dec eax
mov dword [r8 + 0x64], eax
add rsp, 0x98
ret