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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], esp
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x7c], 0x1006be50
lea eax, [esi + 0x78]
mov ecx, dword fs:[0]
mov dword [esi + 0x78], ecx
mov dword fs:[0], eax
mov eax, dword [0x1027032c]
mov eax, dword [eax]
test eax, eax
je 0x1005fc8a
lea eax, [esi + 0x10]
mov dword [esi + 0x10], 2
mov dword [esi + 0x20], 0
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x80], 1
add eax, 0x48
push ecx
push eax
call fcn.10129fd0
add esp, 8
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [esi + 0x60], eax
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], 0
jle 0x1005fbc1
push dword [ebp + 0x10]
push dword [esi + 0x60]
lea eax, [esi + 0x38]
push eax
call fcn.1006d190
add esp, 0xc
cmp dword [esi + 0x38], 0
je 0x1005fc10
mov eax, dword [esi + 0x40]
movsd xmm0, qword [esi + 0x38]
mov dword [esi + 0x58], eax
mov dword [esi + 0x30], eax
lea eax, [esi + 0x28]
movsd qword [esi + 0x50], xmm0
movsd qword [esi + 0x28], xmm0
push eax
call fcn.10124d60
add esp, 4
movzx edx, byte [eax + 0x20]
mov edi, 6
add dl, 0xfa
movzx ecx, dl
cmp dl, 6
cmovae ecx, edi
cmp cl, 3
je 0x1005fb50
movzx ecx, cl
cmp ecx, 5
jne 0x1005fb56
cmp byte [eax + 0x21], 1
jne 0x1005fb56
jmp 0x1005fb6f
cmp byte [eax + 0x21], 0
jne 0x1005fb6f
lea eax, [esi + 0x28]
push eax
call fcn.10124d60
add esp, 4
cmp dword [eax + 0xd8], 0
je 0x1005fad0
lea eax, [esi + 0x50]
push eax
call fcn.10124d60
add esp, 4
mov eax, dword [eax + 0x18]
mov dword [esi + 4], eax
lea eax, [esi + 0x50]
push eax
push dword [ebp + 8]
call fcn.101275d0
add esp, 8
xor eax, eax
cmp dword [esi + 4], 0x3b9aca00
mov ecx, dword [esi + 0x58]
movsd xmm0, qword [esi + 0x50]
setne al
mov dword [esi + 0x40], ecx
movsd qword [esi + 0x38], xmm0
push eax
lea eax, [esi + 0x38]
push eax
push dword [ebp + 0x14]
call fcn.101298c0
add esp, 0xc
jmp 0x1005fad0
cmp dword [esi + 0x10], 2
je 0x1005fc79
lea eax, [esi + 8]
mov dword [esi + 0x80], 0
push eax
push dword [esi]
call fcn.10148340
add esp, 8
mov eax, dword [esi + 0x10]
cmp eax, 2
je 0x1005fc79
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x80], 3
push ecx
push eax
push dword [esi]
call fcn.10148370
add esp, 0xc
jmp 0x1005fc55
cmp dword [esi + 0x10], 2
je 0x1005fc79
lea eax, [esi + 8]
mov dword [esi + 0x80], 0
push eax
push dword [esi]
call fcn.10148340
add esp, 8
mov eax, dword [esi + 0x10]
cmp eax, 2
je 0x1005fc79
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x80], 2
push ecx
push eax
push dword [esi]
call fcn.10148370
add esp, 0xc
cmp dword [esi + 4], 0
je 0x1005fc79
mov eax, dword [esi + 0x14]
lock dec dword [eax]
jne 0x1005fc79
lea eax, [esi + 0x14]
mov dword [esi + 0x80], 0xffffffff
push eax
call fcn.100067e0
add esp, 4
mov eax, dword [esi + 0x78]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [0x1026fd20]
movzx eax, byte [edi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1005fd3e
movzx eax, al
push eax
push dword [edi]
call fcn.10147240
add esp, 8
test al, al
je 0x1005fa8a
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x1005fd5c
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
lea ebx, [ebp + 0xc]
mov dword [esi + 0x38], edi
lea edi, [esi + 0x38]
mov dword [esi + 0x3c], edx
movlps qword [esi + 0x40], xmm0
mov dword [esi + 0x48], 0
mov dword [esi + 0x28], edi
lea edi, [esi + 0x28]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0x101d77f8
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], ecx
lea ecx, [esi + 0x64]
lea edi, [esi + 8]
push ecx
push eax
push edi
call fcn.10146f30
add esp, 0xc
cmp dword [esi + 0x10], 2
lea eax, [esi + 0x10]
mov dword [esi], eax
je 0x1005fa9d
mov dword [esi + 0x80], 0
push edi
push eax
call fcn.10148310
add esp, 8
jmp 0x1005fa9d
test ecx, ecx
je 0x1005fa8a
push edi
call fcn.101c84c0
add esp, 4
test al, al
jne 0x1005fca3
jmp 0x1005fa8a
push 0x101d77e8
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.30_srcprotoh1dispatch.rs
call fcn.101cb830
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x84]
mov ebp, dword [esi + 0x70]
lea ecx, [esi + 8]
call fcn.10039340
add esp, 0xc
pop ebp
ret