Function at 0x435070
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.004349f0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00434ab0
cmp byte [0x57b308], 0
jne 0x435307
test ebx, ebx
mov byte [0x57b308], 1
je 0x4350fe
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004acd50
mov dword [esp], 4
mov ebx, eax
call fcn.00520de0
mov dword [esp], ebx
mov esi, eax
lea eax, [ebp - 0x28]
mov ecx, esi
mov dword [esp + 4], eax
call fcn.004ef570
mov eax, dword [0x57b304]
mov ebx, dword [eax]
mov dword [eax], esi
sub esp, 8
test ebx, ebx
je 0x4350fe
mov eax, dword [ebx]
lea ecx, [eax - 0xc]
cmp ecx, 0x52bf90
jne 0x4353e2
mov dword [esp], ebx
call fcn.00520d30
mov dword [esp], str.ANDROID_LOG_TAGS
call sub.msvcrt.dll_getenv
test eax, eax
mov ebx, eax
mov dword [ebp - 0x40], eax
je 0x435307
lea eax, [ebp - 0x2e]
lea edi, [ebp - 0x28]
mov dword [esp + 4], eax
mov ecx, edi
mov dword [esp], 0x535d47
lea esi, [ebp - 0x2c]
call fcn.004ef570
lea eax, [ebp - 0x2f]
mov ecx, esi
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004ef570
lea eax, [ebp - 0x24]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call fcn.00435d90
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, 0x52bf90
jne 0x435403
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, 0x52bf90
jne 0x435424
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, edx
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x4352f4
xor ebx, ebx
jmp 0x435279
cmp dword [0x526108], 6
jg 0x435253
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], 0x130
mov dword [esp], str.system_core_base_logging.cpp
mov dword [ebp - 0x3c], edx
call fcn.00434b70
mov eax, dword [ebp - 0x28]
sub esp, 0x14
mov dword [esp + 4], str.unsupported_
mov dword [esp], eax
call fcn.0051e740
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.0051a330
mov dword [esp + 4], str._in_ANDROID_LOG_TAGS__
mov dword [esp], eax
call fcn.0051e740
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0051e740
mov dword [esp + 4], 0x535d8f
mov dword [esp], eax
call fcn.0051e740
mov ecx, edi
call fcn.00434d50
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, 0x52bf90
jne 0x4353cb
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 0x4352f4
lea eax, [eax + ebx*4]
mov ecx, esi
mov dword [esp], eax
call fcn.004ef610
mov eax, dword [ebp - 0x2c]
sub esp, 4
cmp dword [eax - 0xc], 3
jne case.0x4352d4.3
mov dword [esp + 4], 0x535d49
mov dword [esp], esi
call fcn.00435cf0
test al, al
je case.0x4352d4.3
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx - 4]
test eax, eax
js 0x4352c2
mov ecx, esi
call fcn.004ed820
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 2]
sub eax, 0x64
cmp al, 0x13
ja case.0x4352d4.3
movzx eax, al
jmp dword [eax*4 + 0x535d94]
mov ebx, dword [eax]
lea ecx, [ebx - 0xc]
cmp ecx, 0x52bf90
jne 0x43539f
add eax, 4
cmp edx, eax
jne 0x4352e0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x435307
mov dword [esp], eax
call fcn.00520d30
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x526108], 5
lea ecx, [edx - 0xc]
cmp ecx, 0x52bf90
je 0x435265
mov eax, 0xffffffff
lock xadd dword [edx - 4], eax
test eax, eax
jg 0x435265
mov dword [esp], edi
call fcn.004ede40
push ecx
jmp 0x435265
mov dword [0x526108], 2
jmp 0x43531a
mov dword [0x526108], 3
jmp 0x43531a
mov dword [0x526108], 4
jmp 0x43531a
mov dword [0x526108], 1
jmp 0x43531a
mov dword [0x526108], 0
jmp 0x43531a
mov esi, 0xffffffff
lock xadd dword [ebx - 4], esi
test esi, esi
jg 0x4352f1
mov dword [esp], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
call fcn.004ede40
mov eax, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x40]
jmp 0x4352f1
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x435265
jmp 0x43533b
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x4350f6
lea eax, [ebp - 0x24]
mov dword [esp], eax
call fcn.004ede40
push eax
jmp 0x4350f6
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x43516e
lea eax, [ebp - 0x2d]
mov dword [esp], eax
call fcn.004ede40
push eax
jmp 0x43516e
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x435180
mov dword [esp], esi
call fcn.004ede40
push ebx
jmp 0x435180