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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
test byte [eax + 0x38], 1
jne 0x407f38
cmp dword [edi + 0x40], 2
jne 0x4081f2
movsd xmm2, qword [eax + 0x28]
movsd xmm1, qword [eax + 0x20]
add edi, 0x40
mov ecx, dword [eax + 0x38]
movsd xmm0, qword [eax + 0x30]
mov byte [esi], 3
movsd qword [edi + 0x28], xmm2
movsd qword [edi + 0x20], xmm1
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
mov dword [edi + 0x38], ecx
movsd qword [edi + 0x30], xmm0
movsd qword [edi + 0x18], xmm2
movsd qword [edi + 0x10], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm2
jmp 0x4081bf
cmp dword [edi], 1
jne 0x40809a
mov eax, dword [0x69b710]
lea ebx, [edi + 4]
mov dword [esp + 4], ebx
mov eax, dword [eax]
cmp eax, 1
ja 0x408038
mov ebp, dword [0x69aadc]
movzx eax, byte [ebp + 8]
test al, al
je 0x408038
movzx ecx, al
cmp ecx, 1
je 0x407f7d
cmp ecx, 2
jne 0x4081c9
mov al, 2
movzx eax, al
push eax
push dword [ebp]
call fcn.005313d0
add esp, 8
test al, al
je 0x408038
mov eax, dword [ebp]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x40821e
mov ebx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 8], 0x602108
mov dword [esp + 0xc], 1
lea ebp, [esp + 0x20]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
lea edx, [esp + 4]
movlps qword [esp + 0x40], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x50], 0x4444d0
mov dword [esp + 0x10], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], edx
lea edx, [esp + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x601f9c
push ecx
push eax
call fcn.00531b00
add esp, 8
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x74]
cmp dword [ebx + 0x20], 0
je 0x40805d
mov ecx, dword [ebx + 0x24]
lea edx, [ecx - 0x4000]
cmp edx, 0xffc000
jae 0x408208
mov dword [eax + 0x1bc], ecx
mov ecx, dword [esp + 0x78]
cmp dword [ebx + 0x28], 0
je 0x408070
mov edx, dword [ebx + 0x2c]
mov dword [eax + 0x20c], edx
lea eax, [esp + 8]
push ebx
push ecx
push eax
call fcn.004648d0
add esp, 0xc
movzx eax, byte [esp + 8]
cmp al, 3
jne 0x40819c
mov dword [edi], 2
mov byte [esi], 3
jmp 0x4081bf
mov eax, dword [0x69b710]
mov eax, dword [eax]
cmp eax, 1
ja 0x408172
mov edi, dword [0x69aae0]
movzx eax, byte [edi + 8]
test al, al
je 0x408172
movzx ecx, al
cmp ecx, 1
je 0x4080cf
cmp ecx, 2
jne 0x4081df
mov al, 2
movzx eax, al
push eax
push dword [edi]
call fcn.005313d0
add esp, 8
test al, al
je 0x408172
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x408225
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
mov ebx, esp
mov dword [esp + 8], 0x602164
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], ebx
lea ebx, [esp + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], edi
lea edi, [esp + 0x38]
mov dword [esp + 0x3c], edx
movlps qword [esp + 0x40], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x20], edi
lea edi, [esp + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x601f9c
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.00531b00
add esp, 8
mov word [esi], 0x101
mov dword [esi + 4], 1
mov dword [esi + 8], 0x60216c
mov dword [esi + 0xc], 0x60216c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jmp 0x4081bf
movsd xmm0, qword [esp + 0x18]
movsd xmm2, qword [esp + 9]
movsd xmm1, qword [esp + 0x11]
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 9], xmm1
movsd qword [esi + 1], xmm2
mov byte [esi], al
mov eax, esi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
push ebp
call fcn.0059e2f0
add esp, 4
test al, al
jne 0x407f7d
jmp 0x408038
push edi
call fcn.0059e2f0
add esp, 4
test al, al
jne 0x4080cf
jmp 0x408172
push 0x6020c8
push 0x27
push str.assertion_failed:_self.remote.is_none__C:UsersLitch1.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8h2_0.3.21_srcproto_settings.rs
call fcn.005a0b60
add esp, 0xc
ud2
push 0x601ecc
push 0x5e
push 0x601e00
call fcn.005a0b60
add esp, 0xc
ud2
push 0x6020d8
jmp 0x40822a
push 0x602110
push 0x22
push 0x601edc
call fcn.005a0a40
add esp, 0xc
ud2