Function at 0x4123a6
Capabilities:
Create directory

Disassembly:
push 0x438
mov eax, 0x4565c0
call fcn.0043cfa9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x3fc], 0x48ba00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [0x48ba2c], eax
mov dword [0x48ba30], ebx
mov dword [0x48ba68], ebx
call fcn.00429b48
push eax
lea ecx, [ebp - 0x400]
call fcn.0040fc71
mov dword [ebp - 4], ebx
mov eax, dword [0x48b914]
cmp eax, ebx
mov esi, 0x48b90c
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x3f8], esi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x3ec], ebx
jle 0x4124ea
push dword [ebp - 0x3ec]
mov ecx, esi
call fcn.00415af3
mov edi, eax
cmp dword [edi], ebx
je 0x4124ca
mov ebx, dword [ebp - 0x41c]
mov ecx, edi
call fcn.004118fb
test eax, eax
je 0x412491
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.0040e087
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3e8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
mov edi, dword [edi]
mov dword [edi + 0x18], 1
jmp 0x4124c8
mov eax, dword [ebp - 0x400]
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x40c], 1
je 0x4124b7
push 0x471a10
lea ecx, [ebp - 0x400]
call fcn.004089c0
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 0x41241f
cmp dword [ebp - 0x40c], ebx
jne 0x412517
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x48ba2c]
xor esi, esi
dec eax
mov dword [0x48ba2c], eax
inc esi
mov ecx, dword [ebp - 0x400]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, esi
call fcn.0043d005
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 [0x48bae8], ebx
je 0x41253f
mov dword [ebp - 0x3e0], ebx
cmp dword [0x48b508], ebx
je 0x412549
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 0x48b974
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.00414294
cmp dword [ebp - 0x40c], ebx
jne 0x4125d8
mov eax, 0x48b904
call fcn.004051e1
test eax, eax
mov eax, 0x471a14
jne 0x4125c9
mov eax, str.ArmAcrobatJobs
push eax
lea eax, [ebp - 0x3ec]
push eax
xor eax, eax
call fcn.0040b2b4
push 0x3c
call fcn.00429794
pop ecx
mov dword [ebp - 0x404], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x412604
push dword [ebp - 0x3ec]
push eax
call fcn.0040b9ca
mov esi, eax
mov dword [ebp - 0x414], esi
jmp 0x41260c
mov dword [ebp - 0x414], ebx
mov esi, ebx
mov byte [ebp - 4], 3
cmp dword [esi], ebx
jne 0x412703
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.0040e50d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, dword [esi + 0xc]
push esi
mov dword [0x48ba38], eax
call fcn.0041134e
push dword [ebp - 0x41c]
call fcn.00413792
mov edi, eax
cmp edi, ebx
je 0x4126dc
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.0040e50d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov esi, 0x48baa8
call fcn.0040c8a9
push str.updates_downloaded_successfully_using_DownloadFilesDirectly
mov ecx, 0x48ba40
mov dword [0x48ba68], 1
call fcn.0040b33a
push dword [ebp - 0x400]
mov ecx, 0x48ba50
call fcn.0040b33a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x48ba2c]
mov ecx, dword [ebp - 0x3ec]
dec eax
add ecx, 0xfffffff0
mov dword [0x48ba2c], eax
call fcn.004025e7
mov esi, edi
jmp 0x4124ff
cmp dword [esi + 0xc], ebx
jge 0x412742
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.0040e50d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea eax, [ebp - 0x444]
push eax
lea ebx, [ebp - 0x3e4]
mov ecx, esi
call fcn.0040c175
mov ebx, eax
xor edi, edi
cmp ebx, edi
jge 0x41298f
cmp ebx, 0x80200001
je 0x4127a2
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.0040e50d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
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.004297ce
pop ecx
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x3f4], edi
mov eax, dword [ebp - 0x3f4]
cmp eax, dword [ebp - 0x420]
jge 0x412a2d
mov ecx, dword [ebp - 0x3f8]
push eax
call fcn.00415af3
mov ebx, eax
call fcn.00429b48
push eax
lea ecx, [ebp - 0x3f0]
call fcn.0040fc71
mov byte [ebp - 4], 0xa
mov eax, dword [ebx]
cmp eax, edi
je 0x412a08
cmp dword [eax + 0x18], edi
jne 0x412a08
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.00408b86
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.00408b86
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.004297ce
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.0043bf8c
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.0040e087
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x418]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
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.004297ce
pop ecx
mov ecx, dword [ebp - 0x428]
push esi
push edi
push eax
mov dword [ecx], eax
call fcn.0043bf8c
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.0040e087
mov ecx, dword [ebp - 0x404]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
inc dword [ebp - 0x408]
lea ecx, [ebx - 0x10]
call fcn.004025e7
jmp 0x412a0e
cmp dword [ebp - 0x3e4], 2
je 0x4129a5
cmp dword [ebp - 0x3e4], 1
jne 0x4127a2
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.0040e50d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
push dword [0x48b914]
push esi
call fcn.0040bb3d
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [0x48ba38], edi
mov eax, ecx
mov dword [ebp - 0x3e8], eax
mov dword [0x48ba68], eax
jmp 0x412aba
mov esi, dword [ebp - 0x3f0]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.004025e7
inc dword [ebp - 0x3f4]
mov esi, dword [ebp - 0x414]
xor edi, edi
jmp 0x4127c9
cmp dword [ebp - 0x408], edi
je 0x412aba
push dword [ebp - 0x3e0]
mov ecx, esi
push dword [ebp - 0x410]
push dword [ebp - 0x408]
call fcn.0040be72
mov ebx, eax
cmp ebx, edi
jge 0x412a9b
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.0040e50d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
jmp 0x412aba
cmp dword [ebp - 0x40c], edi
je 0x412aba
lea eax, [ebp - 0x3ec]
push eax
mov eax, 0x48b904
call fcn.004051e1
push eax
call fcn.00413ccb
cmp dword [ebp - 0x3e8], edi
je 0x412e64
mov eax, dword [ebp - 0x3f8]
cmp dword [eax + 8], edi
jle 0x412e64
lea eax, [ebp - 0x444]
push eax
lea ebx, [ebp - 0x3e4]
mov ecx, esi
call fcn.0040c175
xor ebx, ebx
mov edi, eax
cmp dword [0x48b518], ebx
jne 0x412e64
cmp edi, ebx
jge 0x412bbb
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.0040e50d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [ebp - 0x3e0]
cmp edi, 0x80190194
jne 0x412b74
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 0x412b90
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, 0x48baa8
call fcn.0040c8ce
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xfffffff0
call fcn.004025e7
mov dword [ebp - 0x3e4], 4
jmp 0x412e64
cmp dword [ebp - 0x3e4], 2
je 0x412cb8
cmp dword [ebp - 0x3e4], 1
je 0x412cb8
cmp dword [ebp - 0x3e4], 6
jne 0x412e4a
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 0x412e42
mov ecx, dword [ebp - 0x3f8]
push eax
call fcn.00415af3
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x412c5c
cmp dword [eax + 0x18], ebx
jne 0x412c5c
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 8]
mov esi, eax
call fcn.00417c21
test eax, eax
je 0x412c6a
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 0x412bf1
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.0040e087
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
mov dword [ebp - 0x3e4], 4
jmp 0x412e3a
mov eax, dword [0x48b508]
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 0x412ce4
cmp dword [ebp - 0x444], ebx
jbe 0x412e42
cmp dword [ebp - 0x438], ebx
ja 0x412cf8
cmp dword [ebp - 0x43c], ebx
jbe 0x412e42
mov edi, dword [0x48bae8]
mov dword [ebp - 0x428], edi
cmp edi, ebx
je 0x412e42
cmp dword [0x48b518], ebx
jne 0x412e64
mov esi, dword [edi]
push ebx
push 0x64
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call fcn.00440bc0
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.00445260
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.0043b400
add esp, 0xc
call fcn.00429b48
push eax
lea ecx, [ebp - 0x3e8]
call fcn.0040fc71
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, 0x48b458
mov byte [ebp - 4], 0x13
call fcn.0040820f
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x404]
add ecx, 0xfffffff0
call fcn.004025e7
push 0
push 0x64
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call fcn.00440bc0
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.00445260
push eax
push dword [ebp - 0x3e8]
mov eax, 0x100
lea edi, [ebp - 0x3c4]
call fcn.00414595
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.0041dc1f
mov ecx, dword [ebp - 0x418]
add ecx, 0xfffffff0
call fcn.004025e7
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e8]
add ecx, 0xfffffff0
call fcn.004025e7
mov esi, dword [ebp - 0x414]
xor ebx, ebx
cmp dword [0x48b518], ebx
jne 0x412e64
cmp dword [ebp - 0x3e4], 2
je 0x412ad5
cmp dword [ebp - 0x3e4], 1
je 0x412ad5
xor edi, edi
cmp dword [ebp - 0x408], edi
je 0x412ea1
cmp edi, dword [ebp - 0x408]
jge 0x412ea1
mov ebx, dword [ebp - 0x410]
test ebx, ebx
je 0x412e9e
lea ebx, [ebx + edi*8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x412e91
push eax
call fcn.004297c3
pop ecx
mov eax, dword [ebx]
test eax, eax
je 0x412e9e
push eax
call fcn.004297c3
pop ecx
inc edi
jmp 0x412e6e
test esi, esi
je 0x412ec4
cmp dword [0x48b518], 0
je 0x412eb5
mov eax, esi
call fcn.0040c142
mov eax, dword [ebp - 0x3e4]
push esi
mov dword [esi + 0x38], eax
call fcn.0041134e
cmp dword [ebp - 0x410], 0
je 0x412ed9
push dword [ebp - 0x410]
call fcn.004297c3
pop ecx
mov ecx, dword [ebp - 0x3ec]
add ecx, 0xfffffff0
call fcn.004025e7
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 0x412f57
push dword [ebp - 0x400]
mov dword [esi + 0x68], 1
lea ecx, [esi + 0x50]
jmp 0x412fd7
cmp dword [0x48b518], 0
jne 0x412fdc
push dword [ebp - 0x41c]
call fcn.00413792
mov edi, eax
test edi, edi
je 0x412fdc
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.0040e50d
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3e0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov esi, 0x48baa8
call fcn.0040c8a9
mov esi, dword [ebp - 0x3fc]
push dword [ebp - 0x400]
lea ecx, [esi + 0x50]
mov dword [esi + 0x68], 1
call fcn.0040b33a
push str.BITs_failed__Updates_downloaded_successfully_using_DownloadFilesDirectly
lea ecx, [esi + 0x40]
call fcn.0040b33a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x2c]
dec eax
mov dword [esi + 0x2c], eax
jmp 0x4126fc