Function at 0x4264e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp], eax
call fcn.00425e50
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00425f10
cmp byte [0x4cb168], 0
jne 0x426767
test ebx, ebx
mov byte [0x4cb168], 1
je 0x426565
call fcn.00425cd0
mov dword [esp], eax
mov esi, eax
call fcn.004290d9
test eax, eax
jne 0x426881
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00438820
mov ebx, eax
call fcn.00425c50
mov dword [esp], ebx
mov edi, eax
call sub.msvcrt.dll_strlen
mov ecx, edi
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00479070
sub esp, 8
mov dword [esp], esi
call fcn.00429192
mov dword [esp], str.ANDROID_LOG_TAGS
call sub.msvcrt.dll_getenv
test eax, eax
mov ebx, eax
mov dword [ebp - 0x40], eax
je 0x426767
lea eax, [ebp - 0x2e]
lea edi, [ebp - 0x28]
mov dword [esp + 4], eax
mov ecx, edi
mov dword [esp], 0x4bf547
lea esi, [ebp - 0x2c]
call fcn.00479f20
lea eax, [ebp - 0x2f]
mov ecx, esi
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00479f20
lea eax, [ebp - 0x24]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call fcn.00427140
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, 0x4b50b0
jne 0x426842
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, 0x4b50b0
jne 0x426863
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, edx
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x426754
xor ebx, ebx
jmp 0x4266dc
cmp dword [0x4af40c], 6
jg 0x4266b6
call dword [sym.imp.msvcrt.dll__errno]
mov ecx, edi
mov edx, dword [eax]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x138
mov dword [esp], str.system_core_base_logging.cpp
mov dword [ebp - 0x3c], edx
call fcn.00425fd0
mov eax, dword [ebp - 0x28]
sub esp, 0x14
mov dword [esp + 4], str.unsupported_
mov dword [esp], eax
call fcn.004a6090
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx - 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.004a22f0
mov dword [esp + 4], str._in_ANDROID_LOG_TAGS__
mov dword [esp], eax
call fcn.004a6090
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004a6090
mov dword [esp + 4], 0x4bf58f
mov dword [esp], eax
call fcn.004a6090
mov ecx, edi
call fcn.004261c0
call dword [sym.imp.msvcrt.dll__errno]
mov edx, dword [ebp - 0x3c]
mov dword [eax], edx
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, 0x4b50b0
jne 0x42682b
mov edx, dword [ebp - 0x20]
add ebx, 1
mov eax, dword [ebp - 0x24]
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x426754
lea eax, [eax + ebx*4]
mov ecx, esi
mov dword [esp], eax
call fcn.00479fc0
mov eax, dword [ebp - 0x2c]
sub esp, 4
cmp dword [eax - 0xc], 3
jne case.0x426737.3
mov dword [esp + 4], 0x4bf549
mov dword [esp], esi
call fcn.00427070
test al, al
je case.0x426737.3
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx - 4]
test eax, eax
js 0x426725
mov ecx, esi
call fcn.004781d0
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 2]
sub eax, 0x64
cmp al, 0x13
ja case.0x426737.3
movzx eax, al
jmp dword [eax*4 + 0x4bf594]
mov ebx, dword [eax]
lea ecx, [ebx - 0xc]
cmp ecx, 0x4b50b0
jne 0x4267ff
add eax, 4
cmp edx, eax
jne 0x426740
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x426767
mov dword [esp], eax
call fcn.004a8600
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x4af40c], 5
lea ecx, [edx - 0xc]
cmp ecx, 0x4b50b0
je 0x4266c8
mov eax, 0xffffffff
lock xadd dword [edx - 4], eax
test eax, eax
jg 0x4266c8
mov dword [esp], edi
call fcn.004787f0
push ecx
jmp 0x4266c8
mov dword [0x4af40c], 2
jmp 0x42677a
mov dword [0x4af40c], 3
jmp 0x42677a
mov dword [0x4af40c], 4
jmp 0x42677a
mov dword [0x4af40c], 1
jmp 0x42677a
mov dword [0x4af40c], 0
jmp 0x42677a
mov esi, 0xffffffff
lock xadd dword [ebx - 4], esi
test esi, esi
jg 0x426751
mov dword [esp], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
call fcn.004787f0
mov eax, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x40]
jmp 0x426751
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x4266c8
jmp 0x42679b
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x4265d5
lea eax, [ebp - 0x2d]
mov dword [esp], eax
call fcn.004787f0
push eax
jmp 0x4265d5
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x4265e7
mov dword [esp], esi
call fcn.004787f0
push ebx
jmp 0x4265e7
mov dword [esp], eax
call fcn.004a36f0
lea esi, [esi]
mov eax, dword [0x4af40c]
ret