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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2b8
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, eax
xor edx, 4
or edx, ecx
je 0x1007126f
xor eax, 3
or eax, ecx
je 0x1007126f
lea ebx, [esp + 0xe0]
mov edx, esi
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.100695b0
add esp, 4
mov edi, dword [esp + 0xe0]
cmp edi, 2
je 0x100710f7
mov eax, dword [esp + 0xe4]
movsd xmm2, qword [esp + 0xfc]
movsd xmm1, qword [esp + 0x104]
movsd xmm0, qword [esp + 0xf4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xe8]
movsd qword [esp + 0xb8], xmm2
movsd qword [esp + 0xc0], xmm1
movsd xmm2, qword [esp + 0x10c]
movsd xmm1, qword [esp + 0x114]
movsd qword [esp + 0xb0], xmm0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xec]
movsd qword [esp + 0xc8], xmm2
movsd qword [esp + 0xd0], xmm1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0xd8], eax
mov eax, dword [esi]
xor eax, 3
or eax, dword [esi + 4]
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], eax
je 0x10071280
mov ecx, esi
call fcn.10065840
mov dword [esi + 4], 0
mov dword [esi], 3
lea eax, [esi + 8]
push 0xe8
push ebx
mov dword [esp + 0x14], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm2, qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xc0]
mov eax, dword [esp + 0xd8]
movsd xmm0, qword [esp + 0xd0]
cmp edi, 1
movsd qword [esp + 0xf8], xmm2
movsd qword [esp + 0xf0], xmm1
movsd xmm2, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb8]
mov dword [esp + 0x108], eax
movsd qword [esp + 0x100], xmm0
movsd qword [esp + 0xe8], xmm1
movsd qword [esp + 0xe0], xmm2
jne 0x10070ff5
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x10070ec9
mov eax, dword [0x104debfc]
mov eax, dword [0x104d53e8]
dec eax
cmp eax, 5
jb 0x10070fc1
mov ecx, dword [0x104d4e1c]
test ecx, ecx
je 0x10070fc1
mov al, 1
cmp ecx, 1
je 0x10070ef8
cmp ecx, 2
jne 0x10071258
mov al, 2
movzx edx, al
mov ecx, 0x104d4e1c
call fcn.10109d10
test al, al
je 0x10070fc1
mov ecx, dword [0x104d4e20]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x100712d8
mov edx, dword [ecx + 0x2c]
mov edi, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0x3c], 0
mov dword [esp + str.background_connect_error:_C:UsersAdministrator.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_0.2.23_src_runtime_spawner.rs], 0x1041a6c8
mov dword [esp + 0x1cc], 1
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
lea edi, [esp + 8]
lea edx, [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1d8], edx
lea edi, [esp + 0x3c]
lea edx, [esp + 0x1c8]
mov dword [esp + 0x20], 0x1003edb0
mov dword [esp + 0x1dc], 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edx
lea edi, [esp + 0x30]
lea edx, [ecx + 0x2c]
mov dword [esp + 0x38], 0x10419960
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x24]
call fcn.1010a570
mov edi, dword [esp + 8]
mov eax, dword [edi]
test eax, eax
je 0x10071073
mov ecx, dword [edi + 4]
push eax
call dword [ecx]
add esp, 4
mov eax, dword [edi + 4]
cmp dword [eax + 4], 0
je 0x10071073
mov edi, dword [edi]
cmp dword [eax + 8], 9
jae 0x10071063
call sub.KERNEL32.dll_GetProcessHeap
push edi
jmp 0x1007106b
movsd xmm2, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0xf0]
mov eax, dword [esp + 0x108]
movsd xmm0, qword [esp + 0x100]
mov ecx, dword [esp + 4]
movsd qword [esp + 0x1e0], xmm2
movsd qword [esp + 0x1d8], xmm1
movsd xmm2, qword [esp + 0xe0]
movsd xmm1, qword [esp + 0xe8]
mov dword [esp + 0x1f0], eax
movsd qword [esp + 0x1e8], xmm0
movsd qword [esp + 0x1d0], xmm1
movsd qword [esp + 0x1c8], xmm2
jmp 0x1007108a
call sub.KERNEL32.dll_GetProcessHeap
push dword [edi - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 8]
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov ecx, 3
movsd xmm1, qword [esp + 0x1d0]
movsd xmm0, qword [esp + 0x1c8]
movsd xmm2, qword [esp + 0x1e0]
mov eax, dword [esp + 0x1f0]
cmp ecx, 4
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [esp + 0x1d8]
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x98], xmm2
mov dword [esp + 0xa8], eax
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x1e8]
movsd qword [esp + 0xa0], xmm1
jne 0x100710fe
mov al, 1
jmp 0x10071250
movsd xmm2, qword [esp + 0x98]
movsd xmm1, qword [esp + 0x90]
mov eax, dword [esp + 0xa8]
movsd xmm0, qword [esp + 0xa0]
mov dword [esp + 4], ecx
movsd qword [esp + 0x68], xmm2
movsd qword [esp + 0x60], xmm1
movsd xmm2, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x88]
mov dword [esp + 0x78], eax
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov eax, edi
xor eax, 4
or eax, ebx
je 0x10071299
lea eax, [esp + 0x1c8]
push 0xe8
push eax
lea eax, [esp + 0xe8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor edi, 3
or edi, ebx
je 0x10071195
mov ecx, esi
call fcn.10065840
mov dword [esi + 4], 0
mov dword [esi], 4
push 0xe8
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
movsd xmm1, qword [esp + 0x58]
movsd xmm0, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x68]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x14]
cmp ecx, 3
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xec], ecx
movsd qword [esp + 0xf8], xmm1
movsd xmm1, qword [esp + 0x60]
mov eax, dword [esp + 0x78]
movsd qword [esp + 0xf0], xmm0
movsd qword [esp + 0x108], xmm2
movsd qword [esp + 0x100], xmm1
movsd xmm1, qword [esp + 0x70]
mov dword [esp + 0x118], eax
movsd qword [esp + 0x110], xmm1
je 0x1007124e
lea ecx, [esp + 0xe0]
call fcn.1005f910
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x104d4e1c
call fcn.10109c60
test al, al
jne 0x10070ef8
jmp 0x10070fc1
mov ecx, 0x1041a02c
mov edx, 0x36
push 0x1041a064
jmp 0x100712ce
mov dword [esi + 4], 0
mov dword [esi], 3
add esi, 8
push 0xe8
push ebx
push esi
jmp 0x100712b7
mov dword [esi + 4], 0
mov dword [esi], 4
lea eax, [esp + 0x1c8]
push 0xe8
push eax
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, 0x1044acbf
mov edx, 0x28
push 0x1041a0cc
call fcn.1004d560
add esp, 4
ud2
mov ecx, 0x1041992d
mov edx, 0x22
push 0x1041a6d0
call fcn.1000a730
add esp, 4
ud2