Function at 0x4053d0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x410da3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
push 0x5c
lea ecx, [esp + 0x24]
mov dword [esp + 0x140], 0
call sub.MFC42.DLL_CString::ReverseFind
push 0x416d0c
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::CString_2
push esi
lea edx, [esp + 0x1c]
push 0
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 1
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 1
call sub.MFC42.DLL_CString::CString
lea esi, [ebp + 0x7c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
push 0x416390
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
push eax
lea ecx, [esp + 0x20]
push esi
push ecx
mov byte [esp + 0x148], 3
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
push 0
push edx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
je 0x4054eb
mov eax, dword [esp + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.data_aapt.exe
mov ecx, esi
call fcn.0040fe74
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call edi
mov ebx, eax
push 0xffffffffffffffff
mov ecx, esi
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp ebx, 0xffffffff
je 0x405541
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40558e
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x416378
call sub.MFC42.DLL_CString::CString_2
push 0x8d
push 0
mov ecx, esi
mov byte [esp + 0x148], 6
call sub.MFC42.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x148], 5
call fcn.00403230
add esp, 0xc
mov ecx, esi
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.0040fb6e
mov ecx, dword [ebp + 0x74]
call fcn.004018d0
lea ecx, [esp + 0x10]
lea esi, [ebp + 0x80]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
push str.data_adb.exe
mov ecx, esi
call fcn.0040fe74
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
je 0x4055ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405637
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x416364
call sub.MFC42.DLL_CString::CString_2
push 0x8e
push 0
mov ecx, esi
mov byte [esp + 0x148], 7
call sub.MFC42.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x148], 5
call fcn.00403230
add esp, 0xc
mov ecx, esi
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, esi
call fcn.004057f0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0x74]
call fcn.00401860
lea esi, [ebp + 0x8c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
push str.dataAdbWinApi.dll
mov ecx, esi
call fcn.0040fe74
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405698
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4056e5
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ADBWINAPI
call sub.MFC42.DLL_CString::CString_2
push 0x8f
push 0
mov ecx, esi
mov byte [esp + 0x148], 8
call sub.MFC42.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x148], 5
call fcn.00403230
add esp, 0xc
mov ecx, esi
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
lea esi, [ebp + 0x90]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
push str.dataAdbWinUsbApi.dll
mov ecx, esi
call fcn.0040fe74
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x40572c
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
jmp 0x40577f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ADBWINUSBAPI
call sub.MFC42.DLL_CString::CString_2
push 0x90
push 0
mov ecx, esi
mov byte [esp + 0x148], 9
call sub.MFC42.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x148], 5
call fcn.00403230
add esp, 0xc
mov ecx, esi
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2c]
push ecx
call esi
mov edx, dword [esp + 0x28]
push edx
call esi
push edi
call esi
push ebx
call esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x13c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x130
ret