Function at 0x4d1870
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x450
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x504050
mov eax, dword [ebp + 8]
mov edi, ecx
lea ecx, [ebp - 0x18]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], ecx
lea ecx, [ebp - 0x45c]
push eax
call fcn.004d1b70
add esp, 4
mov eax, dword [ebp - 0x45c]
cmp eax, 0x80000000
jne 0x4d18d8
lea ecx, [ebp - 0x45c]
call fcn.004d1d10
mov dword [edi], 0x80000000
jmp 0x4d1aa0
mov ecx, dword [ebp - 0x458]
mov dword [ebp - 0x38], edi
mov edi, 0x200
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x34], ecx
cmp edi, 0x201
jae 0x4d1940
jmp 0x4d192e
jbe 0x4d19c9
cmp edi, 0x201
jae 0x4d1940
mov dword [ebp - 0x24], 0x200
lea ebx, [ebp - 0x45c]
mov esi, edi
jmp 0x4d1971
mov esi, dword [ebp - 0x4c]
sub edi, esi
je 0x4d1965
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x30]
mov edx, esi
push edi
call fcn.00528900
add esp, 4
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x4c], esi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push esi
push ebx
push dword [ebp - 0x34]
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x4d1998
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4d1a26
cmp edi, esi
jne 0x4d1920
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4d1ac6
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x4d192e
jmp 0x4d1940
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 2
cmp edi, edx
ja 0x4d1ae6
lea ecx, [ebp - 0x5c]
mov edx, ebx
push edi
call fcn.004cfbe0
add esp, 4
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x58]
movq xmm0, qword [ebp - 0x54]
cmp dword [ebp - 0x30], 0
je 0x4d1a11
mov ecx, dword [ebp - 0x2c]
mov edx, 2
movdqu xmmword [ebp - 0x4c], xmm0
call fcn.004332a0
movdqu xmm0, xmmword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
cmp esi, 0x80000000
jne 0x4d1ab4
movd esi, xmm0
jmp 0x4d1a46
call dword [sym.imp.kernel32.dll_GetLastError]
cmp dword [ebp - 0x30], 0
mov esi, eax
je 0x4d1a41
mov ecx, dword [ebp - 0x2c]
mov edx, 2
call fcn.004332a0
mov eax, dword [ebp - 0x38]
xor ebx, ebx
cmp bl, 3
mov dword [eax], 0x80000000
jne 0x4d1a8d
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], eax
push eax
mov dword [ebp - 0x4c], ecx
call dword [ecx]
add esp, 4
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 4], 0
je 0x4d1a80
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x20]
call fcn.004332a0
mov ecx, dword [ebp - 0x24]
mov edx, 4
call fcn.004332a0
cmp dword [ebp - 0x3c], 0
je 0x4d1aa0
mov ecx, dword [ebp - 0x34]
mov edx, 2
call fcn.004332a0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x450
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [eax], esi
mov dword [eax + 4], ebx
movq qword [eax + 8], xmm0
cmp dword [ebp - 0x3c], 0
jne 0x4d1a93
jmp 0x4d1aa0
mov dword [ebp - 0x10], 2
mov ecx, str.internal_error:_entered_unreachable_codeC:Users_atkn1.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.32.0_src_runtime_blocking_schedule.rs
mov edx, 0x28
push 0x57f464
call fcn.00526990
add esp, 4
jmp 0x4d1af5
mov ecx, edi
push 0x57f454
call fcn.00526980
add esp, 4
ud2