Function at 0x412b9c
Capabilities:
Create directory

Disassembly:
push 0x438
mov eax, 0x4573ec
call fcn.0043de02
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.0042a9e0
push eax
lea ecx, [ebp - 0x400]
call fcn.00410472
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 0x412ce0
push dword [ebp - 0x3ec]
mov ecx, esi
call fcn.004162da
mov edi, eax
cmp dword [edi], ebx
je 0x412cc0
mov ebx, dword [ebp - 0x41c]
mov ecx, edi
call fcn.004120f1
test eax, eax
je 0x412c87
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.0040e85b
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 0x412cbe
mov eax, dword [ebp - 0x400]
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x40c], 1
je 0x412cad
push 0x473d28
lea ecx, [ebp - 0x400]
call fcn.00408e0c
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 0x412c15
cmp dword [ebp - 0x40c], ebx
jne 0x412d0d
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.0043de5e
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 0x412d35
mov dword [ebp - 0x3e0], ebx
cmp dword [0x48e510], ebx
je 0x412d3f
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.00414a8a
cmp dword [ebp - 0x40c], ebx
jne 0x412dce
mov eax, 0x48e90c
call fcn.0040521a
test eax, eax
mov eax, 0x473d2c
jne 0x412dbf
mov eax, str.ArmAcrobatJobs
push eax
lea eax, [ebp - 0x3ec]
push eax
xor eax, eax
call fcn.00408a65
push 0x3c
call fcn.0042a60a
pop ecx
mov dword [ebp - 0x404], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x412dfa
push dword [ebp - 0x3ec]
push eax
call fcn.0040c202
mov esi, eax
mov dword [ebp - 0x414], esi
jmp 0x412e02
mov dword [ebp - 0x414], ebx
mov esi, ebx
mov byte [ebp - 4], 3
cmp dword [esi], ebx
jne 0x412ef9
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.0040ece1
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.00411b44
push dword [ebp - 0x41c]
call fcn.00413f88
mov edi, eax
cmp edi, ebx
je 0x412ed2
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.0040ece1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, 0x48eabc
call fcn.0040d0e1
push str.updates_downloaded_successfully_using_DownloadFilesDirectly
mov ecx, 0x48ea54
mov dword [0x48ea7c], 1
call fcn.0040bb27
push dword [ebp - 0x400]
mov ecx, 0x48ea64
call fcn.0040bb27
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 0x412cf5
cmp dword [esi + 0xc], ebx
jge 0x412f38
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.0040ece1
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.0040c9ad
mov ebx, eax
xor edi, edi
cmp ebx, edi
jge 0x413185
cmp ebx, 0x80200001
je 0x412f98
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.0040ece1
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.0042a644
pop ecx
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x3f4], edi
mov eax, dword [ebp - 0x3f4]
cmp eax, dword [ebp - 0x420]
jge 0x413223
mov ecx, dword [ebp - 0x3f8]
push eax
call fcn.004162da
mov ebx, eax
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x3f0]
call fcn.00410472
mov byte [ebp - 4], 0xa
mov eax, dword [ebx]
cmp eax, edi
je 0x4131fe
cmp dword [eax + 0x18], edi
jne 0x4131fe
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.00408fd2
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.00408fd2
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.0042a644
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.0043cde5
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.0040e85b
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.0042a644
pop ecx
mov ecx, dword [ebp - 0x428]
push esi
push edi
push eax
mov dword [ecx], eax
call fcn.0043cde5
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.0040e85b
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 0x413204
cmp dword [ebp - 0x3e4], 2
je 0x41319b
cmp dword [ebp - 0x3e4], 1
jne 0x412f98
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.0040ece1
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.0040c375
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 0x4132b0
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 0x412fbf
cmp dword [ebp - 0x408], edi
je 0x4132b0
push dword [ebp - 0x3e0]
mov ecx, esi
push dword [ebp - 0x410]
push dword [ebp - 0x408]
call fcn.0040c6aa
mov ebx, eax
cmp ebx, edi
jge 0x413291
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.0040ece1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x4132b0
cmp dword [ebp - 0x40c], edi
je 0x4132b0
lea eax, [ebp - 0x3ec]
push eax
mov eax, 0x48e90c
call fcn.0040521a
push eax
call fcn.004144c1
cmp dword [ebp - 0x3e8], edi
je 0x41365a
mov eax, dword [ebp - 0x3f8]
cmp dword [eax + 8], edi
jle 0x41365a
lea eax, [ebp - 0x444]
push eax
lea ebx, [ebp - 0x3e4]
mov ecx, esi
call fcn.0040c9ad
xor ebx, ebx
mov edi, eax
cmp dword [0x48e520], ebx
jne 0x41365a
cmp edi, ebx
jge 0x4133b1
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.0040ece1
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 0x41336a
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 0x413386
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.0040d106
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [ebp - 0x3e4], 4
jmp 0x41365a
cmp dword [ebp - 0x3e4], 2
je 0x4134ae
cmp dword [ebp - 0x3e4], 1
je 0x4134ae
cmp dword [ebp - 0x3e4], 6
jne 0x413640
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 0x413638
mov ecx, dword [ebp - 0x3f8]
push eax
call fcn.004162da
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x413452
cmp dword [eax + 0x18], ebx
jne 0x413452
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 8]
mov esi, eax
call fcn.004184aa
test eax, eax
je 0x413460
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 0x4133e7
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.0040e85b
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 0x413630
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 0x4134da
cmp dword [ebp - 0x444], ebx
jbe 0x413638
cmp dword [ebp - 0x438], ebx
ja 0x4134ee
cmp dword [ebp - 0x43c], ebx
jbe 0x413638
mov edi, dword [0x48eafc]
mov dword [ebp - 0x428], edi
cmp edi, ebx
je 0x413638
cmp dword [0x48e520], ebx
jne 0x41365a
mov esi, dword [edi]
push ebx
push 0x64
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call fcn.00441a20
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.00446160
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.0043c330
add esp, 0xc
call fcn.0042a9e0
push eax
lea ecx, [ebp - 0x3e8]
call fcn.00410472
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.0040853c
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.00441a20
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.00446160
push eax
push dword [ebp - 0x3e8]
mov eax, 0x100
lea edi, [ebp - 0x3c4]
call fcn.00414d8b
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.0041e7ee
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 0x41365a
cmp dword [ebp - 0x3e4], 2
je 0x4132cb
cmp dword [ebp - 0x3e4], 1
je 0x4132cb
xor edi, edi
cmp dword [ebp - 0x408], edi
je 0x413697
cmp edi, dword [ebp - 0x408]
jge 0x413697
mov ebx, dword [ebp - 0x410]
test ebx, ebx
je 0x413694
lea ebx, [ebx + edi*8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x413687
push eax
call fcn.0042a639
pop ecx
mov eax, dword [ebx]
test eax, eax
je 0x413694
push eax
call fcn.0042a639
pop ecx
inc edi
jmp 0x413664
test esi, esi
je 0x4136ba
cmp dword [0x48e520], 0
je 0x4136ab
mov eax, esi
call fcn.0040c97a
mov eax, dword [ebp - 0x3e4]
push esi
mov dword [esi + 0x38], eax
call fcn.00411b44
cmp dword [ebp - 0x410], 0
je 0x4136cf
push dword [ebp - 0x410]
call fcn.0042a639
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 0x41374d
push dword [ebp - 0x400]
mov dword [esi + 0x6c], 1
lea ecx, [esi + 0x54]
jmp 0x4137cd
cmp dword [0x48e520], 0
jne 0x4137d2
push dword [ebp - 0x41c]
call fcn.00413f88
mov edi, eax
test edi, edi
je 0x4137d2
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.0040ece1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3e0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov esi, 0x48eabc
call fcn.0040d0e1
mov esi, dword [ebp - 0x3fc]
push dword [ebp - 0x400]
lea ecx, [esi + 0x54]
mov dword [esi + 0x6c], 1
call fcn.0040bb27
push str.BITs_failed__Updates_downloaded_successfully_using_DownloadFilesDirectly
lea ecx, [esi + 0x44]
call fcn.0040bb27
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x2c]
dec eax
mov dword [esi + 0x2c], eax
jmp 0x412ef2