Function at 0x4cdd60
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, dword [esp + 0x44]
push dword [esp + 0x40]
call fcn.004ce0d0
add esp, 4
push esi
call fcn.004ce200
add esp, 4
cmp byte [0x5c49b8], 0
jne 0x4ce02b
mov eax, dword [esp + 0x3c]
mov byte [0x5c49b8], 1
test eax, eax
je 0x4cddd3
push dword [eax]
call fcn.004f2780
add esp, 4
lea esi, [esp + 0x14]
lea edx, [esp + 4]
mov ecx, esi
push edx
push eax
call fcn.005350b0
push esi
call fcn.004cdac0
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x56dff0
jne 0x4ce06e
push str.ANDROID_LOG_TAGS
call sub.msvcrt.dll_getenv
add esp, 4
mov ebx, eax
test eax, eax
je 0x4ce02b
mov esi, esp
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push ebx
call fcn.005350b0
lea edi, [esp + 4]
lea eax, [esp + 8]
mov ecx, edi
push eax
push 0x59c113
call fcn.005350b0
lea eax, [esp + 0x14]
push edi
push esi
push eax
call fcn.004cf1c0
add esp, 0xc
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
cmp ecx, 0x56dff0
jne 0x4ce08d
mov eax, dword [esp]
lea ecx, [eax - 0xc]
cmp ecx, 0x56dff0
jne 0x4ce0ae
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x4ce01a
mov dword [esp + 0x24], ebx
xor ebp, ebp
xor ebx, ebx
jmp 0x4cdf80
mov dword [0x568230], 1
jmp 0x4cdfed
mov dword [0x568230], 4
jmp 0x4cdfed
mov dword [0x568230], 2
jmp 0x4cdfed
mov dword [0x568230], 0
jmp 0x4cdfed
mov dword [0x568230], 3
jmp 0x4cdfed
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x4cdfff
lea eax, [esp + 4]
push eax
call fcn.00533980
jmp 0x4cdfff
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov eax, dword [eax]
mov dword [esp + 0x20], eax
push 0xcc
call fcn.00564040
add esp, 4
mov esi, eax
mov ecx, eax
push 0xffffffffffffffff
push 0
push 6
push 0
push 0x153
push str.system_core_base_logging.cpp
call fcn.004ce9d0
mov dword [esp + 4], esi
push 0xd
push str.unsupported_
push esi
call fcn.0055d520
add esp, 0xc
mov eax, dword [esp]
push dword [eax - 0xc]
push eax
push esi
call fcn.0055d520
add esp, 0xc
mov edi, eax
push 0x17
push str._in_ANDROID_LOG_TAGS__
push eax
call fcn.0055d520
add esp, 0xc
mov esi, dword [esp + 0x24]
push esi
call sub.msvcrt.dll_strlen
add esp, 4
push eax
push esi
push edi
call fcn.0055d520
add esp, 0xc
push 1
push 0x59c15b
push edi
call fcn.0055d520
add esp, 0xc
lea ecx, [esp + 4]
call fcn.004ce390
call dword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
jmp 0x4cdfed
add edi, ebp
mov ecx, esp
push edi
call fcn.00535150
mov eax, dword [esp]
cmp dword [eax - 0xc], 3
jne case.0x4cdfc8.103
push 0x59c115
lea eax, [esp + 4]
push eax
call fcn.004cf390
add esp, 8
test al, al
je case.0x4cdfc8.103
mov eax, dword [esp]
cmp dword [eax - 4], 0
js 0x4cdfbc
mov ecx, esp
call fcn.00533360
mov eax, dword [esp]
movsx eax, byte [eax + 2]
add eax, 0xffffff9c
cmp eax, 0x13
ja case.0x4cdfc8.103
jmp dword [eax*4 + 0x59c068]
mov dword [0x568230], 5
jmp 0x4cdfed
cmp dword [0x568230], 6
jle 0x4cdecb
mov eax, dword [esp]
lea ecx, [eax - 0xc]
cmp ecx, 0x56dff0
jne 0x4cdeaa
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
inc ebx
add ebp, 4
mov eax, esi
sub eax, edi
sar eax, 2
cmp ebx, eax
jb 0x4cdf80
cmp edi, esi
jne 0x4ce050
test esi, esi
je 0x4ce02b
push esi
call fcn.00563f90
add esp, 4
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x4ce05d
mov eax, esp
push eax
call fcn.00533980
jmp 0x4ce05d
mov eax, dword [edi]
lea ecx, [eax - 0xc]
cmp ecx, 0x56dff0
jne 0x4ce033
add edi, 4
cmp esi, edi
jne 0x4ce050
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x4ce022
jmp 0x4ce02b
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x4cddd3
mov eax, esp
push eax
call fcn.00533980
jmp 0x4cddd3
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x4cde30
lea eax, [esp + 0x10]
push eax
call fcn.00533980
jmp 0x4cde30
mov edx, 0xffffffff
lock xadd dword [eax - 4], edx
test edx, edx
jg 0x4cde42
push edi
call fcn.00533980
jmp 0x4cde42