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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
and dword [esp + 8], 0
push ebx
push esi
push edi
call fcn.5fdd5fd8
test eax, eax
je 0x5fdd6566
cmp dword [ebp + 8], 0
je 0x5fdd6073
mov esi, dword [0x5fde9010]
cmp esi, 0x5fde9010
je 0x5fdd6079
test dword [esi + 0x1c], 0x400
je 0x5fdd6079
push dword [ebp + 8]
mov edx, 0x5fdbdb80
push dword [esi + 0x14]
push dword [esi + 0x10]
push 0x2b
pop ecx
call fcn.5fdc7fde
mov esi, dword [0x5fde9010]
mov edi, dword [ebp + 0xc]
movzx eax, word [edi + 0x1ce]
lea ebx, [edi + 0x1d0]
movzx edx, ax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x194]
mov dword [esp + 0x2c], edx
lea ecx, [edx + ebx]
mov dword [esp + 0x28], ecx
cmp ecx, eax
jae 0x5fdd60b1
cmp ecx, dword [edi + 0x1c8]
je 0x5fdd60b1
mov dword [esp + 0x28], eax
cmp esi, 0x5fde9010
je 0x5fdd6283
test dword [esi + 0x1c], 0x400
mov eax, 0x5fdbdaa8
mov dword [esp + 0x1c], eax
je 0x5fdd6156
cmp byte [edi + 0x1b9], 0
mov dword [esp + 0x24], 0x5fdd659c
jne 0x5fdd60ec
mov dword [esp + 0x24], 0x5fdbd9f0
test byte [ebx + 2], 0x80
mov dword [esp + 0x20], eax
jne 0x5fdd60fe
mov dword [esp + 0x20], 0x5fdbdab4
cmp byte [edi + 0x1b8], 0
mov esi, 0x5fdd65a8
jne 0x5fdd6111
mov esi, 0x5fdd65ac
push dword [edi + 0x38]
movzx eax, word [edi + 0x1a]
lea ecx, [edi + 0x18]
push eax
movzx eax, word [ecx]
push eax
call fcn.5fdd4c5b
push eax
push dword [edi + 0xc]
mov eax, dword [0x5fde9010]
push dword [edi + 8]
push dword [edi + 0xa0]
push dword [esp + 0x40]
push edi
push dword [esp + 0x44]
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fddbbf3
mov esi, dword [0x5fde9010]
mov edx, dword [esp + 0x2c]
cmp esi, 0x5fde9010
je 0x5fdd6283
test dword [esi + 0x1c], 0x400
je 0x5fdd61a3
movzx eax, word [edi + 0x5a]
lea ecx, [edi + 0x58]
push edx
push dword [edi + 0x18c]
push dword [edi + 0x98]
push dword [edi + 0x78]
push eax
movzx eax, word [ecx]
push eax
call fcn.5fdd4c5b
push eax
mov eax, dword [0x5fde9010]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fddb0a0
mov esi, dword [0x5fde9010]
cmp esi, 0x5fde9010
je 0x5fdd6283
test dword [esi + 0x1c], 0x400
je 0x5fdd6283
mov cl, byte [ebx + 2]
test cl, cl
js 0x5fdd61cb
mov dword [esp + 0x1c], 0x5fdbdab4
movzx edx, byte [ebx + 3]
mov dword [esp + 0x24], edx
and edx, 0xf
mov eax, edx
cmp eax, 0x13
jle 0x5fdd61e0
push 0x13
pop eax
mov eax, dword [eax*4 + 0x5fdbd628]
movzx ecx, cl
mov dword [esp + 0x20], ecx
shr ecx, 3
and ecx, 0xf
mov dword [esp + 0x30], eax
mov esi, ecx
cmp esi, 6
jle 0x5fdd6202
push 6
pop esi
movzx eax, word [ebx + 0xa]
push eax
movzx eax, word [ebx + 8]
push eax
movzx eax, word [ebx + 6]
push eax
movzx eax, word [ebx + 4]
push eax
push dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x3c]
mov eax, edx
shr eax, 6
and eax, 1
shr edx, 7
push eax
push edx
mov edx, dword [esp + 0x40]
mov eax, edx
and eax, 1
push eax
mov eax, edx
shr eax, 1
and eax, 1
push eax
mov eax, edx
shr edx, 7
shr eax, 2
and eax, 1
push eax
push dword [esi*4 + 0x5fdbd5d4]
movzx eax, word [ebx + 2]
push ecx
push dword [esp + 0x50]
push edx
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
movzx eax, word [ebx]
push eax
mov eax, dword [0x5fde9010]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2e
pop ecx
call fcn.5fdda2e2
mov esi, dword [0x5fde9010]
movzx eax, word [ebx + 6]
movzx edx, word [ebx + 4]
movzx edi, word [ebx + 0xa]
movzx ecx, word [ebx]
mov dword [esp + 0x1c], eax
movzx eax, word [ebx + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
test dx, dx
je 0x5fdd62af
mov eax, edx
jmp 0x5fdd62b4
test ax, ax
je 0x5fdd630e
and eax, 0xff00
test eax, eax
je 0x5fdd630e
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_ntohs]
push dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_ntohs]
push dword [esp + 0x20]
movzx eax, ax
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_ntohs]
push dword [esp + 0x24]
movzx eax, ax
mov dword [esp + 0x24], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov esi, dword [0x5fde9010]
movzx eax, ax
mov dword [esp + 0x24], eax
mov edi, dword [ebp + 0xc]
add ebx, 0xc
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp esi, 0x5fde9010
je 0x5fdd635b
test dword [esi + 0x1c], 0x400
je 0x5fdd635b
movzx edx, byte [edi + 0x1d2]
shr edx, 3
and edx, 0xf
call fcn.5fdd9e83
push eax
push dword [esi + 0x14]
mov edx, 0x5fdbdb80
push dword [esi + 0x10]
push 0x2f
pop ecx
call fcn.5fdc7fde
mov esi, dword [0x5fde9010]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5fdd6365
mov eax, dword [esp + 0x18]
jmp 0x5fdd6379
cmp ecx, 1
jne 0x5fdd6370
mov eax, dword [esp + 0x1c]
jmp 0x5fdd6379
cmp ecx, 2
jne 0x5fdd6382
mov eax, dword [esp + 0x20]
movzx eax, ax
mov dword [esp + 0x14], eax
jmp 0x5fdd6391
cmp ecx, 3
jne 0x5fdd638d
mov eax, dword [esp + 0x24]
jmp 0x5fdd6379
mov eax, dword [esp + 0x14]
and dword [esp + 0x30], 0
movzx eax, ax
test eax, eax
jle 0x5fdd64ce
mov eax, ebx
lea ecx, [edi + 0x1d0]
sub eax, ecx
movzx eax, ax
cmp ax, word [esp + 0x34]
jb 0x5fdd63c1
cmp ebx, dword [edi + 0x194]
jae 0x5fdd656f
cmp esi, 0x5fde9010
je 0x5fdd63e6
test dword [esi + 0x1c], 0x400
je 0x5fdd63e6
push eax
push dword [esi + 0x14]
mov edx, 0x5fdbdb80
push dword [esi + 0x10]
push 0x31
pop ecx
call fcn.5fdc7d09
push 0x5fdd65b0
push dword [esp + 0x2c]
lea esi, [edi + 0x1d0]
xor edx, edx
push esi
push ebx
push 0x5fdbdac0
xor ecx, ecx
call fcn.5fdd6b72
test eax, eax
je 0x5fdd649a
add ebx, eax
cmp dword [esp + 0x10], 0
jne 0x5fdd646d
mov esi, dword [0x5fde9010]
cmp esi, 0x5fde9010
je 0x5fdd6468
test dword [esi + 0x1c], 0x400
je 0x5fdd6468
movzx eax, word [ebx + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
movzx eax, word [ebx]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov edx, 0x5fdbdb80
push eax
mov eax, dword [0x5fde9010]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x33
pop ecx
call fcn.5fdc81e7
mov esi, dword [0x5fde9010]
add ebx, 4
jmp 0x5fdd6481
push dword [esp + 0x28]
push esi
push ebx
push ecx
call fcn.5fdd6cf6
mov esi, dword [0x5fde9010]
add ebx, eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
inc edx
movzx eax, cx
mov dword [esp + 0x30], edx
cmp edx, eax
jge 0x5fdd64ca
jmp 0x5fdd63a1
mov esi, dword [0x5fde9010]
cmp esi, 0x5fde9010
je 0x5fdd64ca
test dword [esi + 0x1c], 0x400
je 0x5fdd64ca
push dword [esi + 0x14]
mov edx, 0x5fdbdb80
push dword [esi + 0x10]
push 0x32
pop ecx
call fcn.5fdc44b5
mov esi, dword [0x5fde9010]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 4
jl 0x5fdd631a
mov edx, dword [edi + 0x194]
lea ecx, [edi + 0x1d0]
mov eax, ebx
sub eax, ecx
movzx eax, ax
mov dword [esp + 0x30], eax
cmp ebx, edx
jb 0x5fdd64fe
cmp ax, word [esp + 0x34]
jae 0x5fdd6539
cmp esi, 0x5fde9010
je 0x5fdd6561
test dword [esi + 0x1c], 0x400
je 0x5fdd6539
mov edi, dword [esp + 0x2c]
movzx ecx, ax
mov eax, edi
sub eax, ecx
push eax
push edi
push ecx
mov eax, edx
sub eax, ebx
push eax
push edx
push ebx
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.5fddab57
mov esi, dword [0x5fde9010]
mov eax, dword [esp + 0x30]
cmp esi, 0x5fde9010
je 0x5fdd6561
test dword [esi + 0x1c], 0x400
je 0x5fdd6561
movzx eax, ax
mov edx, 0x5fdbdb80
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
push 0x35
pop ecx
call fcn.5fdc7d09
call fcn.5fdd9d29
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp esi, 0x5fde9010
je 0x5fdd6561
test dword [esi + 0x1c], 0x400
je 0x5fdd6561
mov edi, dword [esp + 0x2c]
mov edx, 0x5fdbdb80
push edi
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
push 0x30
pop ecx
call fcn.5fdc81e7
jmp 0x5fdd6561