Function at 0x4c8a60
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
cmp dword [0x53eea0], 0
je 0x4c8ac5
cmp dword [0x53f004], 0
je 0x4c8ad1
cmp dword [0x53f168], 0
je 0x4c8add
cmp dword [0x53f2cc], 0
je 0x4c8ae9
cmp dword [0x53f430], 0
je 0x4c8af5
cmp dword [0x53f594], 0
je 0x4c8b01
cmp dword [0x53f6f8], 0
je 0x4c8b0d
cmp dword [0x53f85c], 0
je 0x4c8b19
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x17
mov eax, 0xffffffff
jmp 0x4c8df9
mov edi, 0x53eea0
mov eax, 0x2710
jmp 0x4c8b23
mov edi, 0x53f004
mov eax, 0x2711
jmp 0x4c8b23
mov edi, 0x53f168
mov eax, 0x2712
jmp 0x4c8b23
mov edi, 0x53f2cc
mov eax, 0x2713
jmp 0x4c8b23
mov edi, 0x53f430
mov eax, 0x2714
jmp 0x4c8b23
mov edi, 0x53f594
mov eax, 0x2715
jmp 0x4c8b23
mov edi, 0x53f6f8
mov eax, 0x2716
jmp 0x4c8b23
mov edi, 0x53f85c
mov eax, 0x2717
mov esi, dword [esp + 0x2c]
mov dword [edi], eax
lea eax, [edi + 4]
push 0x12
push esi
push eax
call sub.msvcrt.dll_strncpy
add esp, 0xc
add esi, 9
mov byte [edi + 0x15], 0
push str.events
push esi
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x4c8b63
push str.security
push esi
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
jne 0x4c8b6a
mov dword [edi + 0x18], 1
mov dword [esp], edi
mov dword [edi + 0x1c], 4
push str.ANDROID_LOG_TAGS
call sub.msvcrt.dll_getenv
add esp, 4
test eax, eax
je 0x4c8d37
mov bl, byte [eax]
mov ebp, eax
test bl, bl
je 0x4c8d37
mov esi, dword [sym.imp.msvcrt.dll_isspace]
mov dword [esp + 4], 0
jmp 0x4c8c10
add eax, 0xffffff9c
cmp eax, 0x13
ja case.0x4c8bbd.103
mov edi, 2
jmp dword [eax*4 + 0x53072c]
mov edi, 3
jmp case.0x4c8bbd.118
mov edi, 6
jmp case.0x4c8bbd.118
mov edi, 7
jmp case.0x4c8bbd.118
mov edi, 1
jmp case.0x4c8bbd.118
mov edi, 4
jmp case.0x4c8bbd.118
mov edi, 8
jmp case.0x4c8bbd.118
mov edi, 5
jmp case.0x4c8bbd.118
movsx eax, bl
push eax
call esi
add esp, 4
test eax, eax
je 0x4c8c33
nop dword [eax]
movsx ebx, byte [ebp + 1]
inc ebp
push ebx
call esi
add esp, 4
test eax, eax
jne 0x4c8c20
test bl, bl
je 0x4c8c80
xor edi, edi
mov esi, ebp
nop word [eax + eax]
movsx eax, bl
push eax
call dword [sym.imp.msvcrt.dll_isspace]
add esp, 4
test eax, eax
jne 0x4c8c74
cmp edi, 0xf
ja 0x4c8c70
cmp bl, 0x3a
je 0x4c8c70
mov byte [esp + edi + 8], bl
inc esi
movzx ebx, byte [ebp + edi + 1]
inc edi
test bl, bl
jne 0x4c8c40
jmp 0x4c8c74
add ebp, edi
mov esi, ebp
cmp edi, 0x10
mov ebp, esi
jne 0x4c8c82
jmp 0x4c8df4
xor edi, edi
mov byte [esp + edi + 8], 0
mov edi, 2
mov bl, byte [esp + 8]
cmp bl, 0x2a
jne 0x4c8ca9
mov al, byte [esp + 9]
test al, al
jne 0x4c8ca9
mov edi, 3
xor ebx, ebx
mov byte [esp + 8], 0
cmp byte [ebp], 0x3a
jne 0x4c8ce9
movsx eax, byte [ebp + 1]
mov ecx, eax
add cl, 0xd0
cmp cl, 9
ja 0x4c8bb0
cmp al, 0x37
mov cl, 2
jg 0x4c8cc9
mov ecx, eax
movsx edi, cl
movsx eax, byte [ebp + 2]
add ebp, 2
test eax, eax
je 0x4c8ce9
push eax
call dword [sym.imp.msvcrt.dll_isspace]
add esp, 4
test eax, eax
je 0x4c8df4
test bl, bl
je 0x4c8d20
mov esi, dword [esp + 4]
mov edx, dword [esp]
lea eax, [esi + esi*4]
lea ecx, [edx + eax*4 + 0x24]
mov dword [edx + eax*4 + 0x34], edi
lea eax, [esp + 8]
push eax
push ecx
call sub.msvcrt.dll_strcpy
add esp, 8
inc esi
mov dword [esp + 4], esi
jmp 0x4c8d26
mov eax, dword [esp]
mov dword [eax + 0x1c], edi
mov bl, byte [ebp]
mov esi, dword [sym.imp.msvcrt.dll_isspace]
test bl, bl
jne 0x4c8c10
push str.ANDROID_PRINTF_LOG
call sub.msvcrt.dll_getenv
add esp, 4
mov esi, 1
test eax, eax
je 0x4c8dea
mov edi, eax
push 0x5308db
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
mov ebx, dword [esp]
test eax, eax
je 0x4c8ded
push 0x5308e1
push edi
call sub.msvcrt.dll_strcmp
add esp, 8
mov esi, 2
test eax, eax
je 0x4c8ded
push 0x5308e9
push edi
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x4c8ded
push 0x5308ed
push edi
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x4c8ded
push 0x5308f4
push edi
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x4c8ded
push 0x5308f8
push edi
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x4c8ded
push 0x5308fd
push edi
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x4c8ded
push edi
call sub.msvcrt.dll_atoi
add esp, 4
mov esi, eax
jmp 0x4c8ded
mov ebx, dword [esp]
mov dword [ebx + 0x20], esi
mov eax, dword [ebx]
jmp 0x4c8df9
mov eax, dword [esp]
mov eax, dword [eax]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret