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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
push esi
push edi
mov edi, dword [eax*4 + 0x20a514c]
test eax, eax
js 0x4ee023
cmp eax, 0x1194
jge 0x4ee023
cmp dword [edi + 4], 3
jne 0x4ee023
movzx eax, word [edi + 0x78]
cmp eax, 1
je 0x4edcb9
cmp eax, 6
jne 0x4ee023
cmp byte [edi + 0xa], 0
jg 0x4ee023
cmp byte [edi + 0x9c0], 0
jne 0x4ee023
mov eax, dword [0xbcd018]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [0xbcd01c]
sub ecx, eax
mov dword [esp + 0x1c], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4ee023
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x24], esi
movzx edx, byte [eax + 3]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
add eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
cmp ecx, edx
jne 0x4edd2c
push eax
push edi
call fcn.004edae0
test al, al
jne 0x4edd64
mov ecx, dword [0xbcd01c]
mov eax, 0x92492493
sub ecx, dword [esp + 0x1c]
add esi, 0x38
inc dword [esp + 0x2c]
imul ecx
mov dword [esp + 0x24], esi
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x2c], eax
jae 0x4ee023
mov edx, dword [esp + 0x14]
jmp 0x4edd11
mov esi, dword [0xbcd028]
cmp esi, dword [0xbcd02c]
je 0x4ede45
mov eax, dword [esp + 0x20]
nop word [eax + eax]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [esi + 0x30]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [esi + 0x10]
movaps xmmword [esp + 0x60], xmm1
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esi + 0x20]
psrldq xmm1, 4
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esi + 0x40]
movd ecx, xmm1
movups xmmword [esp + 0x70], xmm0
movq xmm0, qword [esi + 0x50]
movq qword [esp + 0x80], xmm0
cmp ecx, eax
jne 0x4ede36
cmp ecx, 0xffffffff
je 0x4ede02
cmp ecx, 0xc7
ja 0x4ede36
mov eax, ecx
test eax, eax
jns 0x4edddd
add eax, 3
sar eax, 2
movzx eax, byte [eax + edi + 0x5a8]
and ecx, reloc.WS2_32.dll_closesocket
jns 0x4eddf5
dec ecx
or ecx, 0xfffffffc
inc ecx
add cl, cl
shr eax, cl
and eax, 3
cmp eax, dword [esp + 0x68]
jne 0x4ede32
movzx eax, word [edi + 0xcc]
mov ecx, dword [esp + eax*4 + 0x6c]
test ecx, ecx
je 0x4ede32
movzx eax, byte [edi + 0xcf]
inc eax
cmp ecx, eax
jg 0x4ede32
lea eax, [esp + 0x30]
push eax
push edi
call fcn.004ee6d0
cmp eax, dword [esp + 0x3c]
jl 0x4edeb5
mov eax, dword [esp + 0x20]
add esi, 0x58
cmp esi, dword [0xbcd02c]
jne 0x4edd80
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov eax, dword [esi + eax + 8]
test eax, eax
je 0x4edf75
cmp eax, 1
jne 0x4eded5
push dword [esp + 0x20]
push edi
call fcn.004ee860
mov eax, dword [esp + 0x1c]
push dword [esi + eax]
push edi
call fcn.004ef680
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + eax]
cmp ecx, 0xc7
ja 0x4edfcc
mov eax, ecx
mov ecx, 4
cdq
idiv ecx
lea esi, [eax + edi]
mov al, 2
lea ecx, [edx + edx]
mov dl, byte [ecx + 0x5542d4]
and dl, byte [esi + 0x5a8]
shl al, cl
or dl, al
mov byte [esi + 0x5a8], dl
jmp 0x4edfc4
mov ecx, dword [esp + 0x20]
test ecx, ecx
js 0x4edec9
cmp ecx, 0xc8
jl 0x4edf50
xor al, al
mov byte [esp + 0x18], 0xff
jmp 0x4edfff
cmp eax, 2
jne 0x4edf6c
push dword [esp + 0x20]
push edi
call fcn.004ee860
mov eax, dword [esp + 0x1c]
push dword [esi + eax]
push edi
call fcn.004ef680
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + eax]
cmp ecx, 0xc7
ja 0x4edf34
mov eax, ecx
mov ecx, 4
cdq
idiv ecx
lea esi, [eax + edi]
mov al, 2
lea ecx, [edx + edx]
mov dl, byte [ecx + 0x5542d4]
and dl, byte [esi + 0x5a8]
shl al, cl
or dl, al
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x5a8], dl
mov esi, dword [esp + 0x24]
push dword [esi + eax]
push edi
call fcn.004ee740
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + eax]
cmp ecx, 0xc7
ja 0x4edec9
mov eax, ecx
mov byte [esp + 0x18], 0xff
cdq
and edx, 3
add eax, edx
sar eax, 2
mov al, byte [eax + edi + 0x5a8]
jmp 0x4edfff
cmp eax, 3
jne 0x4ee023
push dword [esp + 0x20]
push edi
call fcn.004ee860
mov eax, dword [esp + 0x1c]
push dword [esi + eax]
push edi
call fcn.004ef680
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + eax]
cmp ecx, 0xc7
ja 0x4edfcc
mov eax, ecx
mov ecx, 4
cdq
idiv ecx
lea esi, [edx + edx]
movzx ecx, byte [esi + 0x5542d4]
lea edx, [eax + edi]
movzx eax, byte [edx + 0x5a8]
and ecx, eax
bts ecx, esi
mov byte [edx + 0x5a8], cl
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push dword [esi + eax]
push edi
call fcn.004ee740
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + eax]
cmp ecx, 0xc7
ja 0x4edff8
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov al, byte [eax + edi + 0x5a8]
jmp 0x4edffa
xor al, al
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], al
lea eax, [esp + 0x14]
push 6
push eax
push dword [esp + 0x30]
mov word [esp + 0x20], 0x6c1
mov byte [esp + 0x22], 0xa2
mov byte [esp + 0x23], cl
call fcn.005192f0
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8