Function at 0x412c08
Capabilities:
Create directory

Disassembly:
push 0x438
mov eax, 0x457682
call fcn.0043e062
mov eax, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x3fc], 0x48ea10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [0x48ea3c], eax
mov dword [0x48ea40], ebx
mov dword [0x48ea7c], ebx
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x400]
call fcn.004104de
mov dword [ebp - 4], ebx
mov eax, dword [0x48e91c]
cmp eax, ebx
mov esi, 0x48e914
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x3f8], esi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x3ec], ebx
jle 0x412d4c
push dword [ebp - 0x3ec]
mov ecx, esi
call fcn.00416347
mov edi, eax
cmp dword [edi], ebx
je 0x412d2c
mov ebx, dword [ebp - 0x41c]
mov ecx, edi
call fcn.0041215d
test eax, eax
je 0x412cf3
push str.File_already_exist_and_valid:
lea ecx, [ebp - 0x3e8]
call fcn.0040215a
mov byte [ebp - 4], 1
mov eax, dword [edi]
push 0
add eax, 8
push eax
lea eax, [ebp - 0x3e8]
push eax
push 2
call fcn.0040e8c7
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3e8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov edi, dword [edi]
mov dword [edi + 0x18], 1
jmp 0x412d2a
mov eax, dword [ebp - 0x400]
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x40c], 1
je 0x412d19
push 0x473d40
lea ecx, [ebp - 0x400]
call fcn.00408e18
mov edi, dword [edi]
add edi, 4
push edi
lea ecx, [ebp - 0x400]
call fcn.00401f30
xor ebx, ebx
inc dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3ec]
cmp eax, dword [ebp - 0x420]
jl 0x412c81
cmp dword [ebp - 0x40c], ebx
jne 0x412d79
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x48ea3c]
xor esi, esi
dec eax
mov dword [0x48ea3c], eax
inc esi
mov ecx, dword [ebp - 0x400]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043e0be
ret 4
mov eax, dword [ebp - 0x41c]
mov eax, dword [eax + 0xc]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [0x48eafc], ebx
je 0x412da1
mov dword [ebp - 0x3e0], ebx
cmp dword [0x48e510], ebx
je 0x412dab
mov dword [ebp - 0x3e0], 2
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
xor eax, eax
lea edi, [ebp - 0x43c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x48e97c
lea ecx, [ebp - 0x3ec]
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x3e8], ebx
mov dword [ebp - 0x3e4], ebx
mov dword [ebp - 0x410], ebx
stosd dword es:[edi], eax
mov byte [ebp - 4], 2
call fcn.0040219e
lea eax, [ebp - 0x3ec]
mov byte [ebp - 4], 3
push eax
lea edi, [ebp - 0x40c]
mov dword [ebp - 0x40c], ebx
call fcn.00414af6
cmp dword [ebp - 0x40c], ebx
jne 0x412e3a
mov eax, 0x48e90c
call fcn.0040521a
test eax, eax
mov eax, 0x473d44
jne 0x412e2b
mov eax, str.ArmAcrobatJobs
push eax
lea eax, [ebp - 0x3ec]
push eax
xor eax, eax
call fcn.00408a71
push 0x3c
call fcn.0042a85e
pop ecx
mov dword [ebp - 0x404], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x412e66
push dword [ebp - 0x3ec]
push eax
call fcn.0040c26e
mov esi, eax
mov dword [ebp - 0x414], esi
jmp 0x412e6e
mov dword [ebp - 0x414], ebx
mov esi, ebx
mov byte [ebp - 4], 3
cmp dword [esi], ebx
jne 0x412f65
push str.DownloadFiles_with_BITs_failed:
lea ecx, [ebp - 0x3f8]
call fcn.0040215a
mov byte [ebp - 4], 5
push dword [esi + 0xc]
lea eax, [ebp - 0x3f8]
push eax
push 1
call fcn.0040ed4d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [esi + 0xc]
push esi
mov dword [0x48ea48], eax
call fcn.00411bb0
push dword [ebp - 0x41c]
call fcn.00413ff4
mov edi, eax
cmp edi, ebx
je 0x412f3e
push str.Resetting_Error_object
lea ecx, [ebp - 0x3f8]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x3f8]
push eax
push 2
mov byte [ebp - 4], 6
call fcn.0040ed4d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, 0x48eabc
call fcn.0040d14d
push str.updates_downloaded_successfully_using_DownloadFilesDirectly
mov ecx, 0x48ea54
mov dword [0x48ea7c], 1
call fcn.0040bb93
push dword [ebp - 0x400]
mov ecx, 0x48ea64
call fcn.0040bb93
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x48ea3c]
mov ecx, dword [ebp - 0x3ec]
dec eax
add ecx, 0xfffffff0
mov dword [0x48ea3c], eax
call fcn.004025dc
mov esi, edi
jmp 0x412d61
cmp dword [esi + 0xc], ebx
jge 0x412fa4
push str.BITs_error_code:
lea ecx, [ebp - 0x3f4]
call fcn.0040215a
mov byte [ebp - 4], 7
push dword [esi + 0xc]
lea eax, [ebp - 0x3f4]
push eax
push 1
call fcn.0040ed4d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [ebp - 0x444]
push eax
lea ebx, [ebp - 0x3e4]
mov ecx, esi
call fcn.0040ca19
mov ebx, eax
xor edi, edi
cmp ebx, edi
jge 0x4131f1
cmp ebx, 0x80200001
je 0x413004
push str.isComplete_returns_error:
lea ecx, [ebp - 0x3f4]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x3f4]
push eax
push 1
mov byte [ebp - 4], 8
call fcn.0040ed4d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [ebp - 0x420]
xor ecx, ecx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042a898
pop ecx
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x3f4], edi
mov eax, dword [ebp - 0x3f4]
cmp eax, dword [ebp - 0x420]
jge 0x41328f
mov ecx, dword [ebp - 0x3f8]
push eax
call fcn.00416347
mov ebx, eax
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x3f0]
call fcn.004104de
mov byte [ebp - 4], 0xa
mov eax, dword [ebx]
cmp eax, edi
je 0x41326a
cmp dword [eax + 0x18], edi
jne 0x41326a
mov eax, dword [ebp - 0x41c]
add eax, 0xc
push eax
lea ecx, [ebp - 0x424]
call fcn.0040219e
mov byte [ebp - 4], 0xb
mov eax, dword [ebx]
add eax, 4
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x424]
push eax
call fcn.00401f90
mov eax, dword [ebx]
lea ecx, [eax + 8]
lea eax, [ebp - 0x424]
push eax
call fcn.00408fde
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x3fc]
sar ecx, 0xa
add dword [eax + 0x30], ecx
mov ebx, dword [ebx]
add ebx, 0xc
push ebx
lea ecx, [ebp - 0x3f0]
mov dword [ebp - 0x3e8], 1
call fcn.00408fde
mov ebx, dword [ebp - 0x424]
mov eax, dword [ebx - 0xc]
lea esi, [eax + 2]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042a898
mov edx, dword [ebp - 0x410]
pop ecx
mov ecx, dword [ebp - 0x408]
push ebx
lea ecx, [edx + ecx*8]
push esi
push eax
mov dword [ebp - 0x428], ecx
mov dword [ecx + 4], eax
call fcn.0043d045
add esp, 0xc
push str.Creating_BITS_job_LocalFileName:
lea ecx, [ebp - 0x418]
call fcn.0040215a
push edi
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x418]
push eax
push 2
mov byte [ebp - 4], 0xc
call fcn.0040e8c7
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x418]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, dword [ebp - 0x3f0]
mov eax, dword [esi - 0xc]
lea edi, [eax + 2]
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042a898
pop ecx
mov ecx, dword [ebp - 0x428]
push esi
push edi
push eax
mov dword [ecx], eax
call fcn.0043d045
add esp, 0xc
push str.Creating_BITS_job_RemoteName:
lea ecx, [ebp - 0x404]
call fcn.0040215a
push 0
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x404]
push eax
push 2
mov byte [ebp - 4], 0xd
call fcn.0040e8c7
mov ecx, dword [ebp - 0x404]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
inc dword [ebp - 0x408]
lea ecx, [ebx - 0x10]
call fcn.004025dc
jmp 0x413270
cmp dword [ebp - 0x3e4], 2
je 0x413207
cmp dword [ebp - 0x3e4], 1
jne 0x413004
push str.Last_Bits_job_still_downloading_checking_progress
lea ecx, [ebp - 0x3e8]
call fcn.0040215a
push edi
lea eax, [ebp - 0x3e8]
push eax
push 2
mov byte [ebp - 4], 9
call fcn.0040ed4d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [0x48e91c]
push esi
call fcn.0040c3e1
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [0x48ea48], edi
mov eax, ecx
mov dword [ebp - 0x3e8], eax
mov dword [0x48ea7c], eax
jmp 0x41331c
mov esi, dword [ebp - 0x3f0]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.004025dc
inc dword [ebp - 0x3f4]
mov esi, dword [ebp - 0x414]
xor edi, edi
jmp 0x41302b
cmp dword [ebp - 0x408], edi
je 0x41331c
push dword [ebp - 0x3e0]
mov ecx, esi
push dword [ebp - 0x410]
push dword [ebp - 0x408]
call fcn.0040c716
mov ebx, eax
cmp ebx, edi
jge 0x4132fd
mov eax, dword [ebp - 0x3fc]
push str.downLoadFileSet___failed.
lea ecx, [ebp - 0x3e0]
mov dword [eax + 0x38], ebx
call fcn.0040215a
push ebx
lea eax, [ebp - 0x3e0]
push eax
push 1
mov byte [ebp - 4], 0xe
call fcn.0040ed4d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x41331c
cmp dword [ebp - 0x40c], edi
je 0x41331c
lea eax, [ebp - 0x3ec]
push eax
mov eax, 0x48e90c
call fcn.0040521a
push eax
call fcn.0041452d
cmp dword [ebp - 0x3e8], edi
je 0x4136c6
mov eax, dword [ebp - 0x3f8]
cmp dword [eax + 8], edi
jle 0x4136c6
lea eax, [ebp - 0x444]
push eax
lea ebx, [ebp - 0x3e4]
mov ecx, esi
call fcn.0040ca19
xor ebx, ebx
mov edi, eax
cmp dword [0x48e520], ebx
jne 0x4136c6
cmp edi, ebx
jge 0x41341d
mov eax, dword [ebp - 0x3fc]
push str.DownloadFiles:isComplete_returns_error
lea ecx, [ebp - 0x3e0]
mov dword [eax + 0x38], edi
call fcn.0040215a
push edi
lea eax, [ebp - 0x3e0]
push eax
push 1
mov byte [ebp - 4], 0xf
call fcn.0040ed4d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [ebp - 0x3e0]
cmp edi, 0x80190194
jne 0x4133d6
push str.Missing_file_on_server__HTTP_Error_404_
call fcn.0040215a
mov byte [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x3e0]
push ecx
push 0x223a8
mov ecx, eax
jmp 0x4133f2
push str.General_Download_File_failure
call fcn.0040215a
lea eax, [ebp - 0x3e0]
push eax
mov byte [ebp - 4], 0x11
push 0x2240c
mov ecx, edi
mov edx, 0x48eabc
call fcn.0040d172
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [ebp - 0x3e4], 4
jmp 0x4136c6
cmp dword [ebp - 0x3e4], 2
je 0x41351a
cmp dword [ebp - 0x3e4], 1
je 0x41351a
cmp dword [ebp - 0x3e4], 6
jne 0x4136ac
mov eax, dword [ebp - 0x3fc]
mov dword [eax + 0x30], ebx
mov dword [ebp - 0x3f0], ebx
mov eax, dword [ebp - 0x3f0]
cmp eax, dword [ebp - 0x420]
jge 0x4136a4
mov ecx, dword [ebp - 0x3f8]
push eax
call fcn.00416347
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x4134be
cmp dword [eax + 0x18], ebx
jne 0x4134be
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 8]
mov esi, eax
call fcn.00418534
test eax, eax
je 0x4134cc
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x3fc]
sar ecx, 0xa
add dword [eax + 0x30], ecx
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x34], ecx
mov eax, dword [edi]
mov dword [eax + 0x18], 1
xor ebx, ebx
inc dword [ebp - 0x3f0]
mov esi, dword [ebp - 0x414]
jmp 0x413453
push str.File_invalid_after_BITs_download:
lea ecx, [ebp - 0x3e0]
call fcn.0040215a
mov byte [ebp - 4], 0x15
mov eax, dword [edi]
push 0
add eax, 8
push eax
lea eax, [ebp - 0x3e0]
push eax
push 1
call fcn.0040e8c7
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [ebp - 0x3e4], 4
jmp 0x41369c
mov eax, dword [0x48e510]
neg eax
sbb eax, eax
and eax, 0x3b6
add eax, 0x32
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x440], ebx
ja 0x413546
cmp dword [ebp - 0x444], ebx
jbe 0x4136a4
cmp dword [ebp - 0x438], ebx
ja 0x41355a
cmp dword [ebp - 0x43c], ebx
jbe 0x4136a4
mov edi, dword [0x48eafc]
mov dword [ebp - 0x428], edi
cmp edi, ebx
je 0x4136a4
cmp dword [0x48e520], ebx
jne 0x4136c6
mov esi, dword [edi]
push ebx
push 0x64
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call fcn.00441c80
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.004463c0
push eax
mov ecx, edi
call dword [esi + 0x188]
push 0x3b8
lea eax, [ebp - 0x3d8]
push ebx
push eax
mov dword [ebp - 0x3dc], ebx
call fcn.0043c590
add esp, 0xc
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x3e8]
call fcn.004104de
push str.IDS_BAL_DOWNLOADPROGRESS
lea ecx, [ebp - 0x404]
mov byte [ebp - 4], 0x12
call fcn.0040215a
lea esi, [ebp - 0x3e8]
lea edi, [ebp - 0x404]
mov ebx, 0x48e460
mov byte [ebp - 4], 0x13
call fcn.00408548
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x404]
add ecx, 0xfffffff0
call fcn.004025dc
push 0
push 0x64
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call fcn.00441c80
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.004463c0
push eax
push dword [ebp - 0x3e8]
mov eax, 0x100
lea edi, [ebp - 0x3c4]
call fcn.00414df7
pop ecx
pop ecx
mov eax, edi
push eax
lea ecx, [ebp - 0x418]
call fcn.0040215a
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 0x14
call fcn.0041e878
mov ecx, dword [ebp - 0x418]
add ecx, 0xfffffff0
call fcn.004025dc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e8]
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, dword [ebp - 0x414]
xor ebx, ebx
cmp dword [0x48e520], ebx
jne 0x4136c6
cmp dword [ebp - 0x3e4], 2
je 0x413337
cmp dword [ebp - 0x3e4], 1
je 0x413337
xor edi, edi
cmp dword [ebp - 0x408], edi
je 0x413703
cmp edi, dword [ebp - 0x408]
jge 0x413703
mov ebx, dword [ebp - 0x410]
test ebx, ebx
je 0x413700
lea ebx, [ebx + edi*8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4136f3
push eax
call fcn.0042a88d
pop ecx
mov eax, dword [ebx]
test eax, eax
je 0x413700
push eax
call fcn.0042a88d
pop ecx
inc edi
jmp 0x4136d0
test esi, esi
je 0x413726
cmp dword [0x48e520], 0
je 0x413717
mov eax, esi
call fcn.0040c9e6
mov eax, dword [ebp - 0x3e4]
push esi
mov dword [esi + 0x38], eax
call fcn.00411bb0
cmp dword [ebp - 0x410], 0
je 0x41373b
push dword [ebp - 0x410]
call fcn.0042a88d
pop ecx
mov ecx, dword [ebp - 0x3ec]
add ecx, 0xfffffff0
call fcn.004025dc
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x3fc]
xor eax, eax
cmp dword [ebp - 0x3e4], 6
sete al
mov edi, eax
test edi, edi
je 0x4137b9
push dword [ebp - 0x400]
mov dword [esi + 0x6c], 1
lea ecx, [esi + 0x54]
jmp 0x413839
cmp dword [0x48e520], 0
jne 0x41383e
push dword [ebp - 0x41c]
call fcn.00413ff4
mov edi, eax
test edi, edi
je 0x41383e
push str.Resetting_Error_object
lea ecx, [ebp - 0x3e0]
call fcn.0040215a
push 0
lea eax, [ebp - 0x3e0]
push eax
push 2
mov byte [ebp - 4], 0x18
call fcn.0040ed4d
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3e0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, 0x48eabc
call fcn.0040d14d
mov esi, dword [ebp - 0x3fc]
push dword [ebp - 0x400]
lea ecx, [esi + 0x54]
mov dword [esi + 0x6c], 1
call fcn.0040bb93
push str.BITs_failed__Updates_downloaded_successfully_using_DownloadFilesDirectly
lea ecx, [esi + 0x44]
call fcn.0040bb93
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x2c]
dec eax
mov dword [esi + 0x2c], eax
jmp 0x412f5e