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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xf8
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x20], 0
jmp 0x140028540
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x14002857c
mov eax, dword [rsp + 0x20]
shl rax, 1
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0x20
jae 0x140028563
jmp 0x140028568
call fcn.14026da68
xor eax, eax
mov rcx, qword [rsp + 0x98]
mov word [rsp + rcx + 0xa8], ax
jmp 0x140028536
mov dword [rsp + 0x24], 0
jmp 0x140028590
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x24], eax
jae 0x1400285d2
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x108]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xa8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x108]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xa8], ax
jmp 0x140028586
mov rax, qword [rsp + 0x120]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], reloc.WS2_32.dll_ntohs
jmp 0x1400285f4
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
jb 0x14002860f
mov eax, dword [rsp + 0x30]
movzx eax, word [rsp + rax*2 + 0xa8]
test eax, eax
je 0x14002860d
jmp 0x14002860f
jmp 0x1400285ea
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
jbe 0x140028621
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x30], 0
jne 0x1400286a4
mov byte [rsp + 0x28], 0x40
mov byte [rsp + 0x29], 1
xor eax, eax
mov word [rsp + 0x2a], ax
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x118]
mov qword [rcx], rax
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
add rax, 4
mov rcx, qword [rsp + 0x118]
mov qword [rcx], rax
mov rax, qword [rsp + 0x120]
mov dword [rax], 1
xor eax, eax
jmp 0x140028d8b
mov dword [rsp + 0x3c], 1
jmp 0x1400286b8
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x3c], eax
jae 0x1400286d6
mov eax, dword [rsp + 0x3c]
movzx eax, word [rsp + rax*2 + 0xa8]
test eax, eax
je 0x1400286d4
jmp 0x1400286d6
jmp 0x1400286ae
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jae 0x1400286e8
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x20], 1
jmp 0x140028704
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
ja 0x140028740
mov eax, dword [rsp + 0x2c]
shl eax, 1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xa8]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jge 0x14002873e
mov eax, 0xffffffff
jmp 0x140028d8b
jmp 0x1400286fa
cmp dword [rsp + 0x2c], 0
jle 0x140028762
cmp dword [rsp + 0x100], 0
je 0x140028758
cmp dword [rsp + 0x30], 1
je 0x140028762
mov eax, 0xffffffff
jmp 0x140028d8b
mov qword [rsp + 0xa0], 2
cmp qword [rsp + 0xa0], 0x20
jae 0x14002877b
jmp 0x140028780
call fcn.14026da68
xor eax, eax
mov rcx, qword [rsp + 0xa0]
mov word [rsp + rcx + 0xc8], ax
mov dword [rsp + 0x20], 1
jmp 0x1400287a6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xf
jae 0x1400287d9
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xc8]
mov ecx, dword [rsp + 0x20]
movzx ecx, word [rsp + rcx*2 + 0xa8]
add eax, ecx
mov ecx, dword [rsp + 0x20]
inc ecx
mov ecx, ecx
mov word [rsp + rcx*2 + 0xc8], ax
jmp 0x14002879c
mov dword [rsp + 0x24], 0
jmp 0x1400287ed
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x24], eax
jae 0x14002886f
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x108]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x14002886a
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x108]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xc8]
mov rcx, qword [rsp + 0x128]
movzx edx, word [rsp + 0x24]
mov word [rcx + rax*2], dx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x108]
movzx eax, word [rcx + rax*2]
movzx eax, word [rsp + rax*2 + 0xc8]
inc ax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x108]
movzx ecx, word [rdx + rcx*2]
mov word [rsp + rcx*2 + 0xc8], ax
jmp 0x1400287e3
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14002888a
cmp dword [rsp + 0x60], 1
je 0x1400288ae
jmp 0x1400288d3
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x50], reloc.WS2_32.dll_sendto
jmp 0x1400288f6
lea rax, [0x1403013f0]
mov qword [rsp + 0x90], rax
lea rax, [0x1403013b0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x50], 0x101
jmp 0x1400288f6
lea rax, [0x140301430]
mov qword [rsp + 0x90], rax
lea rax, [0x140301370]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x5c], 0xffffffff
mov eax, dword [rsp + 0x38]
mov ecx, 1
mov dword [rsp + 0x78], ecx
movzx ecx, al
mov eax, dword [rsp + 0x78]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x100], 1
jne 0x14002896e
cmp dword [rsp + 0x4c], 0x354
ja 0x140028982
cmp dword [rsp + 0x100], 2
jne 0x14002898c
cmp dword [rsp + 0x4c], 0x250
jbe 0x14002898c
mov eax, 1
jmp 0x140028d8b
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x128]
movzx eax, word [rcx + rax*2]
inc eax
cmp eax, dword [rsp + 0x50]
jae 0x1400289d0
mov byte [rsp + 0x28], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x128]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x2a], ax
jmp 0x140028a3e
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x128]
movzx eax, word [rcx + rax*2]
cmp eax, dword [rsp + 0x50]
jb 0x140028a32
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x128]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x50]
mov eax, eax
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax*2]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x128]
movzx eax, word [rcx + rax*2]
sub eax, dword [rsp + 0x50]
mov eax, eax
mov rcx, qword [rsp + 0x90]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x2a], ax
jmp 0x140028a3e
mov byte [rsp + 0x28], 0x60
xor eax, eax
mov word [rsp + 0x2a], ax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x7c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x7c]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov dword [rsp + 0x80], ecx
movzx ecx, al
mov eax, dword [rsp + 0x80]
shl eax, cl
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x44]
movzx ecx, al
mov eax, dword [rsp + 0x34]
shr eax, cl
add eax, dword [rsp + 0x58]
mov eax, eax
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
cmp dword [rsp + 0x58], 0
jne 0x140028a88
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x84], ecx
movzx ecx, al
mov eax, dword [rsp + 0x84]
shl eax, cl
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140028afc
mov eax, dword [rsp + 0x48]
shr eax, 1
mov dword [rsp + 0x48], eax
jmp 0x140028ae0
cmp dword [rsp + 0x48], 0
je 0x140028b27
mov eax, dword [rsp + 0x48]
dec eax
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x140028b2f
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0xa8]
dec ax
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x54]
mov word [rsp + rax*2 + 0xa8], cx
movzx eax, word [rsp + 0x54]
test eax, eax
jne 0x140028b96
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jne 0x140028b76
jmp 0x140028d2a
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x128]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x108]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x20], eax
jbe 0x140028d25
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x5c]
je 0x140028d25
cmp dword [rsp + 0x44], 0
jne 0x140028bc9
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov dword [rsp + 0x88], ecx
movzx ecx, al
mov eax, dword [rsp + 0x88]
shl eax, cl
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x30]
jae 0x140028c5e
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov eax, eax
movzx eax, word [rsp + rax*2 + 0xa8]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jg 0x140028c48
jmp 0x140028c5e
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x2c]
shl eax, 1
mov dword [rsp + 0x2c], eax
jmp 0x140028c0b
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov dword [rsp + 0x8c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x8c]
shl eax, cl
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x100], 1
jne 0x140028c9a
cmp dword [rsp + 0x4c], 0x354
ja 0x140028cae
cmp dword [rsp + 0x100], 2
jne 0x140028cb8
cmp dword [rsp + 0x4c], 0x250
jbe 0x140028cb8
mov eax, 1
jmp 0x140028d8b
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x34]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x40]
mov byte [rcx + rax*4], dl
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax*4 + 1], dl
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
sar rax, 2
mov ecx, dword [rsp + 0x5c]
mov rdx, qword [rsp + 0x118]
mov rdx, qword [rdx]
mov word [rdx + rcx*4 + 2], ax
jmp 0x14002898c
cmp dword [rsp + 0x34], 0
je 0x140028d5d
mov byte [rsp + 0x28], 0x40
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x29], al
xor eax, eax
mov word [rsp + 0x2a], ax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
lea rax, [rcx + rax*4]
mov rcx, qword [rsp + 0x118]
mov qword [rcx], rax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
xor eax, eax
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14026d940
add rsp, 0xf8
ret