Function at 0x41f6e9
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x2a0]
push ebx
push esi
push edi
mov esi, dword [eax]
lea edi, [ebp - 0x88]
mov dword [ebp - 0x98], ecx
jmp 0x41f723
movsx eax, al
push eax
call fcn.004d8718
mov byte [edi], al
inc edi
pop ecx
inc esi
mov al, byte [esi]
test al, al
jne 0x41f715
and dword [ebp - 0x8c], 0
mov esi, str._proxy
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
inc edi
push edi
mov ebx, edi
push 0
jmp 0x41f77c
push ebx
push esi
lea eax, [ebp - 0x88]
mov dword [ebp - 0x8c], esi
push eax
mov dword [ebp - 0x90], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test ebx, ebx
je 0x41f7dd
mov eax, dword [ebp - 0x90]
cmp ebx, eax
je 0x41f7dd
cmp ebx, 0x8000
ja 0x41f7dd
cmp ebx, eax
jb 0x41f7e7
push ebx
push esi
call dword [0x53ba00]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41f743
push dword [ebp - 0x8c]
call dword [0x53b9f4]
pop ecx
xor esi, esi
lea edx, [ebp - 0x88]
mov ecx, str.http_proxy
call fcn.0041ad3b
test eax, eax
jne 0x41f843
mov esi, 0x80
lea edx, [ebp - 0x88]
mov cl, byte [edx]
call fcn.0041ad2d
mov byte [edx], al
inc edx
test al, al
je 0x41f7cf
sub esi, 1
jne 0x41f7bc
and dword [ebp - 0x8c], 0
mov ebx, edi
push edi
push 0
jmp 0x41f826
push esi
call dword [0x53b9f4]
pop ecx
xor esi, esi
test esi, esi
jne 0x41f843
jmp 0x41f799
push ebx
push esi
lea eax, [ebp - 0x88]
mov dword [ebp - 0x8c], esi
push eax
mov dword [ebp - 0x90], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test ebx, ebx
je 0x41f86d
mov eax, dword [ebp - 0x90]
cmp ebx, eax
je 0x41f86d
cmp ebx, 0x8000
ja 0x41f86d
cmp ebx, eax
jb 0x41f843
push ebx
push esi
call dword [0x53ba00]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41f7ed
push dword [ebp - 0x8c]
call dword [0x53b9f4]
xor esi, esi
pop ecx
lea ebx, [ebp - 0x88]
mov dword [ebp - 0x8c], ebx
test esi, esi
jne 0x41f93e
and dword [ebp - 0x90], esi
mov ebx, edi
push edi
mov dword [ebp - 0x8c], str.all_proxy
push esi
jmp 0x41f8a8
push esi
jmp 0x41f83a
push ebx
push esi
push dword [ebp - 0x8c]
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x94], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test ebx, ebx
je 0x41f8da
mov eax, dword [ebp - 0x94]
cmp ebx, eax
je 0x41f8da
cmp ebx, 0x8000
ja 0x41f8da
cmp ebx, eax
jb 0x41f8e4
push ebx
push esi
call dword [0x53ba00]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41f870
push dword [ebp - 0x90]
call dword [0x53b9f4]
pop ecx
and dword [ebp - 0x90], 0
mov ebx, str.ALL_PROXY
push edi
mov dword [ebp - 0x8c], ebx
push 0
jmp 0x41f91d
push esi
call dword [0x53b9f4]
pop ecx
xor esi, esi
test esi, esi
jne 0x41f93e
jmp 0x41f8c3
push edi
push esi
push ebx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x94], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
test edi, edi
je 0x41f969
mov eax, dword [ebp - 0x94]
cmp edi, eax
je 0x41f969
cmp edi, 0x8000
ja 0x41f969
cmp edi, eax
jb 0x41f93a
push edi
push esi
call dword [0x53ba00]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x41f8ea
push dword [ebp - 0x90]
call dword [0x53b9f4]
xor esi, esi
pop ecx
test esi, esi
je 0x41f958
push esi
push dword [ebp - 0x8c]
push str.Uses_proxy_env_variable__s___s
push dword [ebp - 0x98]
call fcn.00416c42
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caa72
leave
ret
push esi
jmp 0x41f931