Function at 0x10133590
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbe0
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
push str.QLIB_RFCAL_XPT_Get_DPD_EFS_File
push 0x200
push eax
mov dword [ebp - 0xbdc], eax
mov dword [ebp - 0xbe0], ecx
mov byte [ebp - 0xbd6], 1
mov byte [ebp - 0xbd5], 1
call sym.QMSL_MSVC10R.dll_QLIB_AddUserMessageToTextLog
mov eax, esi
add esp, 0x10
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x90], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x101335f7
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x90]
call fcn.10003320
mov eax, edi
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10133620
sub eax, esi
push eax
push edi
lea ecx, [ebp - 0x74]
call fcn.10003320
push 0x16
mov edi, 0xf
push str.C:QualcommQDARTTemp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
call fcn.10003320
push str._tempDpd.bin
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.10066b90
push str._tempDpd.txt
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.10066b90
mov eax, dword [ebp - 0x20]
mov esi, 0x10
add esp, 0x18
cmp dword [ebp - 0xc], esi
jae 0x10133687
lea eax, [ebp - 0x20]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x101336a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x101336a6
mov byte [ebp - 0xbd5], bl
lea ecx, [ebp - 0x660]
call fcn.10200640
cmp byte [ebp - 0xbd5], 1
jne 0x10133741
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0xbdc]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x90]
push edx
push eax
lea ecx, [ebp - 0x660]
call fcn.10200570
mov byte [ebp - 0xbd5], al
cmp al, 1
jne 0x10133741
lea ecx, [ebp - 0xbd4]
push ecx
lea ecx, [ebp - 0x660]
call fcn.10200090
mov byte [ebp - 0xbd5], al
cmp al, 1
jne 0x10133741
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xbdc], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x74]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.10003140
mov eax, dword [ebp - 0xbe0]
movzx ecx, word [ebp + 0x14]
push eax
push ecx
lea ecx, [ebp - 0x660]
call fcn.10200400
mov byte [ebp - 0xbd5], al
cmp byte [ebp - 0xbd5], bl
jne 0x1013374f
mov byte [ebp - 0xbd6], bl
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x44], esi
jae 0x1013375a
lea eax, [ebp - 0x58]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
push eax
call esi
mov eax, dword [ebp - 0x3c]
add esp, 4
cmp dword [ebp - 0x28], 0x10
jae 0x10133772
lea eax, [ebp - 0x3c]
push eax
call esi
add esp, 4
lea ecx, [ebp - 0x660]
call fcn.101307b0
mov esi, 0x10
cmp dword [ebp - 0x28], esi
jb 0x10133799
mov edx, dword [ebp - 0x3c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
cmp dword [ebp - 0x44], esi
jb 0x101337b3
mov eax, dword [ebp - 0x58]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
cmp dword [ebp - 0xc], esi
jb 0x101337cd
mov ecx, dword [ebp - 0x20]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
cmp dword [ebp - 0x60], esi
jb 0x101337e7
mov edx, dword [ebp - 0x74]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x74], bl
cmp dword [ebp - 0x7c], esi
jb 0x10133804
mov eax, dword [ebp - 0x90]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xbd6]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret