Function at 0x424f20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x444
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x449950
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 - 0x450]
push eax
call fcn.00420cf0
add esp, 4
mov eax, dword [ebp - 0x450]
cmp eax, 0x80000000
jne 0x424f88
lea ecx, [ebp - 0x450]
call fcn.00420ea0
mov dword [edi], 0x80000000
jmp 0x425133
mov ecx, dword [ebp - 0x44c]
mov esi, 0x200
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x2c], ecx
cmp esi, 0x201
jae 0x424ff0
jmp 0x424fde
jbe 0x425079
cmp esi, 0x201
jae 0x424ff0
mov dword [ebp - 0x20], 0x200
lea ebx, [ebp - 0x450]
mov edi, esi
jmp 0x425021
mov edi, dword [ebp - 0x24]
sub esi, edi
je 0x425015
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x40]
mov edx, edi
push esi
call fcn.00459590
add esp, 4
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x425048
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x425147
cmp esi, edi
jne 0x424fd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x425165
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x424fde
jmp 0x424ff0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
cmp esi, edx
ja 0x425185
lea ecx, [ebp - 0x50]
mov edx, ebx
push esi
call fcn.004229c0
add esp, 4
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x24], 0
je 0x4250bb
mov ecx, dword [ebp - 0x28]
mov edx, 2
call fcn.004070e0
cmp esi, 0x80000000
jne 0x42510f
mov eax, dword [ebp - 0x30]
cmp bl, 3
mov dword [eax], 0x80000000
jne 0x425120
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x28], eax
push eax
mov dword [ebp - 0x24], ecx
call dword [ecx]
add esp, 4
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
je 0x425100
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x28]
call fcn.004070e0
mov ecx, dword [ebp - 0x20]
mov edx, 4
call fcn.004070e0
jmp 0x425120
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
cmp dword [ebp - 0x34], 0
je 0x425133
mov ecx, dword [ebp - 0x2c]
mov edx, 2
call fcn.004070e0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x444
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
mov esi, 0x80000000
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [ebp - 0x24], 0
jne 0x4250ae
jmp 0x4250bb
mov dword [ebp - 0x10], 2
mov ecx, str.internal_error:_entered_unreachable_codeC:Users_runneradmin.cargo_registry_srcindex.crates.io_1cd66030c949c28d_sysreq_0.1.6_srcclients_resolve.rs
mov edx, 0x28
push 0x4706f8
call fcn.004587c0
add esp, 4
jmp 0x425194
mov ecx, esi
push 0x4706e8
call fcn.00458760
add esp, 4
ud2