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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov esi, esp
mov dword [esi + 0x140], ebp
mov dword [esi + 0x144], esp
mov dword [esi + 0x150], 0xffffffff
mov dword [esi + 0x14c], 0x100fb410
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x148]
mov edx, dword fs:[0]
mov dword [esi + 0x148], edx
mov dword fs:[0], ecx
movsd xmm1, qword [eax + 0xa]
movzx ecx, word [eax]
movsd xmm0, qword [eax + 2]
movsd xmm2, qword [eax + 0x12]
movsd qword [esi + 0x128], xmm1
movsd xmm1, qword [eax + 0x18]
mov word [esi + 0x36], cx
test cx, cx
mov eax, 2
mov ecx, 0x17
movsd qword [esi + 0x130], xmm2
movsd qword [esi + 0x120], xmm0
cmove ecx, eax
lea eax, [esi + 0x38]
movsd qword [esi + 0x136], xmm1
push 6
push 1
push 1
push ecx
push eax
call fcn.10160200
add esp, 0x14
cmp byte [esi + 0x38], 4
jne 0x100fa747
mov eax, dword [esi + 0x3c]
jmp 0x100fa7ae
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, str.tcp_open_errortcp_set_nonblocking_error
mov dword [esi + 0x84], ecx
mov dword [esi + 0x80], eax
lea eax, [esi + 0x80]
lea ecx, [esi + 0x98]
push eax
push 0xe
call fcn.100f9c20
add esp, 8
mov ecx, dword [esi + 0x98]
mov eax, dword [esi + 0x9c]
test ecx, ecx
je 0x100fa7ae
mov edx, dword [ebp + 8]
mov ebx, dword [esi + 0xa0]
mov edi, dword [esi + 0xa4]
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 0x100fb155
mov dword [esi + 0x28], eax
mov byte [esi + 7], 1
mov dword [esi + 0x150], 0
lea ecx, [esi + 0x28]
lea eax, [esi + 0x58]
push 1
push ecx
push eax
call fcn.10160310
add esp, 0xc
cmp byte [esi + 0x58], 4
je 0x100fa839
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov byte [esi + 7], 1
mov edx, 0x101e51a6
mov dword [esi + 0x88], eax
lea eax, [esi + 0x88]
mov dword [esi + 0x8c], ecx
lea ecx, [esi + 0x98]
push eax
push 0x19
call fcn.100f9c20
add esp, 8
mov eax, dword [esi + 0x98]
movsd xmm0, qword [esi + 0x9c]
mov ecx, dword [esi + 0xa4]
test eax, eax
movsd qword [esi + 0x38], xmm0
mov dword [esi + 0x40], ecx
je 0x100fa839
mov ecx, dword [esi + 0x40]
mov edx, dword [ebp + 8]
movsd xmm0, qword [esi + 0x38]
jmp 0x100faba1
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x38]
cmp eax, 0x3b9aca00
je 0x100fa9ef
mov ecx, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov byte [esi + 7], 1
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], eax
lea eax, [esi + 0x98]
mov dword [esi + 0xb0], 0x3b9aca00
lea ecx, [esi + 0x6c]
push eax
lea eax, [esi + 0x28]
push eax
push ecx
call fcn.10160440
add esp, 0xc
cmp byte [esi + 0x6c], 4
je 0x100fa9ec
movsd xmm0, qword [esi + 0x6c]
mov eax, dword [0x1027032c]
movsd qword [esi + 0x2c], xmm0
mov eax, dword [eax]
cmp eax, 4
jae 0x100fa994
movzx eax, byte [0x1026f040]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x100fa8e4
test ecx, ecx
je 0x100fa994
mov dword [esi + 0x150], 9
push 0x1026f038
call fcn.101c84c0
add esp, 4
test al, al
je 0x100fa994
mov ecx, dword [0x1026f038]
movzx eax, al
mov dword [esi + 0x150], 9
push eax
push ecx
call fcn.10147240
add esp, 8
test al, al
je 0x100fa994
mov eax, dword [0x1026f038]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x100fb16b
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 0x38], 0x101e51ec
mov dword [esi + 0x3c], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0x2c]
movlps qword [esi + 0x60], xmm0
mov dword [esi + 0x68], 0
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x18], fcn.10194e70
mov dword [esi + 0x40], ecx
lea ecx, [esi + 0x74]
mov dword [esi + 0x44], 1
mov dword [esi + 0x1c], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], ecx
lea ecx, [esi + 0x58]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x78], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x7c], 0x101e4f40
push ecx
push eax
call fcn.10147e50
add esp, 8
cmp byte [esi + 0x2c], 3
jne 0x100fa9ec
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esi + 8], eax
mov eax, dword [eax]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x100fa9c3
mov dword [esi + 0x150], 8
push dword [esi + 0xc]
call eax
add esp, 4
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 4]
test eax, eax
je 0x100fa9dd
push dword [edx + 8]
push eax
push ecx
call fcn.10013870
add esp, 0xc
push 4
push 0xc
push dword [esi + 0x10]
call fcn.10013870
add esp, 0xc
mov edx, dword [ebp + 0x10]
cmp word [esi + 0x36], 0
je 0x100faa73
cmp byte [edx + 0x46], 0
mov ax, 1
mov dword [esi + 0x150], 0
je 0x100faace
movsd xmm0, qword [edx + 0x47]
movsd xmm1, qword [edx + 0x4f]
lea eax, [esi + 0x38]
mov byte [esi + 7], 1
lea ecx, [esi + 0x98]
movsd qword [esi + 0x44], xmm1
movsd qword [esi + 0x3c], xmm0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov word [esi + 0x54], 0
mov word [esi + 0x38], 1
push eax
push ecx
call fcn.101600f0
add esp, 8
lea ecx, [esi + 0x98]
mov byte [esi + 7], 1
lea eax, [esi + 0x1c]
push ecx
lea ecx, [esi + 0x28]
push ecx
push eax
call fcn.10160290
add esp, 0xc
jmp 0x100fab1d
movzx ecx, byte [edx + 0x41]
mov eax, dword [edx + 0x42]
mov dword [esi + 0x150], 0
test cl, 1
je 0x100faacc
mov dword [esi + 0x3a], eax
lea eax, [esi + 0x38]
mov word [esi + 0x3e], 0
mov word [esi + 0x38], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x98]
push eax
push ecx
call fcn.101600f0
add esp, 8
lea ecx, [esi + 0x98]
mov byte [esi + 7], 1
lea eax, [esi + 0x1c]
push ecx
lea ecx, [esi + 0x28]
push ecx
push eax
call fcn.10160290
add esp, 0xc
jmp 0x100fab1d
xor eax, eax
mov word [esi + 0x38], ax
xorps xmm0, xmm0
lea eax, [esi + 0x38]
mov dword [esi + 0x52], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x98]
movsd qword [esi + 0x3a], xmm0
movsd qword [esi + 0x42], xmm0
movsd qword [esi + 0x4a], xmm0
push eax
push ecx
call fcn.101600f0
add esp, 8
lea ecx, [esi + 0x98]
mov byte [esi + 7], 1
lea eax, [esi + 0x1c]
push ecx
lea ecx, [esi + 0x28]
push ecx
push eax
call fcn.10160290
add esp, 0xc
cmp byte [esi + 0x1c], 4
je 0x100fabc6
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov edx, ecx
shld ecx, eax, 0x18
shr edx, 8
cmp al, 4
je 0x100fabc6
shld edx, ecx, 8
shl ecx, 8
movzx eax, al
mov byte [esi + 7], 1
or eax, ecx
mov dword [esi + 0x94], edx
lea ecx, [esi + 0x98]
mov edx, str.tcp_bind_local_error
mov dword [esi + 0x90], eax
lea eax, [esi + 0x90]
push eax
push 0x14
call fcn.100f9c20
add esp, 8
mov eax, dword [esi + 0x98]
movsd xmm0, qword [esi + 0x9c]
mov ecx, dword [esi + 0xa4]
test eax, eax
movsd qword [esi + 0x58], xmm0
mov dword [esi + 0x60], ecx
je 0x100fabc6
mov ecx, dword [esi + 0x60]
mov edx, dword [ebp + 8]
movsd xmm0, qword [esi + 0x58]
mov dword [edx + 0x18], ecx
mov ecx, edx
movsd qword [edx + 0x10], xmm0
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], 0x3b9aca01
push dword [esi + 0x28]
call dword [sym.imp.ws2_32.dll_closesocket]
mov ecx, dword [ebp + 8]
jmp 0x100fb155
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x28]
cmp byte [edx + 0x58], 0
mov dword [esi + 0x6c], eax
je 0x100fad6f
mov dword [esi + 0x150], 1
lea eax, [esi + 0x6c]
lea ecx, [esi + 0x2c]
push 1
push eax
push ecx
call fcn.1015b700
add esp, 0xc
cmp byte [esi + 0x2c], 4
je 0x100fad6c
movsd xmm0, qword [esi + 0x2c]
mov eax, dword [0x1027032c]
movsd qword [esi + 0x14], xmm0
mov eax, dword [eax]
cmp eax, 4
jae 0x100fad14
movzx eax, byte [0x1026f034]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x100fac52
test ecx, ecx
je 0x100fad14
mov dword [esi + 0x150], 7
push 0x1026f02c
call fcn.101c84c0
add esp, 4
test al, al
je 0x100fad14
mov ecx, dword [0x1026f02c]
movzx eax, al
mov dword [esi + 0x150], 7
push eax
push ecx
call fcn.10147240
add esp, 8
test al, al
je 0x100fad14
mov eax, dword [0x1026f02c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x100fb181
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 0x98], 0x101e5238
mov dword [esi + 0x9c], 1
mov dword [esi + 0xa8], 0
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x14]
movlps qword [esi + 0x40], xmm0
mov dword [esi + 0x48], 0
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x74]
mov dword [esi + 0x78], fcn.10194e70
mov dword [esi + 0xa0], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0xa4], 1
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x98]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], 0x101e4f40
mov dword [esi + 0x58], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x5c], 1
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x58]
push ecx
push eax
call fcn.10147e50
add esp, 8
cmp byte [esi + 0x14], 3
jne 0x100fad6c
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esi + 8], eax
mov eax, dword [eax]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x100fad43
mov dword [esi + 0x150], 4
push dword [esi + 0xc]
call eax
add esp, 4
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 4]
test eax, eax
je 0x100fad5d
push dword [edx + 8]
push eax
push ecx
call fcn.10013870
add esp, 0xc
push 4
push 0xc
push dword [esi + 0x10]
call fcn.10013870
add esp, 0xc
mov edx, dword [ebp + 0x10]
test byte [edx], 1
mov ecx, dword [ebp + 8]
je 0x100faf39
mov eax, dword [edx + 4]
mov dword [esi + 0x150], 1
lea ecx, [esi + 0x6c]
lea edx, [esi + 0x2c]
push eax
push ecx
push edx
call fcn.1015b720
add esp, 0xc
cmp byte [esi + 0x2c], 4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
je 0x100faf39
mov ebx, dword [esi + 0x2c]
mov edi, dword [esi + 0x30]
mov eax, dword [0x1027032c]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov eax, dword [eax]
cmp eax, 4
jae 0x100faedf
movzx eax, byte [0x1026f028]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x100fae0a
test ecx, ecx
je 0x100faed9
mov dword [esi + 0x150], 6
push 0x1026f020
call fcn.101c84c0
add esp, 4
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 8]
test al, al
je 0x100faed9
mov ecx, dword [0x1026f020]
movzx eax, al
mov dword [esi + 0x150], 6
push eax
push ecx
call fcn.10147240
add esp, 8
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 8]
test al, al
je 0x100faed9
mov eax, dword [0x1026f020]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x100fb197
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 0x98], 0x101e526c
mov dword [esi + 0x9c], 1
mov dword [esi + 0xa8], 0
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x14]
movlps qword [esi + 0x40], xmm0
mov dword [esi + 0x48], 0
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x74]
mov dword [esi + 0x78], fcn.10194e70
mov dword [esi + 0xa0], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0xa4], 1
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x98]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], 0x101e4f40
mov dword [esi + 0x58], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x5c], 1
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x58]
push ecx
push eax
call fcn.10147e50
add esp, 8
movzx ebx, byte [esi + 0x14]
mov edi, dword [esi + 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
cmp bl, 3
jb 0x100faf39
mov eax, dword [edi]
mov dword [esi + 0xc], edi
mov dword [esi + 8], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x10], eax
mov eax, dword [eax]
test eax, eax
je 0x100faf0a
mov dword [esi + 0x150], 3
push dword [esi + 8]
call eax
add esp, 4
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [edx + 4]
test eax, eax
je 0x100faf24
push dword [edx + 8]
push eax
push ecx
call fcn.10013870
add esp, 0xc
push 4
push 0xc
push dword [esi + 0xc]
call fcn.10013870
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
test byte [edx + 8], 1
je 0x100fb0fa
mov eax, dword [edx + 0xc]
mov dword [esi + 0x150], 1
lea ecx, [esi + 0x6c]
lea edx, [esi + 0x2c]
push eax
push ecx
push edx
call fcn.1015b740
add esp, 0xc
cmp byte [esi + 0x2c], 4
mov ecx, dword [ebp + 8]
je 0x100fb0fa
mov ebx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov eax, dword [0x1027032c]
mov dword [esi + 0x18], edx
mov dword [esi + 0x14], ebx
mov eax, dword [eax]
cmp eax, 4
jae 0x100fb0a3
mov dword [esi + 0xc], edx
movzx eax, byte [0x1026f01c]
mov dword [esi + 8], ebx
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x100fafcc
test ecx, ecx
je 0x100fb09d
mov dword [esi + 0x150], 5
push 0x1026f014
call fcn.101c84c0
add esp, 4
mov ebx, dword [esi + 8]
test al, al
je 0x100fb09d
mov ecx, dword [0x1026f014]
movzx eax, al
mov dword [esi + 0x150], 5
push eax
push ecx
call fcn.10147240
add esp, 8
mov ebx, dword [esi + 8]
test al, al
je 0x100fb09d
mov eax, dword [0x1026f014]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x100fb1ad
mov edx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esi + 0x98], 0x101e52a4
mov dword [esi + 0x9c], 1
mov dword [esi + 0xa8], 0
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x14]
movlps qword [esi + 0x40], xmm0
mov dword [esi + 0x48], 0
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x74]
mov dword [esi + 0x78], fcn.10194e70
mov dword [esi + 0xa0], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0xa4], 1
mov dword [esi + 0x1c], ecx
lea ecx, [esi + 0x98]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], 0x101e4f40
mov dword [esi + 0x58], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x5c], 1
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x58]
push ecx
push eax
call fcn.10147e50
add esp, 8
movzx ebx, byte [esi + 0x14]
mov edx, dword [esi + 0x18]
mov ecx, dword [ebp + 8]
jmp 0x100fb0a3
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0xc]
cmp bl, 3
jb 0x100fb0fa
mov eax, dword [edx]
mov dword [esi + 0xc], edx
mov dword [esi + 8], eax
mov eax, dword [edx + 4]
mov dword [esi + 0x10], eax
mov eax, dword [eax]
test eax, eax
je 0x100fb0ce
mov dword [esi + 0x150], 2
push dword [esi + 8]
call eax
add esp, 4
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [edx + 4]
test eax, eax
je 0x100fb0e8
push dword [edx + 8]
push eax
push ecx
call fcn.10013870
add esp, 0xc
push 4
push 0xc
push dword [esi + 0xc]
call fcn.10013870
add esp, 0xc
mov ecx, dword [ebp + 8]
movsd xmm0, qword [esi + 0x136]
movsd xmm1, qword [esi + 0x130]
movsd xmm2, qword [esi + 0x120]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x1c]
movzx edi, word [esi + 0x36]
movsd qword [ecx + 0x28], xmm0
movsd qword [ecx + 0x22], xmm1
movsd xmm1, qword [esi + 0x128]
movsd qword [ecx + 0x12], xmm2
movsd qword [ecx + 0x1a], xmm1
mov dword [ecx + 4], edx
mov edx, dword [esi + 0x6c]
mov dword [ecx], eax
mov dword [ecx + 8], ebx
mov word [ecx + 0x10], di
mov dword [ecx + 0x30], edx
mov byte [ecx + 0x58], 0
mov byte [ecx + 0x5c], 0
mov eax, dword [esi + 0x148]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x101e51c0
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.30_src_bodylength.rs
call fcn.101cb830
add esp, 0xc
jmp 0x100fb1c1
push 0x101e5208
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.30_src_bodylength.rs
call fcn.101cb830
add esp, 0xc
jmp 0x100fb1c1
push 0x101e5240
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.30_src_bodylength.rs
call fcn.101cb830
add esp, 0xc
jmp 0x100fb1c1
push 0x101e5274
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.30_src_bodylength.rs
call fcn.101cb830
add esp, 0xc
ud2