Function at 0x42a4e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x3c
mov esi, dword [ecx]
mov eax, dword [0x4b14cc]
cmp dword [esi + 0xc0], eax
jl 0x42a205
mov eax, dword [esi + 0xc8]
cmp eax, 0xffffffff
je 0x42a272
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], 0x4c043e
mov esi, eax
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004aa5a0
mov eax, dword [ebx]
jmp 0x42a274
mov eax, dword [esi + 0x28]
mov dword [esi], 0x4c886c
mov dword [esi + 0x2c], 0x4c8880
mov dword [esi + 4], 0x4c83a8
lea ecx, [eax - 0xc]
cmp ecx, 0x4b7170
jne 0x42a428
lea ecx, [esi + 0x20]
mov dword [esi + 4], vtable.c_streambufIwSt11char_traitsIwEE.0
call fcn.004a0930
mov eax, dword [0x4c7564]
lea ecx, [esi + 0x2c]
mov edx, dword [0x4c7568]
mov dword [esi], eax
mov eax, dword [eax - 0xc]
mov dword [esi + eax], edx
mov dword [esi + 0x2c], 0x4c8df0
call fcn.004a32c0
mov dword [esp], esi
call fcn.004acb10
mov dword [ebx], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, esi
add eax, 4
lea esi, [ebp - 0x1c]
mov dword [esp], eax
mov ecx, esi
call fcn.00456ef0
push eax
call fcn.00429980
mov dword [esp], eax
mov dword [ebp - 0x30], eax
call fcn.0042d249
test eax, eax
jne 0x42a4aa
mov dword [esp + 4], 0
mov ecx, esi
mov dword [esp], 0xa
call fcn.00454d10
add eax, 1
push edi
push edi
je 0x42a466
mov ecx, esi
xor edi, edi
mov dword [esp], 0xa
call fcn.0047e230
mov eax, dword [ebp - 0x1c]
push ecx
cmp dword [eax - 0xc], 0
je 0x42a38c
mov dword [esp + 4], edi
mov ecx, esi
mov dword [esp], 0xa
call fcn.00454d10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov edx, dword [eax - 4]
test edx, edx
js 0x42a308
mov ecx, esi
call fcn.0047c560
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 4]
test eax, eax
js 0x42a323
mov ecx, esi
call fcn.0047c560
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx]
lea edx, [ecx + edi]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 8], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 4], edx
mov eax, dword [eax + 0xb4]
mov dword [esp], eax
call fcn.0042a130
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax - 4]
test edi, edi
js 0x42a376
mov ecx, esi
call fcn.0047c560
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x2c]
mov byte [eax + edi], 0xa
mov eax, dword [ebp - 0x1c]
add edi, 1
cmp edi, dword [eax - 0xc]
jb 0x42a2dc
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.0042d302
mov eax, dword [ebx]
cmp dword [eax + 0xc0], 6
je 0x42a449
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0xc]
lea eax, [ebp - 0x1d]
mov dword [esp], eax
call fcn.0047cba0
mov edi, dword [ebx]
test edi, edi
push ecx
je 0x42a41d
mov eax, dword [edi + 0x28]
mov dword [edi], 0x4c886c
mov dword [edi + 0x2c], 0x4c8880
mov dword [edi + 4], 0x4c83a8
lea ecx, [eax - 0xc]
cmp ecx, 0x4b7170
jne 0x42a4b2
lea ecx, [edi + 0x20]
mov dword [edi + 4], vtable.c_streambufIwSt11char_traitsIwEE.0
call fcn.004a0930
mov eax, dword [0x4c7564]
lea ecx, [edi + 0x2c]
mov edx, dword [0x4c7568]
mov dword [edi], eax
mov eax, dword [eax - 0xc]
mov dword [edi + eax], edx
mov dword [edi + 0x2c], 0x4c8df0
call fcn.004a32c0
mov dword [esp], edi
call fcn.004acb10
mov dword [ebx], 0
jmp 0x42a26a
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x42a22b
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.0047cb80
push eax
jmp 0x42a22b
mov edi, dword [ebp - 0x1c]
call fcn.00429910
cmp dword [eax + 8], 0
je 0x42a4d0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [eax + 0xc]
jmp 0x42a3a6
mov eax, dword [ebx]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xc0]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 8], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 4], edx
mov eax, dword [eax + 0xb4]
mov dword [esp], eax
call fcn.0042a130
jmp 0x42a38c
mov dword [esp], eax
call fcn.004a7c00
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x42a3e4
mov dword [esp], esi
call fcn.0047cb80
push edx
jmp 0x42a3e4
call fcn.004a8350
lea esi, [esi]
lea edi, [edi]
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.00429cd0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00429d90
cmp byte [0x4cc7d4], 0
jne 0x42a75d
test ebx, ebx
mov byte [0x4cc7d4], 1
je 0x42a555
mov eax, dword [ebx]
lea ebx, [ebp - 0x24]
mov dword [esp], eax
call fcn.0043c990
lea edx, [ebp - 0x2c]
mov ecx, ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0047e2b0
sub esp, 8
mov dword [esp], ebx
call fcn.00429c20
mov eax, dword [ebp - 0x24]
lea ecx, [eax - 0xc]
cmp ecx, 0x4b7170
jne 0x42a871
mov dword [esp], str.ANDROID_LOG_TAGS
call sub.msvcrt.dll_getenv
test eax, eax
mov ebx, eax
mov dword [ebp - 0x40], eax
je 0x42a75d
lea eax, [ebp - 0x2e]
lea edi, [ebp - 0x28]
mov dword [esp + 4], eax
mov ecx, edi
mov dword [esp], 0x4c0452
lea esi, [ebp - 0x2c]
call fcn.0047e2b0
lea eax, [ebp - 0x2f]
mov ecx, esi
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0047e2b0
lea eax, [ebp - 0x24]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call fcn.0042b220
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, 0x4b7170
jne 0x42a832
mov eax, dword [ebp - 0x28]
lea ecx, [eax - 0xc]
cmp ecx, 0x4b7170
jne 0x42a853
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, edx
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x42a74a
xor ebx, ebx
jmp 0x42a6d4
cmp dword [0x4b14cc], 6
jg 0x42a6ae
call dword [sym.imp.msvcrt.dll__errno]
mov ecx, edi
mov edx, dword [eax]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0
mov dword [esp + 4], 0x13a
mov dword [esp], str.system_core_base_logging.cpp
mov dword [ebp - 0x3c], edx
call fcn.00429e50
mov eax, dword [ebp - 0x28]
sub esp, 0x18
mov dword [esp + 4], str.unsupported_
mov dword [esp], eax
call fcn.004aa5a0
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.004a6800
mov dword [esp + 4], str._in_ANDROID_LOG_TAGS__
mov dword [esp], eax
call fcn.004aa5a0
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004aa5a0
mov dword [esp + 4], 0x4c049a
mov dword [esp], eax
call fcn.004aa5a0
mov ecx, edi
call fcn.0042a1b0
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, 0x4b7170
jne 0x42a81b
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 0x42a74a
lea eax, [eax + ebx*4]
mov ecx, esi
mov dword [esp], eax
call fcn.0047e350
mov eax, dword [ebp - 0x2c]
sub esp, 4
cmp dword [eax - 0xc], 3
jne case.0x42a72f.3
mov dword [esp + 4], 0x4c0454
mov dword [esp], esi
call fcn.0042b000
test al, al
je case.0x42a72f.3
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx - 4]
test eax, eax
js 0x42a71d
mov ecx, esi
call fcn.0047c560
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 2]
sub eax, 0x64
cmp al, 0x13
ja case.0x42a72f.3
movzx eax, al
jmp dword [eax*4 + 0x4c049c]
mov ebx, dword [eax]
lea ecx, [ebx - 0xc]
cmp ecx, 0x4b7170
jne 0x42a7ef
add eax, 4
cmp edx, eax
jne 0x42a736
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x42a75d
mov dword [esp], eax
call fcn.004acb10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x4b14cc], 5
lea ecx, [edx - 0xc]
cmp ecx, 0x4b7170
je 0x42a6c0
mov eax, 0xffffffff
lock xadd dword [edx - 4], eax
test eax, eax
jg 0x42a6c0
mov dword [esp], edi
call fcn.0047cb80
push ecx
jmp 0x42a6c0
mov dword [0x4b14cc], 2
jmp 0x42a76f
mov dword [0x4b14cc], 3
jmp 0x42a76f
mov dword [0x4b14cc], 4
jmp 0x42a76f
mov dword [0x4b14cc], 1
jmp 0x42a76f
mov dword [0x4b14cc], 0
jmp 0x42a76f
mov esi, 0xffffffff
lock xadd dword [ebx - 4], esi
test esi, esi
jg 0x42a747
mov dword [esp], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
call fcn.0047cb80
mov eax, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x40]
jmp 0x42a747
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x42a6c0
jmp 0x42a790
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x42a5c5
lea eax, [ebp - 0x2d]
mov dword [esp], eax
call fcn.0047cb80
push eax
jmp 0x42a5c5
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x42a5d7
mov dword [esp], esi
call fcn.0047cb80
push ebx
jmp 0x42a5d7
or edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x42a555
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0047cb80
push eax
jmp 0x42a555