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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x148
mov esi, esp
mov dword [esi + 0x130], ebp
mov dword [esi + 0x134], esp
mov dword [esi + 0x140], 0xffffffff
mov dword [esi + 0x13c], 0x4e9b20
mov edx, dword [ebp + 0xc]
lea eax, [esi + 0x138]
mov ecx, dword fs:[0]
mov dword [esi + 0x138], ecx
mov dword fs:[0], eax
mov ecx, 0x17
movzx eax, word [edx]
mov word [esi + 8], ax
test ax, ax
mov eax, 2
cmove ecx, eax
lea eax, [esi + 0x50]
push 6
push 1
push 1
push ecx
push eax
call fcn.004fb070
add esp, 0x14
cmp byte [esi + 0x50], 4
jne 0x4e8e22
mov eax, dword [esi + 0x54]
jmp 0x4e8e7e
movsd xmm0, qword [esi + 0x50]
lea eax, [esi + 0x30]
lea ecx, [esi + 0x80]
mov edx, str.tcp_open_errortcp_set_nonblocking_error
movsd qword [esi + 0x30], xmm0
push eax
push 0xe
call fcn.004e8190
add esp, 8
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
test ecx, ecx
je 0x4e8e7e
mov edx, dword [ebp + 8]
mov ebx, dword [esi + 0x88]
mov edi, dword [esi + 0x8c]
mov dword [edx + 0xc], ecx
mov ecx, edx
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ebx
mov dword [edx + 0x18], edi
mov dword [edx + 8], 0x3b9aca01
jmp 0x4e9868
mov dword [esi + 0x24], eax
mov byte [esi + 3], 1
mov dword [esi + 0x140], 0
lea ecx, [esi + 0x24]
lea eax, [esi + 0x18]
push 1
push ecx
push eax
call fcn.004fb150
add esp, 0xc
cmp byte [esi + 0x18], 4
je 0x4e8efe
movsd xmm0, qword [esi + 0x18]
lea eax, [esi + 0x50]
mov byte [esi + 3], 1
lea ecx, [esi + 0x80]
mov edx, 0x61473a
movsd qword [esi + 0x50], xmm0
push eax
push 0x19
call fcn.004e8190
add esp, 8
mov eax, dword [esi + 0x80]
movsd xmm0, qword [esi + 0x84]
mov ecx, dword [esi + 0x8c]
test eax, eax
movsd qword [esi + 0x30], xmm0
mov dword [esi + 0x38], ecx
je 0x4e8efe
mov ecx, dword [esi + 0x38]
mov edx, dword [ebp + 8]
movsd xmm0, qword [esi + 0x30]
jmp 0x4e9268
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x38]
cmp eax, 0x3b9aca00
je 0x4e90bd
mov ecx, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov byte [esi + 3], 1
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], edx
mov dword [esi + 0x88], eax
lea eax, [esi + 0x80]
mov dword [esi + 0x98], 0x3b9aca00
lea ecx, [esi + 0x68]
push eax
lea eax, [esi + 0x24]
push eax
push ecx
call fcn.004fb1a0
add esp, 0xc
cmp byte [esi + 0x68], 4
mov edx, dword [ebp + 0x10]
je 0x4e90bd
movsd xmm0, qword [esi + 0x68]
mov eax, dword [0x69b710]
movsd qword [esi + 0x28], xmm0
mov eax, dword [eax]
cmp eax, 3
ja 0x4e906b
movzx eax, byte [0x69a3ec]
test al, al
je 0x4e906b
movzx ecx, al
cmp ecx, 1
je 0x4e8fb5
cmp ecx, 2
jne 0x4e8f93
mov al, 2
jmp 0x4e8fb5
mov dword [esi + 0x140], 9
push 0x69a3e4
call fcn.0059e2f0
add esp, 4
mov edx, dword [ebp + 0x10]
test al, al
je 0x4e906b
mov ecx, dword [0x69a3e4]
movzx eax, al
mov dword [esi + 0x140], 9
push eax
push ecx
call fcn.005313d0
add esp, 8
mov edx, dword [ebp + 0x10]
test al, al
je 0x4e906b
mov eax, dword [0x69a3e4]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4e987e
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 0x30], 0x614780
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], ecx
lea ecx, [esi + 0x28]
movlps qword [esi + 0x58], xmm0
mov dword [esi + 0x60], 0
mov dword [esi + 0x10], ecx
lea ecx, [esi + 0x10]
mov dword [esi + 0x14], fcn.00579e60
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x50]
mov dword [esi + 0x3c], 1
mov dword [esi + 0x70], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x70]
mov dword [esi + 0x78], 0x61467c
mov dword [esi + 0x18], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x18]
push ecx
push eax
call fcn.00531b00
add esp, 8
mov edx, dword [ebp + 0x10]
cmp byte [esi + 0x28], 3
jne 0x4e90bd
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
mov dword [esi + 0xc], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x140], 8
mov dword [esi + 0x7c], ecx
push ecx
mov dword [esi + 4], eax
call dword [eax]
add esp, 4
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4e90ab
push dword [ecx + 8]
push eax
push dword [esi + 0x7c]
call fcn.00407080
add esp, 0xc
push 4
push 0xc
push dword [esi + 0xc]
call fcn.00407080
add esp, 0xc
mov edx, dword [ebp + 0x10]
cmp word [esi + 8], 0
je 0x4e913d
cmp byte [edx + 0x46], 0
mov dword [esi + 0x140], 0
je 0x4e9193
movsd xmm0, qword [edx + 0x47]
movsd xmm1, qword [edx + 0x4f]
lea eax, [esi + 0x30]
mov byte [esi + 3], 1
lea ecx, [esi + 0x80]
movsd qword [esi + 0x3c], xmm1
movsd qword [esi + 0x34], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov word [esi + 0x4c], 0
mov word [esi + 0x30], 1
push eax
push ecx
call fcn.004fb320
add esp, 8
lea eax, [esi + 0x80]
mov byte [esi + 3], 1
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.004fb110
add esp, 0xc
jmp 0x4e91f2
mov eax, dword [edx + 0x42]
cmp byte [edx + 0x41], 0
mov dword [esi + 0x140], 0
je 0x4e9199
mov dword [esi + 0x32], eax
lea eax, [esi + 0x30]
mov word [esi + 0x36], 0
mov word [esi + 0x30], 0
mov byte [esi + 3], 1
lea ecx, [esi + 0x80]
push eax
push ecx
call fcn.004fb320
add esp, 8
lea eax, [esi + 0x80]
mov byte [esi + 3], 1
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.004fb110
add esp, 0xc
jmp 0x4e91f2
mov ax, 1
jmp 0x4e919b
xor eax, eax
mov word [esi + 0x30], ax
lea eax, [esi + 0x30]
xorps xmm0, xmm0
mov word [esi + 0x32], 0
mov byte [esi + 3], 1
lea ecx, [esi + 0x80]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov word [esi + 0x4c], 0
push eax
push ecx
call fcn.004fb320
add esp, 8
lea eax, [esi + 0x80]
mov byte [esi + 3], 1
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.004fb110
add esp, 0xc
movzx eax, byte [esi + 0x18]
cmp al, 4
je 0x4e9298
movzx edx, byte [esi + 0x1f]
movzx ecx, word [esi + 0x1d]
movzx eax, al
mov byte [esi + 3], 1
shl edx, 0x10
or ecx, edx
mov edx, dword [esi + 0x19]
shld ecx, edx, 8
shl edx, 8
or eax, edx
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x80]
mov edx, str.tcp_bind_local_error
mov dword [esi + 0x30], eax
lea eax, [esi + 0x30]
push eax
push 0x14
call fcn.004e8190
add esp, 8
mov eax, dword [esi + 0x80]
movsd xmm0, qword [esi + 0x84]
mov ecx, dword [esi + 0x8c]
test eax, eax
movsd qword [esi + 0x50], xmm0
mov dword [esi + 0x58], ecx
je 0x4e9298
mov ecx, dword [esi + 0x58]
mov edx, dword [ebp + 8]
movsd xmm0, qword [esi + 0x50]
mov dword [edx + 0x18], ecx
mov ecx, edx
movsd qword [edx + 0x10], xmm0
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 8], 0x3b9aca01
mov dword [esi + 0x140], 0xffffffff
push eax
call dword [sym.imp.ws2_32.dll_closesocket]
mov ecx, dword [ebp + 8]
jmp 0x4e9868
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x24]
cmp byte [edx + 0x58], 0
mov dword [esi + 0x68], eax
je 0x4e944a
mov dword [esi + 0x140], 1
lea eax, [esi + 0x68]
lea ecx, [esi + 0x28]
push 1
push eax
push ecx
call fcn.0053c440
add esp, 0xc
cmp byte [esi + 0x28], 4
mov edx, dword [ebp + 0x10]
je 0x4e944a
movsd xmm0, qword [esi + 0x28]
mov eax, dword [0x69b710]
movsd qword [esi + 0x10], xmm0
mov eax, dword [eax]
cmp eax, 3
ja 0x4e93f8
movzx eax, byte [0x69a3e0]
test al, al
je 0x4e93f8
movzx ecx, al
cmp ecx, 1
je 0x4e9330
cmp ecx, 2
jne 0x4e930e
mov al, 2
jmp 0x4e9330
mov dword [esi + 0x140], 7
push 0x69a3d8
call fcn.0059e2f0
add esp, 4
mov edx, dword [ebp + 0x10]
test al, al
je 0x4e93f8
mov ecx, dword [0x69a3d8]
movzx eax, al
mov dword [esi + 0x140], 7
push eax
push ecx
call fcn.005313d0
add esp, 8
mov edx, dword [ebp + 0x10]
test al, al
je 0x4e93f8
mov eax, dword [0x69a3d8]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4e9894
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 0x80], 0x6147cc
mov dword [esi + 0x84], 1
mov dword [esi + 0x90], 0
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x10]
lea edx, [esi + 0x18]
movlps qword [esi + 0x38], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x70], ecx
lea ecx, [esi + 0x70]
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], 1
mov dword [esi + 0x74], fcn.00579e60
mov dword [esi + 0x88], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x8c], 1
mov dword [esi + 0x18], ecx
lea ecx, [esi + 0x80]
mov dword [esi + 0x1c], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x20], 0x61467c
mov dword [esi + 0x58], ecx
lea ecx, [esi + 0x50]
push ecx
push eax
call fcn.00531b00
add esp, 8
mov edx, dword [ebp + 0x10]
cmp byte [esi + 0x10], 3
jne 0x4e944a
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [esi + 4], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x140], 4
mov dword [esi + 0xc], ecx
push ecx
mov dword [esi + 8], eax
call dword [eax]
add esp, 4
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4e9438
push dword [ecx + 8]
push eax
push dword [esi + 0xc]
call fcn.00407080
add esp, 0xc
push 4
push 0xc
push dword [esi + 4]
call fcn.00407080
add esp, 0xc
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
mov ecx, dword [ebp + 8]
je 0x4e9617
mov eax, dword [edx + 4]
mov dword [esi + 0x140], 1
lea ecx, [esi + 0x68]
lea edx, [esi + 0x28]
push eax
push ecx
push edx
call fcn.0053c460
add esp, 0xc
cmp byte [esi + 0x28], 4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
je 0x4e9617
mov ebx, dword [esi + 0x28]
mov edi, dword [esi + 0x2c]
mov eax, dword [0x69b710]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov eax, dword [eax]
cmp eax, 3
ja 0x4e95c6
movzx eax, byte [0x69a3d4]
test al, al
je 0x4e95c6
movzx ecx, al
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
cmp ecx, 1
je 0x4e94eb
cmp ecx, 2
jne 0x4e94c6
mov al, 2
jmp 0x4e94eb
mov dword [esi + 0x140], 6
push 0x69a3cc
call fcn.0059e2f0
add esp, 4
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
test al, al
je 0x4e95c0
mov ecx, dword [0x69a3cc]
movzx eax, al
mov dword [esi + 0x140], 6
push eax
push ecx
call fcn.005313d0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
test al, al
je 0x4e95c6
mov eax, dword [0x69a3cc]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4e98aa
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 0x80], 0x614800
mov dword [esi + 0x84], 1
mov dword [esi + 0x90], 0
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x10]
lea edx, [esi + 0x18]
movlps qword [esi + 0x38], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x70], ecx
lea ecx, [esi + 0x70]
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], 1
mov dword [esi + 0x74], fcn.00579e60
mov dword [esi + 0x88], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x8c], 1
mov dword [esi + 0x18], ecx
lea ecx, [esi + 0x80]
mov dword [esi + 0x1c], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x20], 0x61467c
mov dword [esi + 0x58], ecx
lea ecx, [esi + 0x50]
push ecx
push eax
call fcn.00531b00
add esp, 8
movzx ebx, byte [esi + 0x10]
mov edi, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
cmp bl, 3
jb 0x4e9617
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esi + 8], edi
mov dword [esi + 0x140], 3
mov dword [esi + 0xc], eax
push eax
mov dword [esi + 4], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4e9602
push dword [ecx + 8]
push eax
push dword [esi + 0xc]
call fcn.00407080
add esp, 0xc
push 4
push 0xc
push dword [esi + 8]
call fcn.00407080
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
cmp dword [edx + 8], 0
je 0x4e97d6
mov eax, dword [edx + 0xc]
mov dword [esi + 0x140], 1
lea ecx, [esi + 0x68]
lea edx, [esi + 0x28]
push eax
push ecx
push edx
call fcn.0053c480
add esp, 0xc
cmp byte [esi + 0x28], 4
mov ecx, dword [ebp + 8]
je 0x4e97d6
mov ebx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov eax, dword [0x69b710]
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], ebx
mov eax, dword [eax]
cmp eax, 3
ja 0x4e9788
movzx eax, byte [0x69a3c8]
test al, al
je 0x4e9788
movzx ecx, al
mov dword [esi + 8], edx
mov dword [esi + 4], ebx
cmp ecx, 1
je 0x4e96b3
cmp ecx, 2
jne 0x4e968e
mov al, 2
jmp 0x4e96b3
mov dword [esi + 0x140], 5
push 0x69a3c0
call fcn.0059e2f0
add esp, 4
mov edx, dword [esi + 8]
mov ebx, dword [esi + 4]
test al, al
je 0x4e9785
mov ecx, dword [0x69a3c0]
movzx eax, al
mov dword [esi + 0x140], 5
push eax
push ecx
call fcn.005313d0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 8]
mov ebx, dword [esi + 4]
test al, al
je 0x4e9788
mov eax, dword [0x69a3c0]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4e98c0
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 0x80], 0x614838
mov dword [esi + 0x84], 1
mov dword [esi + 0x90], 0
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x10]
movlps qword [esi + 0x38], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x70], ecx
lea ecx, [esi + 0x70]
mov dword [esi + 0x74], fcn.00579e60
mov dword [esi + 0x88], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x8c], 1
mov dword [esi + 0x18], ecx
lea ecx, [esi + 0x80]
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], 0x61467c
mov dword [esi + 0x50], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], ecx
lea ecx, [esi + 0x50]
push ecx
push eax
call fcn.00531b00
add esp, 8
movzx ebx, byte [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
cmp bl, 3
jb 0x4e97d6
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esi + 8], edx
mov dword [esi + 0x140], 2
mov dword [esi + 0xc], eax
push eax
mov dword [esi + 4], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4e97c4
push dword [ecx + 8]
push eax
push dword [esi + 0xc]
call fcn.00407080
add esp, 0xc
push 4
push 0xc
push dword [esi + 8]
call fcn.00407080
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x110], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esi + 0x118], xmm1
movsd qword [esi + 0x128], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esi + 0x120], xmm0
movsd xmm1, qword [esi + 0x11c]
mov eax, dword [esi + 0x12c]
movsd xmm0, qword [esi + 0x114]
movsd xmm2, qword [esi + 0x124]
movsd qword [ecx + 0x1c], xmm1
movsd xmm1, qword [esi + 0x10c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0x18]
movsd qword [ecx + 0x14], xmm0
movsd qword [ecx + 0x24], xmm2
movsd qword [ecx + 0xc], xmm1
mov dword [ecx], edx
mov edx, dword [esi + 0x68]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
mov dword [ecx + 0x30], edx
mov byte [ecx + 0x5c], 0
mov byte [ecx + 0x60], 0
mov eax, dword [esi + 0x138]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x614754
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersLitch1.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8hyper_0.14.27_srcclientconnecthttp.rs
call fcn.005a0a40
add esp, 0xc
jmp 0x4e98d4
push 0x61479c
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersLitch1.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8hyper_0.14.27_srcclientconnecthttp.rs
call fcn.005a0a40
add esp, 0xc
jmp 0x4e98d4
push 0x6147d4
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersLitch1.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8hyper_0.14.27_srcclientconnecthttp.rs
call fcn.005a0a40
add esp, 0xc
jmp 0x4e98d4
push 0x614808
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersLitch1.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8hyper_0.14.27_srcclientconnecthttp.rs
call fcn.005a0a40
add esp, 0xc
ud2