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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
lea edi, [esp + 0x10]
mov esi, edx
mov edx, ecx
mov ecx, edi
call fcn.004690a4
mov ecx, dword [edi]
test ecx, ecx
mov eax, ecx
mov dword [esp + 0xc8], ecx
je 0x4d9cbb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x4da70c
lea ebx, [esp + 0x10]
mov edx, esi
mov al, byte [ebx + 8]
mov edi, dword [ebx + 4]
mov ecx, ebx
mov byte [esp + 0x37], al
call fcn.0048dedc
cmp dword [ebx], 0
jne 0x4da72a
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x18]
cmp byte [edi + 0xc8], 3
mov edx, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x98], eax
mov byte [esp + 0x36], cl
jne 0x4d9d51
lea esi, [edx + 0xc8]
lea edi, [esp + 0xd0]
push 0xb
pop edx
mov ecx, edi
push 0x2a
push str.connection_closed_because_of_a_broken_pipe
call fcn.00514804
pop eax
pop ecx
lea ebx, [esp + 0x10]
mov edx, edi
mov ecx, ebx
call fcn.0046bbc6
mov ecx, esi
call fcn.004da756
movsd xmm0, qword [ebx + 0x10]
mov edx, dword [esp + 0xc]
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [0x7f50bc]
cmp eax, 5
jb 0x4d9e61
mov esi, dword [0x7f236c]
lea edi, [esp + 0x3c]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [edi], 5
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
call fcn.00513e14
mov ebx, eax
push edi
push eax
mov dword [esp + 0x10], edx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4d9e5d
mov eax, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov ecx, dword [0x7f236c]
mov dword [esp + 0xb8], eax
movsd qword [esp + 0xb0], xmm0
lea eax, [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [esp + 4], eax
test edx, edx
je 0x4d9de0
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
and dword [esp + 0x20], 0
jmp 0x4d9de2
xor eax, eax
lea edi, [esp + 0x10]
lea ecx, [esp + 0xd0]
mov dword [edi], eax
mov edx, edi
push 0x73b90c
call fcn.0052f9f9
pop eax
xor eax, eax
lea ecx, [esp + 0x58]
lea edx, [esp + 0xd0]
mov dword [edi], str.Streams::recv_eof
inc eax
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov dword [ecx + 8], 0x737ff8
mov edx, ebx
mov dword [edi + 4], eax
and dword [edi + 0x10], 0
mov dword [edi + 8], 0x7b0e68
and dword [edi + 0xc], 0
lea edi, [esp + 0x9c]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [esp + 4]
mov ecx, esi
mov dword [edi + 8], eax
lea eax, [esp + 0xb0]
push edi
push eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
mov edx, dword [esp + 0xc]
lea eax, [edx + 8]
lea esi, [edx + 0x158]
lea ecx, [edx + 0xe8]
xor ebx, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], esi
mov esi, dword [edx + 0x180]
mov dword [esp + 0x48], ecx
add eax, 8
mov dword [esp + 0x4c], eax
cmp ebx, esi
jae 0x4da120
mov ecx, dword [edx + 0x16c]
mov edx, dword [edx + 0x170]
push ebx
call fcn.0046bb1d
pop ecx
test eax, eax
je 0x4da720
mov dword [esp + 0x54], esi
mov esi, dword [esp + 8]
mov ecx, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x70], esi
lea esi, [esp + 0x70]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov ecx, esi
call fcn.00475272
mov edi, dword [eax + 0x18]
mov ecx, esi
call fcn.0047528a
cmp byte [eax + 0x20], 6
mov esi, eax
jb 0x4da0c2
lea ebx, [esi + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0xf0], ebx
mov eax, dword [0x7f50bc]
cmp eax, 5
jb 0x4da072
mov edi, dword [0x7f1788]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call fcn.00513e14
mov ecx, eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x88], ecx
push ecx
mov dword [esp + 0x90], edx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4da072
mov eax, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov dword [esp + 0x80], edi
mov edi, dword [0x7f1788]
mov dword [esp + 0xb8], eax
movsd qword [esp + 0xb0], xmm0
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4d9fb3
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0xc4], edx
mov edx, dword [edi + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
and dword [esp + 0x20], 0
jmp 0x4d9fb5
xor eax, eax
add edi, 0x1c
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x10]
push 0x71add4
call fcn.0052f9f9
pop eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0xf0]
mov dword [esp + 0x10], 0x71adf4
mov edx, dword [esp + 0x84]
mov dword [esp + 0x9c], eax
xor eax, eax
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x90], 0x469190
inc eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x14], eax
and dword [esp + 0x20], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xd0]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xa4], edi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x60], 0x70f404
push eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x90]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
lea edi, [esp + 0xd0]
mov ecx, edi
push 0xb
pop edx
push 0x26
push str.stream_closed_because_of_a_broken_pipe
call fcn.00514804
pop eax
pop ecx
lea ecx, [esp + 0x10]
mov edx, edi
call fcn.0046bbc6
mov ecx, ebx
call fcn.0046ab0a
movsd xmm0, qword [esp + 0x20]
mov edi, dword [esp + 0x38]
movsd qword [ebx + 0x10], xmm0
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
xor ebx, ebx
cmp edi, 0x3b9aca00
mov ecx, esi
setne bl
call fcn.0047713c
mov ecx, esi
call fcn.0047ace9
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x48]
push esi
lea edi, [esp + 0x74]
push edi
call fcn.004da760
pop eax
pop ecx
mov edx, edi
mov ecx, esi
push ebx
call fcn.00475311
pop eax
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov eax, dword [edx + 0x180]
cmp eax, esi
sbb ebx, 0xffffffff
cmp eax, esi
sbb esi, 0
jmp 0x4d9e92
lea ebx, [edx + 0x60]
lea edi, [esp + 0x70]
mov dword [esp + 0x4c], ebx
mov ecx, edi
mov edx, ebx
push dword [esp + 8]
call fcn.0047c0bf
pop eax
cmp dword [esp + 0x70], 0
je 0x4da2ce
mov ecx, edi
call fcn.00475272
mov esi, dword [eax + 0x18]
mov eax, dword [0x7f50bc]
cmp eax, 5
jb 0x4da2b1
mov ebx, dword [0x7f16d4]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call fcn.00513e14
mov ecx, eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x54], ecx
push ecx
mov dword [esp + 0x5c], edx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4da2ad
mov eax, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x3c]
mov edi, dword [0x7f16d4]
mov dword [esp + 0xb8], eax
movsd qword [esp + 0xb0], xmm0
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4da1ee
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
and dword [esp + 0x20], 0
jmp 0x4da1f0
xor eax, eax
add edi, 0x1c
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x10]
push 0x71a988
call fcn.0052f9f9
pop eax
lea ecx, [esp + 0x70]
call fcn.00475272
add eax, 0xcc
lea ecx, [esp + 0x8c]
mov dword [esp + 0x10], 0x71a9c4
mov edx, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x90], fcn.004694b4
mov dword [esp + 0x9c], eax
xor eax, eax
inc eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x14], eax
and dword [esp + 0x20], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xa4], edi
lea edi, [esp + 0x70]
mov ecx, ebx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x60], 0x70f404
push eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x5c]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 4]
xor eax, eax
cmp esi, 0x3b9aca00
mov edx, edi
setne al
push eax
call fcn.00475311
pop eax
jmp 0x4da12b
mov eax, dword [esp + 0xc]
lea edi, [esp + 0x10]
lea esi, [eax + 0x88]
mov ecx, edi
mov edx, esi
push dword [esp + 8]
call fcn.0047baf5
pop eax
cmp dword [esp + 0x10], 0
je 0x4da301
mov ecx, dword [esp + 4]
mov edx, edi
push 1
call fcn.00475311
pop eax
jmp 0x4da2dc
cmp byte [ebp + 8], 0
je 0x4da337
mov eax, dword [esp + 0xc]
lea edi, [esp + 0x10]
lea esi, [eax + 0x74]
mov ecx, edi
mov edx, esi
push dword [esp + 8]
call fcn.00477f73
pop eax
cmp dword [esp + 0x10], 0
je 0x4da337
mov ecx, dword [esp + 4]
mov edx, edi
push 0
call fcn.00475311
pop eax
jmp 0x4da312
mov eax, dword [0x7f150c]
lea esi, [esp + 0xd0]
lea edi, [esp + 0x10]
mov dword [esi], fcn.00414ed0
and dword [esi + 4], 0
mov dword [edi + 8], 2
mov ecx, edi
mov edx, esi
mov dword [edi + 0x18], eax
add eax, 0x1c
mov dword [esi + 8], eax
call fcn.005de0b3
movsd xmm1, qword [edi + 8]
movsd xmm0, qword [edi]
movsd xmm2, qword [edi + 0x10]
movsd qword [esi + 8], xmm1
movsd xmm1, qword [edi + 0x18]
movsd qword [esi], xmm0
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 0x18], xmm1
cmp dword [esi + 8], 2
je 0x4da3a9
lea ecx, [esp + 0xd8]
lea edx, [esp + 0xd0]
call fcn.005de28d
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x4da41a
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], 0x767490
mov dword [esp + 0x14], 2
and dword [esp + 0x20], 0
mov edx, str.tracing::span::active__
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0xd0]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0xa0], fcn.005d37d7
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 1
push eax
push 0x15
call fcn.0046f5dc
pop eax
pop ecx
mov eax, dword [esp + 0xc]
lea ebx, [esp + 0xf0]
lea esi, [eax + 0x104]
lea ecx, [eax + 0xf0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x7c], esi
mov ecx, ebx
mov edx, esi
push dword [esp + 8]
call fcn.004789ed
pop eax
cmp dword [esp + 0xf0], 0
je 0x4da65b
mov ecx, ebx
call fcn.00475272
mov edi, dword [eax + 0x18]
mov eax, dword [0x7f50bc]
cmp eax, 5
jb 0x4da63e
mov ecx, dword [0x7f1518]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x50], ecx
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x8c], 5
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
call fcn.00513e14
mov ecx, eax
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x4c], ecx
push ecx
mov dword [esp + 0x54], edx
call dword [edx + 0xc]
add esp, 8
test al, al
je 0x4da63e
mov eax, dword [esp + 0x94]
movsd xmm0, qword [esp + 0x8c]
mov esi, dword [0x7f1518]
mov dword [esp + 0x78], eax
movsd qword [esp + 0x70], xmm0
mov ebx, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
test ebx, ebx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edx
je 0x4da51d
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
and dword [esp + 0x20], 0
xor eax, eax
inc eax
mov dword [esp + 0x38], eax
mov eax, ecx
jmp 0x4da527
mov dword [esp + 0x38], 0
xor eax, eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x10]
push 0x719c14
call fcn.0052f9f9
pop eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], 0x719c3c
mov dword [esp + 0x14], 1
and dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x7b0e68
and dword [esp + 0x1c], 0
mov eax, 0
cmp ecx, ebx
jae 0x4da595
mov eax, dword [esp + 0x84]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x68], ecx
add esi, 0x1c
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x58]
push 0x719c14
call fcn.0052f9f9
pop eax
lea ebx, [esp + 0xf0]
mov ecx, ebx
call fcn.00475272
add eax, 0xcc
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x60], 0x70f404
mov dword [esp + 0x64], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x6c], 0x719bb4
push eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x54]
push dword [eax + 0x10]
call fcn.005de194
add esp, 0xc
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 4]
xor eax, eax
cmp edi, 0x3b9aca00
mov edx, ebx
setne al
push eax
call fcn.00475311
pop eax
jmp 0x4da439
lea esi, [esp + 0xd0]
mov ecx, esi
call fcn.0046f9d3
mov ecx, esi
call fcn.004d9b3b
lea esi, [esp + 0x10]
mov edx, dword [esp + 0x54]
mov ecx, esi
push dword [esp + 8]
call fcn.0047c013
pop eax
cmp dword [esp + 0x10], 0
je 0x4da6ad
mov ecx, esi
call fcn.00475272
xor ebx, ebx
cmp dword [eax + 0x18], 0x3b9aca00
mov ecx, dword [esp + 4]
mov edx, esi
setne bl
push ebx
call fcn.00475311
pop eax
jmp 0x4da674
mov eax, dword [esp + 0xc]
lea edi, [esp + 0x10]
lea esi, [eax + 0x118]
mov ecx, edi
mov edx, esi
push dword [esp + 8]
call fcn.00478a99
pop eax
cmp dword [esp + 0x10], 0
je 0x4da6f2
mov ecx, edi
call fcn.00475272
xor ebx, ebx
cmp dword [eax + 0x18], 0x3b9aca00
mov ecx, dword [esp + 4]
mov edx, edi
setne bl
push ebx
call fcn.00475311
pop eax
jmp 0x4da6bb
movzx edx, byte [esp + 0x36]
mov ecx, dword [esp + 0x98]
call fcn.004bd038
movzx edx, byte [esp + 0x37]
mov ecx, dword [esp + 0xc]
call fcn.004bd038
mov eax, dword [esp + 0xc8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x73b23c
call fcn.0062d7f0
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x18]
lea esi, [esp + 0xd0]
mov dword [esi], eax
mov byte [esi + 4], cl
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x73b8d0
push 0x73c3e4
push esi
call fcn.0062d770