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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x368
mov eax, dword [edx]
call 0x46f2fa
pop esi
xor eax, 3
or eax, dword [edx + 4]
jne 0x46f318
mov eax, dword [edx + 8]
and dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], eax
jmp 0x46fcfd
mov eax, dword [edx + 0xbc]
movsd xmm0, qword [edx + 0xac]
movsd xmm1, qword [edx + 0xb4]
lea ebx, [edx + 0x40]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x8c]
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x48], xmm0
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x88]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x90]
mov dword [esp + 0x34], eax
mov al, byte [edx + 0xc0]
mov byte [esp + 0x13], al
push 0x12
pop ecx
lea edi, [esp + 0x290]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
push 0x10
pop ecx
lea edi, [esp + 0xb0]
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov dword [esp + 0x20], edx
mov eax, dword [edx + 0xa8]
movsd xmm0, qword [edx + 0x98]
movsd xmm1, qword [edx + 0xa0]
mov dword [esp + 0x70], eax
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x60], xmm0
call fcn.00447bf1
mov ecx, eax
push 4
push 0x5077eb
call fcn.0046d8b4
pop ecx
pop edx
test al, al
je 0x46f3ed
mov ecx, ebx
call fcn.00447bf1
mov ecx, eax
push 5
push 0x5077ef
call fcn.0046d8b4
pop ecx
pop edx
test al, al
jne 0x46f41b
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0xc8]
cmp byte [esi + 0x14a], 0
je 0x46f438
mov ecx, ebx
call fcn.00447bf1
mov ecx, eax
push 5
push 0x5077ef
call fcn.0046d8b4
pop ecx
pop edx
test al, al
je 0x46f438
mov ecx, ebx
call fcn.0046a4d8
mov ecx, dword [esp + 0x18]
and dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], eax
jmp 0x46f649
xor ecx, ecx
cmp dword [esi + 0x30], 0
lea eax, [esi + 8]
lea edx, [esp + 0x1e8]
lea edi, [esp + 0x120]
mov dword [esp + 8], esi
sete cl
add ecx, ecx
mov dword [edx], ecx
mov dword [edx + 8], eax
and dword [edx + 0xc], 0
lea ecx, [esp + 0x1e8]
call fcn.004216a0
test eax, eax
lea esi, [esp + 0xb0]
mov dword [esp], eax
je 0x46f606
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.004151e4
test al, al
jne 0x46fd1d
mov edx, dword [esp]
mov ecx, esi
call fcn.00427a37
movzx ecx, word [esp + 0xe8]
mov word [esp + 4], ax
xor ebx, ebx
and cx, ax
movzx eax, cx
mov ecx, dword [esp + 0xcc]
mov esi, eax
xor eax, eax
cmp esi, ecx
jae 0x46f4b8
mov ecx, dword [esp + 0xc8]
movzx eax, word [ecx + esi*4]
cmp eax, 0xffff
je 0x46f53a
mov dword [esp + 0xc], ebx
movzx ebx, word [esp + 0xe8]
movzx ecx, word [ecx + esi*4 + 2]
mov edi, esi
mov edx, ebx
and edx, ecx
sub edi, edx
and edi, ebx
mov ebx, dword [esp + 0xc]
cmp edi, ebx
jb 0x46f549
cmp cx, word [esp + 4]
lea edi, [esp + 0x120]
jne 0x46f531
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
push 0x4dab4c
push eax
call fcn.00428355
pop ecx
pop edx
mov edx, dword [esp]
lea ecx, [eax + 0x20]
call fcn.0041546d
test al, al
jne 0x46f461
inc esi
inc ebx
mov eax, esi
jmp 0x46f4b1
mov ecx, dword [esp + 0xb0]
cmp ebx, 0x200
jmp 0x46f55d
mov ecx, dword [esp + 0xb0]
cmp ebx, 0x200
lea edi, [esp + 0x120]
setae al
xor ecx, 2
or ecx, dword [esp + 0xb4]
setne cl
and cl, al
mov byte [esp + 0xc], cl
mov edx, dword [esp]
mov ecx, edi
call fcn.004247f5
mov eax, dword [esp + 0x120]
lea ebx, [esp + 0xb0]
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x12c]
mov dword [esp + 0x84], ebx
mov dword [esp], eax
mov eax, dword [esp + 0x128]
mov ebx, dword [esp]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], edx
movzx edx, word [esp + 4]
mov cl, byte [esp + 0xc]
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], esi
mov word [esp + 0x9c], dx
mov edx, dword [esp + 0x14]
mov byte [esp + 0x9e], cl
mov ecx, edi
call fcn.0044fae4
lea ecx, [esp + 0x84]
mov edx, edi
call fcn.00428bfe
jmp 0x46f461
lea esi, [esp + 0x120]
lea edx, [esp + 0x290]
mov ecx, esi
call fcn.0046d8c6
cmp byte [esi], 3
jne 0x46f670
lea ecx, [esp + 0x290]
call fcn.0046de56
mov ecx, dword [esp + 0x18]
and dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], eax
lea ecx, [esp + 0x120]
call fcn.0046de7e
lea ecx, [esp + 0x60]
call fcn.00459e4a
lea ecx, [esp + 0xb0]
call fcn.00436cbf
lea ecx, [esp + 0x48]
call fcn.00436c8c
mov edx, dword [esp + 0x20]
jmp 0x46fcfd
push 0xb
pop ecx
lea edi, [esp + 0x1bc]
lea esi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x60], 0
je 0x46f6df
movsd xmm0, qword [esp + 0x64]
movsd xmm1, qword [esp + 0x6c]
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x40], xmm1
cmp dword [esp + 0x38], 0
je 0x46f6f7
lea esi, [esp + 0x120]
lea edi, [esp + 0x38]
mov ecx, esi
mov edx, edi
call fcn.0040c897
mov eax, dword [esi]
movsd xmm0, qword [esi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
movsd qword [esp + 0x1e8], xmm0
mov dword [esp + 0x1f0], eax
mov eax, dword [edi]
jmp 0x46f701
xor ecx, ecx
mov edx, str._rustc_aedd173a2c086e558c2b66d3743b344f977621a7librarycore_srccharmethods.rs8
mov eax, 0x4db1f0
xor esi, esi
mov dword [esp + 0xc], 0
jmp 0x46f734
xor eax, eax
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x1f0]
movsd xmm0, qword [esp + 0x1e8]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
xor edi, edi
inc edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0x40]
movsd qword [esp + 0x120], xmm0
mov edi, dword [esp + 0x128]
movsd xmm0, qword [esp + 0x120]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], esi
mov dword [esp + 0x80], edi
movsd qword [esp + 0x78], xmm0
cmp byte [eax + 0x149], 0
je 0x46fa35
xor ecx, ecx
cmp byte [esp + 0x1bc], 0
lea eax, [esp + 0x1bc]
mov edx, 0x4dd274
cmovne ecx, eax
call fcn.0042be29
test al, al
je 0x46fa35
lea edx, [esp + 0x120]
lea ecx, [esp + 0xb0]
and dword [edx + 0xc], 0
and dword [edx + 8], 0
and dword [edx], 0
mov dword [edx + 4], 0x33
call fcn.00415823
test al, al
jne 0x46fa35
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x144]
mov esi, dword [eax + 0xc]
imul edi, dword [eax + 0x10], 0x44
add esi, 4
test edi, edi
je 0x46fa35
lea eax, [esi - 4]
mov ecx, dword [eax]
mov ecx, dword [ecx*4 + 0x46fd38]
add ecx, dword [esp + 0x1c]
jmp ecx
lea esi, [esp + 0x120]
mov ecx, esi
call fcn.00424cd9
lea ebx, [esp + 0xf4]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.0046de94
lea ecx, [esp + 0x1e8]
mov edx, esi
push ebx
call fcn.00415f57
pop eax
push 0xb
pop ecx
lea esi, [esp + 0x1bc]
mov edi, ebx
lea edx, [esp + 0x1e8]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x120]
mov ecx, esi
push ebx
call fcn.004696af
pop eax
mov edi, dword [esi]
mov ecx, dword [esi + 4]
mov dl, byte [esi + 8]
mov dh, byte [esi + 9]
mov eax, edi
xor eax, 3
or eax, ecx
je 0x46face
lea eax, [esp + 0x12a]
mov esi, dword [eax + 0x7a]
push 0x7a
push eax
lea eax, [esp + 0x1f0]
push eax
mov dword [esp + 0x10], ecx
mov ebx, edx
mov bh, dh
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x10]
mov dh, bh
mov dl, bl
add esp, 0xc
shr esi, 8
lea ebx, [esp + 0x2e2]
mov dword [ebx - 0xa], edi
mov dword [ebx - 6], ecx
mov byte [ebx - 2], dl
mov byte [ebx - 1], dh
push 0x7a
lea edi, [esp + 0x1ec]
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, byte [esp + 0x13]
lea edx, [esp + 0x2d8]
mov byte [ebx + 0x7a], al
mov eax, esi
mov word [ebx + 0x7b], si
lea esi, [esp + 0x120]
shr eax, 0x10
mov ecx, esi
mov byte [ebx + 0x7d], al
lea eax, [esp + 0xa0]
push eax
call fcn.004697d2
pop eax
mov ecx, edi
mov edx, esi
push 0x4dd264
call fcn.0046df5c
pop eax
lea ebx, [esp + 0x120]
lea edx, [esp + 0xb0]
mov ecx, ebx
call fcn.0046df9c
mov ecx, edi
call fcn.00436cbf
push 0x10
pop ecx
mov esi, ebx
mov edx, edi
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 8]
lea esi, [eax + 0x48]
push 0x98
push edx
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, esi
mov edx, ebx
call fcn.004676fa
mov edi, dword [esp + 0x34]
mov ecx, 0x3b9aca00
mov esi, eax
cmp edi, ecx
mov eax, edi
jne 0x46fb93
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x130]
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 4], esi
mov dword [esp], edx
je 0x46fbff
cmp edi, 0x3b9aca00
jne 0x46fbc0
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 0x128]
mov ecx, dword [ecx + 0x12c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x28]
lea esi, [esp + 0x120]
mov ecx, esi
push 0x4da894
push eax
push dword [esp + 0x34]
call fcn.00494a2d
add esp, 0xc
cmp dword [esi], 2
je 0x46fbff
push 0x50
pop ecx
push 8
pop edx
call fcn.0048e46f
mov ebx, eax
push 0x14
pop ecx
lea esi, [esp + 0x120]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], ebx
push 0x10
pop ecx
lea edi, [esp + 0x1e8]
lea esi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 8]
lock inc dword [eax]
jle 0x46fd35
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
lea edi, [esp + 0x160]
mov dword [ebx + 0xc0], eax
movsd qword [ebx + 0xb8], xmm1
movsd qword [ebx + 0xb0], xmm0
push 0x12
pop ecx
lea esi, [esp + 0x290]
rep movsd dword es:[edi], dword [esi]
push 0x10
pop ecx
lea edx, [esp + 0x120]
lea esi, [esp + 0x1e8]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
mov dword [ebx + 0xa0], eax
movsd qword [ebx + 0x98], xmm0
push 0x88
push edx
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x90], edx
mov edx, dword [esp + 8]
mov dword [ebx + 0x94], ecx
mov ecx, dword [esp + 0x14]
and dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 4
and dword [ebx + 0xac], 0
mov dword [ebx + 0xc4], edx
and dword [ebx + 0xc8], 0
mov edx, dword [esp + 0x20]
mov dword [ebx + 0xcc], ecx
mov eax, dword [edx + 0xc8]
lock dec dword [eax]
jne 0x46fd15
add edx, 0xc8
mov ecx, edx
call fcn.00469869
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x17
pop edx
mov ecx, str.size_overflows_MAX_SIZE
push 0x4dabac
push 0x4da8d8
push edi
call fcn.004a05e0
ud2