Function at 0x460f91
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 ebx, edx
mov eax, dword [edx]
add eax, 0xfffffffa
cmp eax, 2
ja 0x46125a
cmp eax, 1
je 0x46125a
test eax, eax
jne 0x46126f
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 8]
mov dword [ebx], 8
cmp eax, 1
ja 0x461275
lea ecx, [ebx + 8]
mov dword [esp + 0x18], ecx
lea ecx, [ebx + 0xc]
lea edx, [esp + 0x14c]
mov dword [edx - 4], eax
push 0x10c
push ecx
push edx
call fcn.004b64b0
add esp, 0xc
lea edx, [esp + 0x24c]
lea eax, [esp + 0x200]
movzx edi, byte [eax + 0x50]
lea esi, [esp + 0xdc]
mov ecx, esi
push edi
push eax
call fcn.0044e9e3
add esp, 8
cmp byte [esi], 3
jne 0x46105c
mov ecx, 4
call fcn.00426cc9
mov esi, eax
mov ecx, eax
mov edx, 0x4f5f57
push 0x1d
call fcn.00426d31
add esp, 4
lea ecx, [esp + 0x148]
call fcn.00460725
mov edi, 5
mov byte [esp + 0xa], 2
jmp 0x46116c
movups xmm0, xmmword [esp + 0xdc]
movups xmm1, xmmword [esp + 0xe8]
movups xmmword [esp + 0x6c], xmm1
movaps xmmword [esp + 0x60], xmm0
lea edi, [esp + 0xf8]
lea eax, [esp + 0x148]
mov ecx, 0x14
mov esi, eax
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [eax + 0xf4]
movups xmmword [esp + 0xcc], xmm0
movups xmm0, xmmword [eax + 0xe8]
movaps xmmword [esp + 0xc0], xmm0
movups xmm0, xmmword [eax + 0xd8]
movaps xmmword [esp + 0xb0], xmm0
mov cl, byte [eax + 0x109]
mov byte [esp + 0xb], cl
mov ecx, dword [eax + 0x104]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0xd0]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0xd4]
mov dword [esp + 0xc], ecx
movups xmm0, xmmword [eax + 0x58]
movaps xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [eax + 0x68]
movaps xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [eax + 0x78]
movaps xmmword [esp + 0x40], xmm0
mov cl, byte [eax + 0x8c]
mov byte [esp + 0xa], cl
movups xmm0, xmmword [eax + 0xa8]
movups xmmword [esp + 0x9b], xmm0
movups xmm0, xmmword [eax + 0x9d]
movaps xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [eax + 0x8d]
movaps xmmword [esp + 0x80], xmm0
mov edi, dword [eax + 0x50]
mov esi, dword [eax + 0x54]
mov edx, dword [eax + 0xbc]
mov ecx, dword [eax + 0xb8]
call fcn.004224d1
lea eax, [esp + 0x214]
mov ecx, dword [eax - 0xc]
push dword [eax - 4]
push dword [eax - 8]
push eax
call dword [ecx + 8]
add esp, 0xc
mov ecx, ebx
call fcn.00460488
mov edx, edi
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x30], eax
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [ecx + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x20]
movaps xmm1, xmmword [esp + 0x30]
movups xmmword [ecx + 0x10], xmm1
movups xmmword [ecx], xmm0
mov al, byte [esp + 0xa]
mov byte [ebx + 0x3c], al
movaps xmm0, xmmword [esp + 0x80]
movaps xmm1, xmmword [esp + 0x90]
movups xmmword [ebx + 0x3d], xmm0
movups xmmword [ebx + 0x4d], xmm1
movups xmm0, xmmword [esp + 0x9b]
movups xmmword [ebx + 0x58], xmm0
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x68], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x6c], eax
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [ebx + 0x70], xmm0
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [ebx + 0x7c], xmm0
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x8c], eax
mov al, byte [esp + 0xb]
mov byte [ebx + 0x90], al
mov dword [ebx + 0x98], 0
movaps xmm0, xmmword [esp + 0xb0]
movaps xmm1, xmmword [esp + 0xc0]
movups xmmword [ebx + 0x9c], xmm0
movups xmmword [ebx + 0xac], xmm1
movups xmm0, xmmword [esp + 0xcc]
movups xmmword [ebx + 0xb8], xmm0
lea edi, [ebx + 0xc8]
lea esi, [esp + 0xf8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
add edx, 0xfffffffa
cmp edx, 2
ja 0x461256
cmp edx, 1
jne 0x46127a
mov ecx, dword [esp + 0x1c]
mov edx, ebx
push dword [ebp + 8]
call 0x46128e
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebx], 8
call 0x4612f2
mov ecx, str.internal_error:_entered_unreachable_codemain.rs_src_runtime_blocking_schedule.rs
mov edx, 0x28
push 0x4f6480
call fcn.004cb970
cmp dword [edx], 5
jne 0x4612d1
mov al, byte [edx + 0x3c]
mov byte [edx + 0x3c], 3
cmp al, 3
je 0x4612de
movsd xmm0, qword [edx + 0x34]
movsd qword [ecx + 0x30], xmm0
movups xmm0, xmmword [edx + 0x24]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [edx + 4]
movups xmm1, xmmword [edx + 0x14]
movups xmmword [ecx + 0x10], xmm1
movups xmmword [ecx], xmm0
mov byte [ecx + 0x38], al
movzx eax, word [edx + 0x3d]
mov word [ecx + 0x39], ax
mov al, byte [edx + 0x3f]
mov byte [ecx + 0x3b], al
ret
push dword [esp + 4]
call fcn.00470310
add esp, 4
ret
mov ecx, 0x4f7c62
mov edx, 0x1d
push 0x4f7c9c
call fcn.004cbd20
sub esp, 0x20
mov eax, esp
mov dword [eax], str.lazy_state_wrong
mov dword [eax + 4], 0x4a5dc5
lea ecx, [esp + 8]
mov dword [ecx], str.internal_error:_entered_unreachable_code:
xor edx, edx
inc edx
mov dword [ecx + 4], edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, 0x4f64a8
call fcn.004cb8c0