Function at 0x4b9760
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov edi, dword [ebp + 0x10]
lea esi, [esp + 0x60]
push dword [ebp + 0xc]
push esi
call 0x4b9c10
add esp, 8
mov ecx, dword [esp + 0x70]
cmp ecx, esi
je 0x4b9797
test ecx, ecx
je 0x4b97a2
mov eax, dword [ecx]
add eax, 0x14
mov esi, ecx
jmp 0x4b979e
mov eax, dword [esp + 0x60]
add eax, 0x10
mov ecx, esi
call dword [eax]
lea esi, [esp + 0x48]
push edi
push esi
call fcn.004b9d80
add esp, 8
mov ecx, dword [esp + 0x58]
cmp ecx, esi
je 0x4b97c5
test ecx, ecx
je 0x4b97d0
mov eax, dword [ecx]
add eax, 0x14
mov esi, ecx
jmp 0x4b97cc
mov eax, dword [esp + 0x48]
add eax, 0x10
mov ecx, esi
call dword [eax]
cmp byte [0x9b5690], 0
jne 0x4b9bed
mov eax, dword [ebp + 8]
mov byte [0x9b5690], 1
test eax, eax
je 0x4b98a6
push dword [eax]
call fcn.00672db0
add esp, 4
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x4b9bf5
mov ebx, eax
cmp eax, 0xb
jae 0x4b983e
mov eax, ebx
add al, bl
mov byte [esp + 0x10], al
lea edi, [esp + 0x11]
test ebx, ebx
jne 0x4b986a
jmp 0x4b9875
mov dword [esp + 0x1c], esi
mov esi, ebx
or ebx, 0xf
lea eax, [ebx + 1]
push eax
call fcn.0051c3d0
add esp, 4
mov edi, eax
mov dword [esp + 0x18], eax
add ebx, 2
mov dword [esp + 0x10], ebx
mov ebx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ebx
push esi
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
test byte [esp + 0x10], 1
je 0x4b9886
mov eax, dword [esp + 0x18]
jmp 0x4b988a
lea eax, [esp + 0x11]
push eax
call fcn.00612020
add esp, 4
test byte [esp + 0x10], 1
je 0x4b98a6
push dword [esp + 0x18]
call fcn.0051c570
add esp, 4
push str.ANDROID_LOG_TAGS
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
test eax, eax
je 0x4b9bed
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x4b9bfe
mov ebx, eax
cmp eax, 0xb
mov dword [esp + 0x1c], esi
jae 0x4b991a
mov eax, ebx
add al, bl
mov byte [esp], al
lea edi, [esp + 1]
test ebx, ebx
jne 0x4b993f
jmp 0x4b994a
mov esi, ebx
or esi, 0xf
lea eax, [esi + 1]
push eax
call fcn.0051c3d0
add esp, 4
mov edi, eax
mov dword [esp + 8], eax
add esi, 2
mov dword [esp], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 4], ebx
push ebx
push esi
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov word [esp + 0x20], 0x2002
lea eax, [esp + 0x20]
mov edx, esp
lea ecx, [esp + 0x10]
push eax
push edx
push ecx
call fcn.004ba900
add esp, 0xc
test byte [esp + 0x20], 1
je 0x4b9995
push dword [esp + 0x28]
call fcn.0051c570
add esp, 4
test byte [esp], 1
je 0x4b99a7
push dword [esp + 8]
call fcn.0051c570
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, eax
cmp eax, ecx
je 0x4b9bb3
xor esi, esi
mov edi, ecx
xor ebx, ebx
jmp 0x4b99f1
inc ebx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, eax
sub ecx, edi
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
add esi, 0xc
cmp ebx, ecx
jae 0x4b9bb3
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
add edi, esi
mov ecx, esp
push edi
call fcn.0051f860
movzx eax, byte [esp]
test al, 1
je 0x4b9a30
mov ecx, dword [esp + 4]
cmp ecx, 3
je 0x4b9a3d
jmp case.0x4b9aa8.103
mov ecx, eax
shr ecx, 1
cmp ecx, 3
jne case.0x4b9aa8.103
lea ecx, [esp + 1]
test al, 1
je 0x4b9a49
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 3
mov dword [esp + 0x38], 0x87c17d
mov dword [esp + 0x3c], 2
sub esp, 0x10
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
call fcn.004bac60
add esp, 0x10
test al, al
je case.0x4b9aa8.103
mov eax, dword [esp + 8]
add eax, 2
test byte [esp], 1
lea ecx, [esp + 3]
cmove eax, ecx
movsx eax, byte [eax]
add eax, 0xffffff9c
cmp eax, 0x13
ja case.0x4b9aa8.103
jmp dword [eax*4 + 0x87c110]
push 7
jmp 0x4b9b90
push 4
push 0
push 7
call fcn.00673060
add esp, 0xc
test eax, eax
je 0x4b9b98
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
sub esp, 0x14
movaps xmm0, xmmword [0x87c100]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_logging.cpp
lea ecx, [esp + 0x34]
call fcn.004b9f90
push 0xd
push str.unsupported_
push dword [esp + 0x28]
call fcn.00402f60
add esp, 0xc
mov ecx, esp
push ecx
push eax
call fcn.00402f30
add esp, 8
push 0x17
push str._in_ANDROID_LOG_TAGS__
push eax
call fcn.00402f60
add esp, 0xc
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x1c]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push edi
push dword [esp + 0x38]
call fcn.00402f60
add esp, 0xc
push 1
push 0x87c1c1
push eax
call fcn.00402f60
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.004ba060
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x4b9b98
push 6
jmp 0x4b9b90
push 2
jmp 0x4b9b90
push 3
jmp 0x4b9b90
push 4
jmp 0x4b9b90
push 5
nop dword [eax]
call fcn.00612250
add esp, 4
test byte [esp], 1
je 0x4b99d0
push dword [esp + 8]
call fcn.0051c570
add esp, 4
jmp 0x4b99d0
test edi, edi
je 0x4b9bed
cmp eax, edi
jne 0x4b9bc6
jmp 0x4b9be0
mov eax, esi
cmp esi, edi
je 0x4b9bdc
lea esi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x4b9bc0
push dword [eax - 4]
call fcn.0051c570
add esp, 4
jmp 0x4b9bc0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
push eax
call fcn.0051c570
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x10]
call fcn.0051f6b0
mov ecx, esp
call fcn.0051f6b0
nop word cs:[eax + eax]
push ebx
push edi
push esi
mov esi, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
movzx eax, byte [0x9b57a0]
test al, al
je 0x4b9ce5
mov eax, dword [0x9b5798]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4b9c56
cmp ecx, eax
je 0x4b9c5f
mov dword [esi + 0x10], ecx
mov dword [eax + 0x10], 0
jmp 0x4b9c6b
mov dword [esi + 0x10], 0
jmp 0x4b9c6b
mov dword [esi + 0x10], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
movzx eax, byte [0x9b57a0]
test al, al
je 0x4b9d2b
mov ebx, dword [esp + 0x14]
mov edi, dword [0x9b5798]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], 0
cmp ecx, edi
je 0x4b9c9d
test ecx, ecx
je 0x4b9ca6
mov eax, dword [ecx]
add eax, 0x14
jmp 0x4b9ca4
mov eax, dword [edi]
add eax, 0x10
mov ecx, edi
call dword [eax]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4b9cbd
cmp eax, ebx
je 0x4b9cc6
mov dword [edi + 0x10], eax
mov dword [ebx + 0x10], 0
jmp 0x4b9cd2
mov dword [edi + 0x10], 0
jmp 0x4b9cd2
mov dword [edi + 0x10], edi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
push 0x4ba320
call fcn.00612270
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
ret
push 0x9b57a0
call fcn.004cc400
add esp, 4
test eax, eax
je 0x4b9c3a
push 0x18
call fcn.0051c3d0
add esp, 4
mov dword [eax], 0x86d84c
mov dword [eax + 4], fcn.004b8e70
mov dword [eax + 0x10], eax
mov dword [0x9b5798], eax
push 0x9b57a0
call fcn.004cc570
add esp, 4
jmp 0x4b9c3a
push 0x9b57a0
call fcn.004cc400
add esp, 4
test eax, eax
je 0x4b9c7a
push 0x18
call fcn.0051c3d0
add esp, 4
mov dword [eax], 0x86d84c
mov dword [eax + 4], fcn.004b8e70
mov dword [eax + 0x10], eax
mov dword [0x9b5798], eax
push 0x9b57a0
call fcn.004cc570
add esp, 4
jmp 0x4b9c7a