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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x220
mov esi, esp
mov dword [esi + 0x208], ebp
mov dword [esi + 0x20c], esp
mov dword [esi + 0x218], 0xffffffff
mov dword [esi + 0x214], 0x1006be10
lea eax, [esi + 0x210]
mov ecx, dword fs:[0]
mov dword [esi + 0x210], ecx
mov dword fs:[0], eax
mov eax, dword [0x1027032c]
mov eax, dword [eax]
test eax, eax
je 0x1005c678
lea eax, [esi + 0x10]
mov dword [esi + 0x10], 2
mov dword [esi + 0x20], 0
mov dword [esi + 4], eax
mov dword [esi + 0x218], 1
jmp 0x1005c405
lea ecx, [esi + 0x98]
mov dword [esi + 0x218], 1
call fcn.10061c00
push dword [ebp + 0x10]
call fcn.10124df0
add esp, 4
add eax, 0x64
push dword [ebp + 0xc]
push eax
lea eax, [esi + 0x150]
push eax
call fcn.10033c90
add esp, 0xc
cmp byte [esi + 0x150], 9
je 0x1005c592
push 0xb8
lea eax, [esi + 0x150]
push eax
lea eax, [esi + 0x98]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [0x1027032c]
mov eax, dword [eax]
test eax, eax
jne 0x1005c3f0
mov eax, dword [0x1026fd3c]
movzx eax, byte [eax + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jb 0x1005c495
test ecx, ecx
je 0x1005c3f0
mov dword [esi + 0x218], 2
push dword [0x1026fd3c]
call fcn.101c84c0
add esp, 4
test al, al
je 0x1005c3f0
mov ecx, dword [0x1026fd3c]
movzx eax, al
mov dword [esi + 0x218], 2
mov ecx, dword [ecx]
push eax
push ecx
call fcn.10147240
add esp, 8
test al, al
je 0x1005c3f0
mov eax, dword [0x1026fd3c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1005c78f
mov ebx, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov edi, dword [eax + 0x28]
cmp ecx, 1
mov dword [esi + 0x34], 0x101d768c
mov dword [esi + 0x38], 1
mov dword [esi + 0x44], 0
mov dword [esi + 0x3c], 4
mov dword [esi + 0x40], 0
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], 0
je 0x1005c779
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ecx
mov dword [esi + 0x8c], edx
mov dword [esi + 0x90], edi
lea edi, [esi + 0x4c]
lea ecx, [eax + 0x1c]
mov dword [esi + 0x94], 1
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], 2
mov dword [esi + 0x6c], ecx
lea ecx, [esi + 0x98]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x70]
mov dword [esi + 0x4c], ecx
lea ecx, [esi + 0x34]
mov dword [esi + 0x50], ecx
lea ecx, [esi + 0x84]
mov dword [esi + 0x54], 0x101d7108
mov dword [esi + 0x58], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0x64]
mov dword [esi + 0x60], 0x101d7694
push ecx
push eax
call fcn.10147e50
add esp, 8
jmp 0x1005c3f0
push dword [ebp + 0x10]
call fcn.10124df0
add esp, 4
mov dword [eax + 0xd8], 0
push dword [ebp + 0x10]
call fcn.10124df0
add esp, 4
mov ebx, dword [ebp + 8]
mov dword [eax + 0xd4], 0
cmp dword [ebx + 0x3c], 1
jne 0x1005c5f9
movq xmm0, qword [ebx + 0x40]
mov edx, dword [ebp + 0x10]
movd eax, xmm0
shufps xmm0, xmm0, 0x55
movd ecx, xmm0
movq xmm0, qword [edx + 4]
movd edx, xmm0
shufps xmm0, xmm0, 0x55
movd edi, xmm0
xor edx, eax
xor edi, ecx
or edx, edi
jne 0x1005c5f9
mov dword [ebx + 0x3c], 2
cmp dword [esi + 0x10], 2
je 0x1005c664
lea eax, [esi + 8]
mov dword [esi + 0x218], 0
push eax
push dword [esi + 4]
call fcn.10148340
add esp, 8
mov eax, dword [esi + 0x10]
cmp eax, 2
je 0x1005c664
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x218], 3
push ecx
push eax
push dword [esi + 4]
call fcn.10148370
add esp, 0xc
cmp dword [esi + 0x2c], 0
je 0x1005c664
mov eax, dword [esi + 0x14]
lock dec dword [eax]
jne 0x1005c664
lea eax, [esi + 0x14]
mov dword [esi + 0x218], 0xffffffff
push eax
call fcn.100067e0
add esp, 4
mov eax, dword [esi + 0x210]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [0x1026fd38]
movzx eax, byte [edi + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1005c75b
movzx eax, al
push eax
push dword [edi]
call fcn.10147240
add esp, 8
test al, al
je 0x1005c3c9
mov edi, dword [edi]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1005c7a5
mov ecx, dword [edi + 0x1c]
movsd xmm0, qword [edi + 0x24]
lea ebx, [edi + 0x1c]
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], eax
movlps qword [esi + 0xa0], xmm0
mov dword [esi + 0xa8], 0
push dword [ebp + 0x10]
call fcn.10124d60
add esp, 4
add eax, 0xcc
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x98]
mov dword [esi + 0x150], eax
lea eax, [esi + 0x4c]
mov dword [esi + 0x154], eax
lea eax, [esi + 0x150]
mov dword [esi + 0x158], 0x101d7664
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 1
mov dword [esi + 0x3c], ebx
lea eax, [esi + 0x34]
lea ebx, [esi + 8]
push eax
push edi
push ebx
call fcn.10146f30
add esp, 0xc
cmp dword [esi + 0x10], 2
lea eax, [esi + 0x10]
mov dword [esi + 4], eax
je 0x1005c3dd
mov dword [esi + 0x218], 0
push ebx
push eax
call fcn.10148310
add esp, 8
jmp 0x1005c3dd
test ecx, ecx
je 0x1005c3c9
push edi
call fcn.101c84c0
add esp, 4
test al, al
jne 0x1005c691
jmp 0x1005c3c9
push 0x101d7674
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
add esp, 0xc
jmp 0x1005c7a3
push 0x101d7674
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
add esp, 0xc
ud2
push 0x101d7654
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 word cs:[eax + eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x21c]
mov ebp, dword [esi + 0x208]
cmp dword [esi + 0x10], 2
je 0x1005c7e5
lea eax, [esi + 8]
push eax
push dword [esi + 4]
call fcn.10148340
add esp, 8
add esp, 0xc
pop ebp
ret