Function at 0x442fb0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x448
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x44f690
mov esi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea ecx, [ebp - 0x454]
push 0xe
call fcn.0043e3b0
add esp, 4
mov eax, dword [ebp - 0x454]
cmp eax, 0x80000000
jne 0x443015
lea ecx, [ebp - 0x454]
call fcn.0043e6c0
mov dword [esi], 0x80000000
jmp 0x4431ca
mov ecx, dword [ebp - 0x450]
mov dword [ebp - 0x34], esi
mov esi, 0x200
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], ecx
cmp esi, 0x201
jae 0x443080
jmp 0x44306e
jbe 0x443117
cmp esi, 0x201
jae 0x443080
mov dword [ebp - 0x20], 0x200
lea ebx, [ebp - 0x454]
mov edi, esi
jmp 0x4430bb
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x4430ac
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x44]
mov edx, edi
push esi
call fcn.00452830
add esp, 4
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push edi
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x4430e2
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4431de
cmp esi, edi
jne 0x443060
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44322a
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x44306e
jmp 0x443080
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
cmp esi, edx
ja 0x44324a
lea ecx, [ebp - 0x54]
mov edx, ebx
push esi
call fcn.00440d70
add esp, 4
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x28], 0
je 0x44315d
push dword [ebp - 0x2c]
push 0
push dword [0x45f508]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp esi, 0x80000000
jne 0x4431a2
mov eax, dword [ebp - 0x34]
cmp bl, 3
mov dword [eax], 0x80000000
jne 0x4431b3
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], eax
push eax
mov dword [ebp - 0x28], ecx
call dword [ecx]
add esp, 4
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
je 0x443211
cmp dword [eax + 8], 9
jae 0x4431fc
mov eax, dword [ebp - 0x20]
jmp 0x443202
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
cmp dword [ebp - 0x38], 0
je 0x4431ca
push dword [ebp - 0x30]
push 0
push dword [0x45f508]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x448
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 - 0x28], 0
jne 0x44314c
jmp 0x44315d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x45f508]
call dword [sym.imp.kernel32.dll_HeapFree]
push dword [ebp - 0x24]
push 0
push dword [0x45f508]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebp - 0x38], 0
jne 0x4431b9
jmp 0x4431ca
mov dword [ebp - 0x10], 2
mov ecx, str.internal_error:_entered_unreachable_code_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_src_vecmod.rsh
mov edx, 0x28
push 0x45b5e8
call fcn.00450990
add esp, 4
jmp 0x443259
mov ecx, esi
push 0x45b5d8
call fcn.00450930
add esp, 4
ud2