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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x260
mov esi, esp
mov dword [esi + 0x248], ebp
mov dword [esi + 0x24c], esp
mov dword [esi + 0x258], 0xffffffff
mov dword [esi + 0x254], 0x10064b00
mov edx, dword [ebp + 0xc]
lea eax, [esi + 0x250]
mov ecx, dword fs:[0]
mov dword [esi + 0x250], ecx
mov dword fs:[0], eax
mov cl, 1
xor eax, eax
mov ebx, dword [edx]
lock cmpxchg byte [ebx], cl
mov dword [esi + 4], ebx
je 0x1005c586
mov byte [esi + 3], 1
mov dword [esi + 0x258], 0
push ebx
call fcn.101cba30
mov ebx, dword [esi + 4]
add esp, 4
mov eax, dword [0x10284a30]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x1005c66e
mov byte [esi + 3], 1
mov dword [esi + 0x258], 0
call fcn.101cb9a0
mov ebx, dword [esi + 4]
xor al, 1
mov dword [esi + 0x28], eax
movzx eax, byte [ebx + 1]
test al, al
jne 0x1005c681
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
lea eax, [esi + 0x198]
push 0xb0
push dword [ebp + 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x238]
mov ecx, dword [esi + 0x23c]
lea edx, [esi + 0x48]
mov dword [esi + 0x5c], edi
mov byte [esi + 2], 1
mov dword [esi + 0x258], 2
mov dword [esi + 0x80], ecx
mov dword [esi + 0x48], eax
lea ecx, [ebx + 0x158]
lea eax, [esi + 0x9c]
push edx
mov dword [esi + 0x24], ecx
push ecx
push eax
call fcn.101302b0
add esp, 0xc
cmp dword [esi + 0x9c], 0
je 0x1005c6bf
mov eax, dword [esi + 0xa4]
movsd xmm0, qword [esi + 0x9c]
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 4]
mov dword [esi + 0x78], eax
movsd qword [esi + 0x70], xmm0
cmp edx, dword [ecx + 0xbc]
jbe 0x1005c7c9
mov eax, dword [0x1027132c]
mov eax, dword [eax]
test eax, eax
je 0x1005ca90
mov eax, dword [ebp + 8]
mov byte [eax], 3
jmp 0x1005cce0
mov dword [esi + 0x28], 0
movzx eax, byte [ebx + 1]
test al, al
je 0x1005c5bf
mov eax, dword [esi + 0x28]
mov dword [esi + 0xa8], ebx
mov dword [esi + 0x258], 4
mov byte [esi + 0xac], al
lea eax, [esi + 0xa8]
push 0x101d815c
push 0x101d88d8
push eax
push 0x2b
push 0x101d88e8
call fcn.101ccb80
add esp, 0x14
jmp 0x1005ce76
mov eax, dword [0x1027132c]
mov eax, dword [eax]
cmp eax, 2
jae 0x1005ccb5
mov edi, dword [0x1027070c]
movzx eax, byte [edi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x1005c707
test ecx, ecx
je 0x1005ccb5
mov byte [esi + 2], 1
push edi
call fcn.101c9ee0
add esp, 4
mov edi, dword [0x1027070c]
test al, al
je 0x1005ccb5
mov ecx, dword [edi]
movzx eax, al
mov byte [esi + 2], 1
push eax
push ecx
call fcn.10149b60
add esp, 8
test al, al
mov eax, dword [0x1027070c]
je 0x1005ccb5
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
je 0x1005ce2a
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x1005ce2a
lea edi, [eax + 0x20]
mov dword [esi + 8], edx
lea ebx, [esi + 0x60]
movsd xmm0, qword [edi]
movsd qword [esi + 0xc], xmm0
mov edx, dword [edi + 8]
lea edi, [esi + 8]
mov dword [esi + 0xa8], 0x101d85c0
mov dword [esi + 0xac], 1
mov dword [esi + 0xb8], 0
mov dword [esi + 0xb0], ebx
lea ebx, [esi + 0xa8]
mov dword [esi + 0xb4], 0
mov byte [esi + 2], 1
mov dword [esi + 0x3c], edi
lea edi, [esi + 0x3c]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], 0x101d7f84
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x2c]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], 0
push ecx
push eax
call fcn.1014a450
add esp, 8
jmp 0x1005ccb5
lea eax, [esi + 0x70]
mov byte [esi + 2], 1
push eax
call fcn.10133910
add esp, 4
add eax, 0x20
mov byte [esi + 2], 1
lea ecx, [esi + 0xa8]
push eax
push ecx
call fcn.1013d450
add esp, 8
movzx ecx, byte [esi + 0xa8]
movzx eax, byte [esi + 0xa9]
cmp cl, 3
jne 0x1005ca5c
test al, 1
je 0x1005cbb0
mov eax, dword [esi + 4]
mov byte [esi + 2], 1
lea ecx, [eax + 0x38]
mov eax, dword [esi + 0x74]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x78]
mov dword [esi + 0x4c], eax
push ecx
lea eax, [esi + 0xa8]
push eax
call fcn.1013a1e0
add esp, 8
movzx eax, byte [esi + 0xa8]
cmp al, 3
jne 0x1005cd75
mov eax, dword [esi + 4]
mov byte [esi + 2], 1
add eax, 8
mov dword [esi + 0x58], eax
push eax
push 0
push dword [esi + 0x80]
push dword [esi + 0x54]
lea eax, [esi + 0xa8]
push eax
call fcn.101343d0
add esp, 0x14
movzx eax, byte [esi + 0xa8]
cmp al, 3
jne 0x1005cda6
cmp dword [esi + 0xac], 0
je 0x1005c663
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0xb0]
mov ecx, dword [ecx + 0x14c]
mov byte [esi + 2], 1
push eax
push ecx
push dword [esi + 0x80]
lea eax, [esi + 0xa8]
push eax
call fcn.1012e000
add esp, 0x10
lea eax, [esi + 0xa8]
mov byte [esi + 2], 1
lea ecx, [esi + 0x3c]
push eax
push dword [esi + 0x80]
push dword [esi + 0x24]
push ecx
call fcn.101302f0
add esp, 0x10
mov eax, dword [esi + 0x54]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x158], eax
push 0xb0
lea eax, [esi + 0x198]
push eax
lea edi, [esi + 0xa8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [esi + 0x58]
lea eax, [esi + 0x5c]
mov byte [esi + 2], 0
lea ecx, [esi + 8]
mov dword [esi + 0x15c], eax
push edi
lea eax, [esi + 0x3c]
push eax
call fcn.10058400
add esp, 8
movzx eax, byte [esi + 8]
cmp al, 3
jne 0x1005cde8
cmp dword [esi + 0xc], 1
jne 0x1005ca44
movsd xmm0, qword [esi + 0x10]
mov byte [esi + 2], 0
movaps xmmword [esi + 0x80], xmm0
push 0x101d8638
push dword [esi + 0x4c]
push dword [esi + 0x50]
push dword [esi + 0x24]
call fcn.10130670
add esp, 0x10
mov ecx, dword [eax + 0xc8]
mov dword [esi + 0x18], ecx
movsd xmm0, qword [eax + 0xb8]
movsd xmm1, qword [eax + 0xc0]
movsd qword [esi + 0x10], xmm1
movsd qword [esi + 8], xmm0
mov dword [eax + 0xb8], 0
movaps xmm1, xmmword [esi + 0x80]
mov eax, dword [esi + 0x24]
mov byte [esi + 2], 0
movlps qword [esi + 0xac], xmm1
mov dword [esi + 0xa8], eax
lea eax, [esi + 0xa8]
push eax
lea eax, [esi + 8]
push eax
call fcn.100732b0
add esp, 8
mov eax, dword [esi + 0x50]
movsd xmm0, qword [esi + 8]
movsd xmm1, qword [esi + 0x10]
mov byte [esi + 2], 0
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x4c]
movsd qword [esi + 0xb0], xmm1
movsd qword [esi + 0xa8], xmm0
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0xb8], eax
lea eax, [esi + 0x2c]
push eax
call fcn.101339a0
add esp, 4
mov ecx, dword [esi + 0xb8]
mov dword [eax + 0xc8], ecx
movsd xmm0, qword [esi + 0xa8]
movsd xmm1, qword [esi + 0xb0]
movsd qword [eax + 0xc0], xmm1
movsd qword [eax + 0xb8], xmm0
lea eax, [esi + 0x2c]
mov byte [esi + 2], 0
push eax
call fcn.101339a0
add esp, 4
mov byte [esi + 2], 0
push eax
call fcn.1012e760
add esp, 4
mov eax, dword [ebp + 8]
mov byte [eax], 3
cmp byte [esi + 0x28], 0
mov ecx, dword [esi + 4]
je 0x1005cd13
jmp 0x1005cd3f
movsd xmm0, qword [esi + 0xb8]
mov edx, dword [ebp + 8]
movsd xmm2, qword [esi + 0xaa]
movsd xmm1, qword [esi + 0xb2]
movsd qword [edx + 0x10], xmm0
movsd qword [edx + 0xa], xmm1
movsd qword [edx + 2], xmm2
mov byte [edx], cl
mov byte [edx + 1], al
jmp 0x1005cce0
mov edi, dword [0x10270704]
movzx eax, byte [edi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x1005cac8
test ecx, ecx
je 0x1005c663
mov byte [esi + 2], 1
push edi
call fcn.101c9ee0
add esp, 4
mov edi, dword [0x10270704]
test al, al
je 0x1005c663
mov ecx, dword [edi]
movzx eax, al
mov byte [esi + 2], 1
push eax
push ecx
call fcn.10149b60
add esp, 8
test al, al
mov eax, dword [0x10270704]
je 0x1005c663
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
je 0x1005ce44
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x1005ce44
mov dword [esi + 8], edx
lea edx, [eax + 0x20]
lea ebx, [esi + 0x48]
lea edi, [esi + 0x6c]
movsd xmm0, qword [edx]
movsd qword [esi + 0xc], xmm0
mov edx, dword [edx + 8]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 4]
mov dword [esi + 0x18], 0
mov edx, dword [edx + 0xbc]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0x10062bc0
mov dword [esi + 0x34], edi
lea edi, [esi + 8]
lea ebx, [esi + 0x2c]
mov dword [esi + 0xa8], 0x101d8670
mov dword [esi + 0xac], 3
mov dword [esi + 0xb8], 0
mov dword [esi + 0x38], 0x10062bc0
mov byte [esi + 2], 1
mov dword [esi + 0x60], edi
lea edi, [esi + 0x60]
mov dword [esi + 0xb0], ebx
lea ebx, [esi + 0xa8]
mov dword [esi + 0xb4], 2
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 1
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x3c]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], 0x101d7f84
mov dword [esi + 0x6c], edx
push ecx
push eax
call fcn.1014a450
add esp, 8
jmp 0x1005c663
mov eax, dword [0x1027132c]
mov eax, dword [eax]
cmp eax, 2
jae 0x1005ccb5
mov edi, dword [0x10270708]
movzx eax, byte [edi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x1005cbf8
test ecx, ecx
je 0x1005ccb5
mov byte [esi + 2], 1
push edi
call fcn.101c9ee0
add esp, 4
mov edi, dword [0x10270708]
test al, al
je 0x1005ccb5
mov ecx, dword [edi]
movzx eax, al
mov byte [esi + 2], 1
push eax
push ecx
call fcn.10149b60
add esp, 8
test al, al
mov eax, dword [0x10270708]
je 0x1005ccb5
mov eax, dword [eax]
cmp dword [eax + 0x20], 0
je 0x1005ce5e
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x1005ce5e
mov dword [esi + 8], edx
lea edx, [eax + 0x20]
lea edi, [esi + 8]
lea ebx, [esi + 0x60]
movsd xmm0, qword [edx]
movsd qword [esi + 0xc], xmm0
mov edx, dword [edx + 8]
mov dword [esi + 0x3c], edi
lea edi, [esi + 0x3c]
mov dword [esi + 0xa8], 0x101d8630
mov dword [esi + 0xac], 1
mov dword [esi + 0xb8], 0
mov dword [esi + 0xb0], ebx
lea ebx, [esi + 0xa8]
mov dword [esi + 0xb4], 0
mov byte [esi + 2], 1
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x2c]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], 0x101d7f84
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], 0
push ecx
push eax
call fcn.1014a450
add esp, 8
mov eax, dword [ebp + 8]
mov word [eax], 0x101
mov dword [eax + 4], 1
mov dword [eax + 8], 0x101d7ea4
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
lea ecx, [esi + 0x198]
mov dword [esi + 0x258], 3
call fcn.1000fcd0
lea ecx, [esi + 0x1d8]
mov dword [esi + 0x258], 1
call fcn.1002f930
cmp byte [esi + 0x28], 0
mov ecx, dword [esi + 4]
jne 0x1005cd3f
mov eax, dword [0x10284a30]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x1005cd3f
mov byte [esi + 3], 0
mov dword [esi + 0x258], 0
call fcn.101cb9a0
mov ecx, dword [esi + 4]
test al, al
jne 0x1005cd3f
mov byte [ecx + 1], 1
xor eax, eax
xchg byte [ecx], al
cmp al, 2
jne 0x1005cd5e
mov byte [esi + 3], 0
mov dword [esi + 0x258], 0
push ecx
call fcn.101cbad0
add esp, 4
mov eax, dword [esi + 0x250]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esi + 0xb8]
mov ecx, dword [ebp + 8]
movsd xmm2, qword [esi + 0xa9]
movsd xmm1, qword [esi + 0xb1]
movsd qword [ecx + 0x10], xmm0
movsd qword [ecx + 9], xmm1
movsd qword [ecx + 1], xmm2
mov byte [ecx], al
jmp 0x1005cce0
movzx ecx, byte [esi + 0xab]
mov edx, dword [ebp + 8]
movzx ebx, word [esi + 0xa9]
movsd xmm0, qword [esi + 0xb4]
mov edi, dword [esi + 0xbc]
mov byte [edx + 3], cl
mov word [edx + 1], bx
movsd qword [edx + 0xc], xmm0
movsd xmm0, qword [esi + 0xac]
mov dword [edx + 0x14], edi
mov byte [edx], al
movsd qword [edx + 4], xmm0
jmp 0x1005cce0
movzx ecx, word [esi + 9]
mov edx, dword [ebp + 8]
movsd xmm0, qword [esi + 0xc]
mov edi, dword [esi + 0x1c]
mov word [edx + 1], cx
movzx ecx, byte [esi + 0xb]
mov byte [edx + 3], cl
mov ecx, dword [esi + 0x14]
mov byte [edx], al
movsd qword [edx + 4], xmm0
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x18]
mov dword [edx + 0x14], edi
mov dword [edx + 0x10], ecx
cmp byte [esi + 0x28], 0
mov ecx, dword [esi + 4]
je 0x1005cd13
jmp 0x1005cd3f
mov byte [esi + 2], 1
push 0x101d8550
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srcproto_streams_recv.rs
call fcn.101cc830
add esp, 0xc
jmp 0x1005ce76
mov byte [esi + 2], 1
push 0x101d8648
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srcproto_streams_recv.rs
call fcn.101cc830
add esp, 0xc
jmp 0x1005ce76
mov byte [esi + 2], 1
push 0x101d85c8
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srcproto_streams_recv.rs
call fcn.101cc830
add esp, 0xc
ud2