Function at 0x43c190
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, esp
mov edi, edx
mov dword [esi + 8], ecx
push dword [ebp + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, 0xfc1
sub ecx, eax
mov dword [esi + 0x5c], ecx
test ecx, ecx
jle 0x43c629
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 4], eax
mov edx, dword [ebp + 0xc]
test edx, edx
sete cl
mov dword [esi + 0x3c], edi
lea eax, [edi - 7]
cmp eax, 0xfffffffe
setb ch
xor eax, eax
or ch, cl
mov byte [esi + 3], ch
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov ecx, 0
jne 0x43c24f
lea eax, [esi + 0x20]
push dword [ebp + 0x10]
push edx
push str._s:_u_
push eax
call fcn.004978d0
add esp, 0x10
test byte [esi + 0x10], 1
je 0x43c239
mov eax, dword [esi + 0x18]
mov byte [eax], 0
mov dword [esi + 0x14], 0
test byte [esi + 0x10], 1
je 0x43c239
push dword [esi + 0x18]
call fcn.00422980
add esp, 4
movsd xmm0, qword [esi + 0x20]
movsd qword [esi + 0x10], xmm0
mov eax, dword [esi + 0x28]
mov dword [esi + 0x18], eax
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ebx, esp
mov edx, ecx
shr dl, 1
test cl, 1
movzx edi, dl
cmovne edi, eax
mov eax, 0xfc2
mov ecx, dword [esi + 0x50]
sub eax, ecx
mov dword [esi + 0x4c], eax
mov eax, 0xfc5
sub eax, ecx
and eax, 0xfffffffc
call fcn.004977ec
mov dword [esi + 0xc], esp
push 0xa
push dword [ebp + 0x14]
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
add esp, 8
mov edx, eax
lea eax, [esi + 0x11]
mov dword [esi + 0x40], eax
test edx, edx
je 0x43c478
mov dword [esi + 0x44], ebx
add edi, 1
mov dword [esi + 0x58], edi
mov eax, dword [esi + 8]
add eax, 0xffffffff
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x3c]
lea ecx, [eax + 2]
cmp eax, 5
mov eax, 7
mov dword [esi + 0x54], ecx
cmovb eax, ecx
mov dword [esi + 0x64], eax
xor edi, edi
jmp 0x43c310
push ecx
push edi
push dword [esi + 0x60]
push str._s_.s
push edx
push eax
call fcn.0043d1a0
add esp, 0x18
mov edi, eax
test eax, eax
mov eax, 0
cmovs edi, eax
add edi, ebx
mov eax, dword [esi + 0x50]
add eax, 1
push 0xa
mov dword [esi + 4], eax
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
add esp, 8
mov edx, eax
test eax, eax
je 0x43c3ed
mov ebx, 0
mov eax, 0x555766
test edi, edi
mov ecx, dword [esi + 4]
je 0x43c3a1
mov eax, dword [esi + 0x58]
add eax, edx
add eax, edi
sub eax, ecx
cmp eax, dword [esi + 0x5c]
jle 0x43c390
mov edi, edx
mov eax, 0x7fffffff
cmp dword [esi + 0x48], 3
ja 0x43c34a
mov eax, dword [esi + 8]
mov eax, dword [eax*4 + 0x555774]
mov dword [esi + 0x20], 0x1c
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x20]
push eax
call fcn.00420b90
add esp, 4
xor ebx, ebx
mov eax, 0x555766
mov ecx, dword [esi + 4]
mov edx, edi
jmp 0x43c3a1
test edi, edi
mov eax, 0x555766
mov ebx, 0x555754
cmovg eax, ebx
mov ebx, edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], edx
mov edi, edx
sub edi, ecx
mov edx, dword [esi + 0xc]
lea eax, [edx + ebx]
mov edx, dword [esi + 0x4c]
sub edx, ebx
cmp byte [esi + 3], 0
jne 0x43c2d0
mov dword [esi + 0x68], eax
test byte [esi + 0x10], 1
lea ecx, [esi + 0x11]
je 0x43c3cf
mov ecx, dword [esi + 0x18]
push dword [esi + 4]
push edi
push ecx
push dword [esi + 0x60]
push str._s_s_.s
push edx
push dword [esi + 0x68]
call fcn.0043d1a0
add esp, 0x1c
jmp 0x43c2e4
test edi, edi
mov eax, dword [esi + 4]
je 0x43c4d3
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esi + 0x58]
add ecx, edi
add ecx, eax
cmp ecx, dword [esi + 0x5c]
jle 0x43c56a
mov eax, 0x7fffffff
cmp dword [esi + 0x48], 3
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x44]
ja 0x43c429
mov eax, dword [edx*4 + 0x555774]
cmp dword [esi + 0x3c], 5
mov ecx, 7
cmovb ecx, dword [esi + 0x54]
mov dword [esi + 0x20], 0x1c
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x20]
push eax
mov ebx, edx
call fcn.00420b90
mov edx, ebx
add esp, 4
mov eax, dword [esi + 4]
cmp byte [esi + 3], 0
jne 0x43c486
jmp 0x43c4df
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 8]
mov edi, ebx
cmp byte [esi + 3], 0
je 0x43c4df
mov ebx, eax
lea ecx, [edx - 1]
mov eax, 0x7fffffff
cmp ecx, 3
ja 0x43c49c
mov eax, dword [edx*4 + 0x555774]
mov ecx, dword [esi + 0x3c]
cmp ecx, 5
lea ecx, [ecx + 2]
mov edx, 7
cmovb edx, ecx
mov dword [esi + 0x20], 0x1c
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], ebx
jmp 0x43c543
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x44]
cmp byte [esi + 3], 0
jne 0x43c486
mov ebx, edx
test byte [esi + 0x10], 1
je 0x43c4ed
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x40], ecx
push eax
push dword [esi + 0x40]
push 0x555761
push dword [esi + 0x4c]
push dword [esi + 0xc]
call fcn.0043d1a0
add esp, 0x14
lea ecx, [ebx - 1]
mov eax, 0x7fffffff
cmp ecx, 3
ja 0x43c518
mov eax, dword [ebx*4 + 0x555774]
mov dword [esi + 0x20], 0x1c
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 7
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x20]
push eax
call fcn.00420b90
add esp, 4
mov esp, edi
test byte [esi + 0x10], 1
je 0x43c562
push dword [esi + 0x18]
call fcn.00422980
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test edi, edi
mov eax, 0x555754
mov ecx, 0x555766
cmovg ecx, eax
mov eax, dword [esi + 0xc]
add eax, edi
mov edx, dword [esi + 0x4c]
sub edx, edi
cmp byte [esi + 3], 0
je 0x43c5a6
push dword [esi + 4]
push 0xffffffffffffffff
push ecx
push str._s_.s
push edx
push eax
call fcn.0043d1a0
add esp, 0x18
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x3c]
jmp 0x43c5d0
test byte [esi + 0x10], 1
mov edi, dword [esi + 0x3c]
je 0x43c5b5
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x40], ebx
push dword [esi + 4]
push 0xffffffffffffffff
push dword [esi + 0x40]
push ecx
push str._s_s_.s
push edx
push eax
call fcn.0043d1a0
add esp, 0x1c
mov ecx, dword [esi + 8]
mov eax, 0x7fffffff
cmp dword [esi + 0x48], 3
ja 0x43c5e2
mov eax, dword [ecx*4 + 0x555774]
cmp edi, 5
mov ecx, 7
cmovb ecx, dword [esi + 0x54]
mov dword [esi + 0x20], 0x1c
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x38], eax
lea eax, [esi + 0x20]
push eax
call fcn.00420b90
add esp, 4
mov edi, dword [esi + 0x44]
jmp 0x43c54f
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, dword [ebp + 0x10]
lea edi, [esp + 0x60]
push dword [ebp + 0xc]
push edi
call 0x43cae0
add esp, 8
mov ecx, dword [esp + 0x70]
cmp edi, ecx
je 0x43c665
mov eax, 5
test ecx, ecx
jne 0x43c66a
jmp 0x43c66f
mov eax, 4
mov edx, dword [ecx]
call dword [edx + eax*4]
lea edi, [esp + 0x48]
push esi
push edi
call fcn.0043cc40
add esp, 8
mov ecx, dword [esp + 0x58]
cmp edi, ecx
je 0x43c69c
mov eax, 5
test ecx, ecx
jne 0x43c6a1
cmp byte [0x57d830], 0
je 0x43c6b3
jmp 0x43cabd
mov eax, 4
mov edx, dword [ecx]
call dword [edx + eax*4]
cmp byte [0x57d830], 0
jne 0x43cabd
mov eax, dword [ebp + 8]
mov byte [0x57d830], 1
test eax, eax
je 0x43c77c
push dword [eax]
call fcn.0047c970
add esp, 4
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x43cac5
mov ebx, eax
cmp eax, 0xb
jae 0x43c714
mov eax, ebx
add al, bl
mov byte [esp + 0x10], al
lea edi, [esp + 0x11]
test ebx, ebx
jne 0x43c740
jmp 0x43c74b
mov dword [esp + 0x1c], esi
mov esi, ebx
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
call fcn.004227e0
add esp, 4
mov edi, eax
mov dword [esp + 0x18], eax
or ebx, 1
mov dword [esp + 0x10], ebx
mov ebx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ebx
push esi
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
test byte [esp + 0x10], 1
je 0x43c75c
mov eax, dword [esp + 0x18]
jmp 0x43c760
lea eax, [esp + 0x11]
push eax
call fcn.004207d0
add esp, 4
test byte [esp + 0x10], 1
je 0x43c77c
push dword [esp + 0x18]
call fcn.00422980
add esp, 4
push str.ANDROID_LOG_TAGS
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
test eax, eax
je 0x43cabd
mov esi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x43cace
mov ebx, eax
cmp eax, 0xb
mov dword [esp + 0x1c], esi
jae 0x43c7f0
mov eax, ebx
add al, bl
mov byte [esp], al
lea edi, [esp + 1]
test ebx, ebx
jne 0x43c815
jmp 0x43c820
mov esi, ebx
add esi, 0x10
and esi, 0xfffffff0
push esi
call fcn.004227e0
add esp, 4
mov edi, eax
mov dword [esp + 8], eax
or esi, 1
mov dword [esp], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 4], ebx
push ebx
push esi
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov word [esp + 0x20], 0x2002
lea eax, [esp + 0x20]
mov edx, esp
lea ecx, [esp + 0x10]
push eax
push edx
push ecx
call fcn.00498bc0
add esp, 0xc
test byte [esp + 0x20], 1
je 0x43c86b
push dword [esp + 0x28]
call fcn.00422980
add esp, 4
test byte [esp], 1
je 0x43c87d
push dword [esp + 8]
call fcn.00422980
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, eax
cmp eax, ecx
je 0x43ca83
xor esi, esi
mov edi, ecx
xor ebx, ebx
jmp 0x43c8c3
add ebx, 1
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, eax
sub ecx, edi
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
add esi, 0xc
cmp ebx, ecx
jae 0x43ca83
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
add edi, esi
mov ecx, esp
push edi
call fcn.0047fbb0
movzx eax, byte [esp]
test al, 1
je 0x43c900
mov ecx, dword [esp + 4]
cmp ecx, 3
je 0x43c90d
jmp case.0x43c978.103
mov ecx, eax
shr ecx, 1
cmp ecx, 3
jne case.0x43c978.103
lea ecx, [esp + 1]
test al, 1
je 0x43c919
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 3
mov dword [esp + 0x38], 0x5556bd
mov dword [esp + 0x3c], 2
sub esp, 0x10
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
call fcn.00498fb0
add esp, 0x10
test al, al
je case.0x43c978.103
mov eax, dword [esp + 8]
add eax, 2
test byte [esp], 1
lea ecx, [esp + 3]
cmove eax, ecx
movsx eax, byte [eax]
add eax, 0xffffff9c
cmp eax, 0x13
ja case.0x43c978.103
jmp dword [eax*4 + 0x555650]
push 7
jmp 0x43ca60
push 4
push 0
push 7
call fcn.00484530
add esp, 0xc
test eax, eax
je 0x43ca68
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
sub esp, 0x14
movaps xmm0, xmmword [0x555640]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.system_libbase_logging.cpp
lea ecx, [esp + 0x34]
call fcn.0043ce40
push 0xd
push str.unsupported_
push dword [esp + 0x28]
call fcn.0041b3d0
add esp, 0xc
mov ecx, esp
push ecx
push eax
call fcn.0043d320
add esp, 8
push 0x17
push str._in_ANDROID_LOG_TAGS__
push eax
call fcn.0041b3d0
add esp, 0xc
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x1c]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push edi
push dword [esp + 0x38]
call fcn.0041b3d0
add esp, 0xc
push 1
push 0x555701
push eax
call fcn.0041b3d0
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0043cf10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x43ca68
push 6
jmp 0x43ca60
push 2
jmp 0x43ca60
push 3
jmp 0x43ca60
push 4
jmp 0x43ca60
push 5
nop dword [eax]
call fcn.00420a00
add esp, 4
test byte [esp], 1
je 0x43c8a0
push dword [esp + 8]
call fcn.00422980
add esp, 4
jmp 0x43c8a0
test edi, edi
je 0x43cabd
cmp eax, edi
jne 0x43ca96
mov eax, edi
jmp 0x43cab0
mov eax, esi
cmp esi, edi
je 0x43caac
lea esi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x43ca90
push dword [eax - 4]
call fcn.00422980
add esp, 4
jmp 0x43ca90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
push eax
call fcn.00422980
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x10]
call fcn.0047faa0
mov ecx, esp
call fcn.0047faa0
nop word cs:[eax + eax]
nop
push ebx
push edi
push esi
mov esi, dword [esp + 0x10]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov al, byte [0x57d940]
test al, al
je 0x43cbb2
mov eax, dword [0x57d938]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43cb24
cmp eax, ecx
je 0x43cb2d
mov dword [esi + 0x10], ecx
mov dword [eax + 0x10], 0
jmp 0x43cb39
mov dword [esi + 0x10], 0
jmp 0x43cb39
mov dword [esi + 0x10], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov al, byte [0x57d940]
test al, al
je 0x43cbf8
mov ebx, dword [esp + 0x14]
mov edi, dword [0x57d938]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], 0
cmp edi, ecx
je 0x43cb69
mov eax, 5
test ecx, ecx
jne 0x43cb6e
jmp 0x43cb73
mov eax, 4
mov edx, dword [ecx]
call dword [edx + eax*4]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x43cb8a
cmp ebx, eax
je 0x43cb93
mov dword [edi + 0x10], eax
mov dword [ebx + 0x10], 0
jmp 0x43cb9f
mov dword [edi + 0x10], 0
jmp 0x43cb9f
mov dword [edi + 0x10], edi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
push 0x43d1d0
call fcn.00420a20
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
ret
push 0x57d940
call fcn.0043e0b0
add esp, 4
test eax, eax
je 0x43cb08
push 0x18
call fcn.004227e0
add esp, 4
mov dword [eax], 0x5557c0
mov dword [eax + 4], 0x43bd80
mov dword [eax + 0x10], eax
mov dword [0x57d938], eax
push 0x57d940
call fcn.0043e220
add esp, 4
jmp 0x43cb08
push 0x57d940
call fcn.0043e0b0
add esp, 4
test eax, eax
je 0x43cb46
push 0x18
call fcn.004227e0
add esp, 4
mov dword [eax], 0x5557c0
mov dword [eax + 4], 0x43bd80
mov dword [eax + 0x10], eax
mov dword [0x57d938], eax
push 0x57d940
call fcn.0043e220
add esp, 4
jmp 0x43cb46