Function at 0x4499c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x230
mov ebx, dword [ebp + 8]
push str.ANDROID_ADB_LOG_PATH
call fcn.00476dd0
add esp, 4
test eax, eax
je 0x449a2c
mov edi, eax
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [ebx + 8], 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x449cbf
mov ecx, eax
cmp eax, 0xb
jae 0x449ae0
mov eax, ecx
add al, cl
mov byte [ebx], al
lea esi, [ebx + 1]
test ecx, ecx
jne 0x449b0b
jmp 0x449b1a
mov dword [esp + 0x1c], 0x676f6c
mov dword [esp + 0x18], 0x2e626461
lea edi, [esp + 0x24]
push 0x208
push 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xfffffefc
cmp eax, 0xfffffefc
ja 0x449a7c
push 0
push 6
call fcn.004b9f30
add esp, 8
test al, al
jne 0x449bd5
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
lea eax, [esp + 8]
push eax
push edi
call fcn.004bc1c0
add esp, 8
test al, al
jne 0x449aba
push 0
push 6
call fcn.004b9f30
add esp, 8
test al, al
jne 0x449c69
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov esi, ebx
mov dword [ebx + 8], 0
movzx ebx, byte [esp + 8]
test bl, 1
je 0x449b23
mov eax, dword [esp + 0xc]
jmp 0x449b27
mov ebx, ecx
or ebx, 0xf
lea eax, [ebx + 1]
push eax
mov esi, ecx
call fcn.0051c3d0
mov ecx, esi
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [eax + 8], esi
add ebx, 2
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 4], ecx
push ecx
push edi
push esi
mov edi, ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, edi
add esp, 0xc
mov byte [esi + ecx], 0
jmp 0x449bcb
mov eax, ebx
shr eax, 1
mov dword [esp + 4], eax
lea eax, [esp + 0x18]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test bl, 1
je 0x449b43
mov edx, dword [esp + 0x10]
jmp 0x449b47
lea edx, [esp + 9]
mov ebx, esi
mov ecx, dword [esp + 4]
lea edi, [ecx + eax]
cmp edi, 0xfffffff0
jae 0x449cbf
mov dword [esp + 0x20], eax
cmp edi, 0xa
ja 0x449b6d
mov eax, ecx
add al, cl
mov byte [ebx], al
lea esi, [ebx + 1]
jmp 0x449b91
or edi, 0xf
lea eax, [edi + 1]
push eax
mov esi, edx
call fcn.0051c3d0
mov edx, esi
mov ecx, dword [esp + 8]
add esp, 4
mov esi, eax
mov dword [ebx + 8], eax
add edi, 2
mov dword [ebx], edi
mov dword [ebx + 4], ecx
lea edi, [esp + 0x18]
test ecx, ecx
je 0x449ba8
push ecx
push edx
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov byte [esi + ecx], 0
mov ecx, ebx
push dword [esp + 0x20]
push edi
call fcn.00520110
test byte [esp + 8], 1
je 0x449bcb
push dword [esp + 0x10]
call fcn.0051c570
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [eax]
mov dword [esp + 4], eax
sub esp, 0x14
movaps xmm0, xmmword [0x86dab0]
movups xmmword [esp + 4], xmm0
mov dword [esp], str.packages_modules_adb_adb_utils.cpp
lea esi, [esp + 0x28]
mov ecx, esi
call fcn.004b9f90
mov ecx, esi
call fcn.004b9f60
push 0x25
push str.cannot_retrieve_temporary_file_path:
push eax
call fcn.00402f60
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 8]
push eax
push ebx
call fcn.004bbe60
add esp, 8
push ebx
push esi
call fcn.00402f30
add esp, 8
test byte [esp + 8], 1
je 0x449c4c
push dword [esp + 0x10]
call fcn.0051c570
add esp, 4
lea ecx, [esp + 0x14]
call fcn.004ba060
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov ebx, dword [ebp + 8]
jmp 0x449a7c
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call esi
mov edi, ebx
mov ebx, dword [eax]
call esi
lea esi, [esp + 0x14]
mov ecx, esi
push dword [eax]
push 0
push 6
push 0x155
push str.packages_modules_adb_adb_utils.cpp
call fcn.004b9f90
mov ecx, esi
call fcn.004b9f60
push 0x37
push str.cannot_convert_temporary_file_path_from_UTF_16_to_UTF_8
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, esi
call fcn.004ba060
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], ebx
mov ebx, edi
jmp 0x449aba
mov ecx, ebx
call fcn.0051f6b0
nop word cs:[eax + eax]