Function at 0x42b47c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
cmp dword [ebp + 0xc], 0xf
jbe 0x42b495
xor eax, eax
mov dword [ebp - 0x60], eax
jmp 0x42b838
mov dword [ebp - 0x50], 0xc1eb1542
lea ebx, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x7c90ec48
mov byte [ebp - 0x48], 0x42
mov al, byte [0x4dddb8]
test al, al
jne 0x42b4e9
mov dword [esp], 0x4dddb8
call fcn.004ceb90
test eax, eax
je 0x42b4e9
mov dword [esp], ebx
mov ecx, 0x4e1dc0
call fcn.0042e96c
push eax
mov dword [esp], 0x4cf694
call fcn.004013f0
mov dword [esp], 0x4dddb8
call fcn.004cec60
mov ecx, 0x4e1dc0
mov esi, 0x4dd1a0
mov edi, ebx
call fcn.0042e93c
mov dword [esp], 0x4e1dc0
call fcn.00422510
mov ecx, 0xe
mov dword [ebp - 0x54], 0xfd602e96
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x4ddd80]
test al, al
jne 0x42b553
mov dword [esp], 0x4ddd80
call fcn.004ceb90
test eax, eax
je 0x42b553
mov dword [esp], ebx
mov ecx, 0x4e1c60
call fcn.0042e89c
push eax
mov dword [esp], 0x4cf698
call fcn.004013f0
mov dword [esp], 0x4ddd80
call fcn.004cec60
mov ecx, 0x4e1c60
call fcn.0042e86c
mov dword [esp], 0x4e1c60
call sub.msvcrt.dll_getenv
test eax, eax
je 0x42b572
lea eax, [ebp - 0x54]
call eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0042a3e8
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x42b48b
mov dword [ebp - 0x50], 0xc1eb1542
mov dword [ebp - 0x4c], 0x7c90ec48
mov byte [ebp - 0x48], 0x42
mov al, byte [0x4ddd88]
test al, al
jne 0x42b5d9
mov dword [esp], 0x4ddd88
call fcn.004ceb90
test eax, eax
je 0x42b5d9
mov dword [esp], ebx
mov ecx, 0x4e1ca0
call fcn.0042e96c
push eax
mov dword [esp], 0x4cf6a4
call fcn.004013f0
mov dword [esp], 0x4ddd88
call fcn.004cec60
mov ecx, 0x4e1ca0
mov esi, 0x4dd1a0
mov edi, ebx
call fcn.0042e93c
mov dword [esp], 0x4e1ca0
call fcn.00422510
mov ecx, 0xe
mov dword [ebp - 0x54], 0x1170369a
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x4ddd90]
test al, al
jne 0x42b643
mov dword [esp], 0x4ddd90
call fcn.004ceb90
test eax, eax
je 0x42b643
mov dword [esp], ebx
mov ecx, 0x4e1cc0
call fcn.0042e89c
push edi
mov dword [esp], 0x4cf6a8
call fcn.004013f0
mov dword [esp], 0x4ddd90
call fcn.004cec60
mov ecx, 0x4e1cc0
call fcn.0042e86c
mov dword [esp], 0x4e1cc0
call sub.msvcrt.dll_getenv
test eax, eax
je 0x42b662
lea eax, [ebp - 0x54]
call eax
mov dword [ebp - 0x50], 0xc1eb1542
mov dword [ebp - 0x4c], 0x7c90ec48
mov byte [ebp - 0x48], 0x42
mov al, byte [0x4ddd98]
test al, al
jne 0x42b6b3
mov dword [esp], 0x4ddd98
call fcn.004ceb90
test eax, eax
je 0x42b6b3
mov dword [esp], ebx
mov ecx, 0x4e1d00
call fcn.0042e96c
push esi
mov dword [esp], 0x4cf6b4
call fcn.004013f0
mov dword [esp], 0x4ddd98
call fcn.004cec60
mov ecx, 0x4e1d00
mov esi, 0x4dd1a0
mov edi, ebx
call fcn.0042e93c
mov dword [esp], 0x4e1d00
call fcn.00422510
mov ecx, 0xe
mov dword [ebp - 0x54], 0x25803e9e
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x4ddda0]
test al, al
jne 0x42b71d
mov dword [esp], 0x4ddda0
call fcn.004ceb90
test eax, eax
je 0x42b71d
mov dword [esp], ebx
mov ecx, 0x4e1d20
call fcn.0042e89c
push ecx
mov dword [esp], 0x4cf6c4
call fcn.004013f0
mov dword [esp], 0x4ddda0
call fcn.004cec60
mov ecx, 0x4e1d20
call fcn.0042e86c
mov dword [esp], 0x4e1d20
call sub.msvcrt.dll_getenv
test eax, eax
je 0x42b73c
lea eax, [ebp - 0x54]
call eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov byte [ebp - 0x48], 0x42
mov dword [ebp - 0x50], 0xc1eb1542
lea eax, [eax + edx*8 + 0x78]
mov dword [ebp - 0x4c], 0x7c90ec48
mov dword [ebp - 0x60], eax
mov al, byte [0x4ddda8]
test al, al
jne 0x42b79a
mov dword [esp], 0x4ddda8
call fcn.004ceb90
test eax, eax
je 0x42b79a
mov dword [esp], ebx
mov ecx, 0x4e1d60
call fcn.0042e96c
push edx
mov dword [esp], 0x4cf6d0
call fcn.004013f0
mov dword [esp], 0x4ddda8
call fcn.004cec60
mov ecx, 0x4e1d60
lea edi, [ebp - 0x50]
mov esi, 0x4dd1a0
call fcn.0042e93c
mov dword [esp], 0x4e1d60
call fcn.00422510
mov ecx, 0xe
mov dword [ebp - 0x54], 0x399046a2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x4dddb0]
test al, al
jne 0x42b808
mov dword [esp], 0x4dddb0
call fcn.004ceb90
test eax, eax
je 0x42b808
lea eax, [ebp - 0x50]
mov ecx, 0x4e1d80
mov dword [esp], eax
call fcn.0042e89c
push eax
mov dword [esp], 0x4cf6d4
call fcn.004013f0
mov dword [esp], 0x4dddb0
call fcn.004cec60
mov ecx, 0x4e1d80
call fcn.0042e86c
mov dword [esp], 0x4e1d80
call sub.msvcrt.dll_getenv
test eax, eax
je 0x42b827
lea eax, [ebp - 0x54]
call eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
cmp dword [eax + edx*8 + 0x78], 0
je 0x42b48b
mov eax, dword [ebp - 0x60]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret