Function at 0x4170f0
Capabilities:
Create directory

Disassembly:
push 0x438
mov eax, 0x460aca
call fcn.00447dfa
mov eax, dword [ebp + 8]
mov dword [ebp - 0x414], eax
call fcn.00434582
push eax
lea ecx, [ebp - 0x424]
call fcn.0040210b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x49c944]
cmp eax, ebx
mov edi, 0x49c93c
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x3fc], edi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x3f4], ebx
jle 0x417213
push dword [ebp - 0x3f4]
mov ecx, edi
call fcn.0040907c
mov esi, eax
cmp dword [esi], ebx
je 0x4171f3
mov ebx, dword [ebp - 0x414]
mov ecx, esi
call fcn.00415f46
test eax, eax
je 0x4171ba
push str.File_already_exist_and_valid:
lea ecx, [ebp - 0x3ec]
call fcn.00402060
mov byte [ebp - 4], 1
mov eax, dword [esi]
push 0
add eax, 8
push eax
lea eax, [ebp - 0x3ec]
push eax
push 2
call fcn.00411b27
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3ec]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov esi, dword [esi]
mov dword [esi + 0x18], 1
jmp 0x4171f1
mov eax, dword [ebp - 0x424]
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x408], 1
je 0x4171e0
push 0x47ed38
lea ecx, [ebp - 0x424]
call fcn.00409019
mov esi, dword [esi]
add esi, 4
push esi
lea ecx, [ebp - 0x424]
call fcn.00401e6a
xor ebx, ebx
inc dword [ebp - 0x3f4]
mov eax, dword [ebp - 0x3f4]
cmp eax, dword [ebp - 0x41c]
jl 0x417148
cmp dword [ebp - 0x408], ebx
jne 0x41722e
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, edi
call fcn.00447e56
ret 4
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 8]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [0x49cd00], ebx
je 0x417256
mov dword [ebp - 0x3e4], ebx
cmp dword [0x49c538], ebx
je 0x417260
mov dword [ebp - 0x3e4], 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 0x49c9bc
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x400], ebx
mov dword [ebp - 0x3ec], ebx
mov dword [ebp - 0x3e8], ebx
mov dword [ebp - 0x410], ebx
stosd dword es:[edi], eax
mov byte [ebp - 4], 2
call fcn.004020a4
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 3
push eax
lea edi, [ebp - 0x408]
mov dword [ebp - 0x408], ebx
call fcn.00419552
cmp dword [ebp - 0x408], ebx
jne 0x41730f
call fcn.00434582
push eax
lea ecx, [ebp - 0x3f0]
call fcn.0040210b
lea eax, [ebp - 0x3f0]
push eax
mov ecx, 0x49c934
mov byte [ebp - 4], 4
call fcn.00414a59
mov esi, dword [ebp - 0x3f0]
push esi
lea eax, [ebp - 0x3f4]
push eax
xor eax, eax
call fcn.00408d4f
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.0040253e
push 0x3c
call fcn.004341ac
pop ecx
mov dword [ebp - 0x404], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x41733b
push dword [ebp - 0x3f4]
push eax
call fcn.0040f54b
mov edi, eax
mov dword [ebp - 0x40c], edi
jmp 0x417343
mov dword [ebp - 0x40c], ebx
mov edi, ebx
mov byte [ebp - 4], 3
cmp dword [edi], ebx
jne 0x417416
push str.DownloadFiles_with_BITs_failed:
lea ecx, [ebp - 0x3fc]
call fcn.00402060
mov byte [ebp - 4], 6
push dword [edi + 0xc]
lea eax, [ebp - 0x3fc]
push eax
push 1
call fcn.00411fad
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3fc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x3dd]
push ecx
mov byte [ebp - 0x3dd], bl
push eax
mov eax, str.BITS_Result
mov ebx, 0x49c488
call fcn.00409222
push edi
call fcn.00415216
push dword [ebp - 0x414]
call fcn.004184c6
mov edi, eax
test edi, edi
je 0x417403
push str.Resetting_Error_object
lea ecx, [ebp - 0x3fc]
call fcn.00402060
push 0
lea eax, [ebp - 0x3fc]
push eax
push 2
mov byte [ebp - 4], 7
call fcn.00411fad
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3fc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov esi, 0x49ccc0
call fcn.00410407
mov ecx, dword [ebp - 0x3f4]
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x417216
cmp dword [edi + 0xc], ebx
jge 0x417455
push str.BITs_error_code:
lea ecx, [ebp - 0x3f0]
call fcn.00402060
mov byte [ebp - 4], 8
push dword [edi + 0xc]
lea eax, [ebp - 0x3f0]
push eax
push 1
call fcn.00411fad
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [ebp - 0x444]
push eax
lea ebx, [ebp - 0x3e8]
mov ecx, edi
call fcn.0040fcd3
mov esi, eax
test esi, esi
jge 0x41768a
cmp esi, 0x80200001
je 0x4174b3
push str.isComplete_returns_error:
lea ecx, [ebp - 0x3f0]
call fcn.00402060
push esi
lea eax, [ebp - 0x3f0]
push eax
push 1
mov byte [ebp - 4], 9
call fcn.00411fad
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp - 0x41c]
xor ecx, ecx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004341e6
and dword [ebp - 0x3f0], 0
pop ecx
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x3f0]
cmp eax, dword [ebp - 0x41c]
jge 0x417739
mov ecx, dword [ebp - 0x3fc]
push eax
call fcn.0040907c
mov ebx, eax
call fcn.00434582
push eax
lea ecx, [ebp - 0x3f8]
call fcn.0040210b
mov byte [ebp - 4], 0xb
mov eax, dword [ebx]
test eax, eax
je 0x417716
cmp dword [eax + 0x18], 0
jne 0x417716
mov eax, dword [ebp - 0x414]
add eax, 8
push eax
lea ecx, [ebp - 0x420]
call fcn.004020a4
mov byte [ebp - 4], 0xc
mov eax, dword [ebx]
add eax, 4
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x420]
push eax
call fcn.00401eca
mov eax, dword [ebx]
lea ecx, [eax + 8]
lea eax, [ebp - 0x420]
push eax
call fcn.00409158
mov ebx, dword [ebx]
add ebx, 0xc
push ebx
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 0x3ec], 1
call fcn.00409158
mov ebx, dword [ebp - 0x420]
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.004341e6
mov edx, dword [ebp - 0x410]
pop ecx
mov ecx, dword [ebp - 0x400]
push ebx
lea ecx, [edx + ecx*8]
push esi
push eax
mov dword [ebp - 0x428], ecx
mov dword [ecx + 4], eax
call fcn.00446c98
add esp, 0xc
push str.Creating_BITS_job_LocalFileName:
lea ecx, [ebp - 0x418]
call fcn.00402060
push 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x418]
push eax
push 2
mov byte [ebp - 4], 0xd
call fcn.00411b27
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x418]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov edi, dword [ebp - 0x3f8]
mov eax, dword [edi - 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.004341e6
pop ecx
mov ecx, dword [ebp - 0x428]
push edi
push esi
push eax
mov dword [ecx], eax
call fcn.00446c98
add esp, 0xc
push str.Creating_BITS_job_RemoteName:
lea ecx, [ebp - 0x404]
call fcn.00402060
push 0
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x404]
push eax
push 2
mov byte [ebp - 4], 0xe
call fcn.00411b27
mov ecx, dword [ebp - 0x404]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
inc dword [ebp - 0x400]
lea ecx, [ebx - 0x10]
call fcn.0040253e
jmp 0x41771c
cmp dword [ebp - 0x3e8], 2
je 0x4176a0
cmp dword [ebp - 0x3e8], 1
jne 0x4174b3
push str.Last_Bits_job_still_downloading_checking_progress
lea ecx, [ebp - 0x3ec]
call fcn.00402060
push 0
lea eax, [ebp - 0x3ec]
push eax
push 2
mov byte [ebp - 4], 0xa
call fcn.00411fad
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3ec]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push dword [0x49c944]
push edi
call fcn.0040f6be
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ebp - 0x3dd]
push eax
push 0
mov eax, str.BITS_Result
mov ebx, 0x49c488
mov byte [ebp - 0x3dd], 0
mov dword [ebp - 0x3ec], ecx
call fcn.00409222
jmp 0x4177d2
mov edi, dword [ebp - 0x3f8]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.0040253e
inc dword [ebp - 0x3f0]
mov edi, dword [ebp - 0x40c]
jmp 0x4174db
cmp dword [ebp - 0x400], 0
je 0x4177d2
push dword [ebp - 0x3e4]
mov ecx, edi
push dword [ebp - 0x410]
push dword [ebp - 0x400]
call fcn.0040f9e6
mov esi, eax
test esi, esi
jge 0x4177bd
lea eax, [ebp - 0x3dd]
push eax
push esi
mov eax, str.BITS_Result
mov ebx, 0x49c488
mov byte [ebp - 0x3dd], 0
call fcn.00409222
push str.downLoadFileSet___failed.
lea ecx, [ebp - 0x3e4]
call fcn.00402060
push esi
lea eax, [ebp - 0x3e4]
push eax
push 1
mov byte [ebp - 4], 0xf
call fcn.00411fad
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x4177d2
cmp dword [ebp - 0x408], 0
je 0x4177d2
lea eax, [ebp - 0x3f4]
push eax
call fcn.00418f6c
cmp dword [ebp - 0x3ec], 0
je 0x417b65
mov eax, dword [ebp - 0x3fc]
cmp dword [eax + 8], 0
jle 0x417b65
lea eax, [ebp - 0x444]
push eax
lea ebx, [ebp - 0x3e8]
mov ecx, edi
call fcn.0040fcd3
xor ebx, ebx
mov esi, eax
cmp dword [0x49c548], ebx
jne 0x417b65
cmp esi, ebx
jge 0x4178e9
lea eax, [ebp - 0x3dd]
push eax
mov byte [ebp - 0x3dd], bl
push esi
mov eax, str.BITS_Result
mov ebx, 0x49c488
call fcn.00409222
push str.DownloadFiles:isComplete_returns_error
lea ecx, [ebp - 0x3e4]
call fcn.00402060
push esi
lea eax, [ebp - 0x3e4]
push eax
push 1
mov byte [ebp - 4], 0x10
call fcn.00411fad
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [ebp - 0x3e4]
cmp esi, 0x80190194
jne 0x4178a2
push str.Missing_file_on_server__HTTP_Error_404_
call fcn.00402060
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x3e4]
push ecx
push 0x223a8
mov ecx, eax
jmp 0x4178be
push str.General_Download_File_failure
call fcn.00402060
lea eax, [ebp - 0x3e4]
push eax
mov byte [ebp - 4], 0x12
push 0x2240c
mov ecx, esi
mov edx, 0x49ccc0
call fcn.0041042c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e4]
add ecx, 0xfffffff0
call fcn.0040253e
mov dword [ebp - 0x3e8], 4
jmp 0x417b65
cmp dword [ebp - 0x3e8], 2
je 0x4179b9
cmp dword [ebp - 0x3e8], 1
je 0x4179b9
cmp dword [ebp - 0x3e8], 6
jne 0x417b4b
mov dword [ebp - 0x3f8], ebx
mov eax, dword [ebp - 0x3f8]
cmp eax, dword [ebp - 0x41c]
jge 0x417b43
mov ecx, dword [ebp - 0x3fc]
push eax
call fcn.0040907c
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x41795d
cmp dword [eax + 0x18], ebx
jne 0x41795d
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 8]
mov esi, eax
call fcn.0041e29e
test eax, eax
je 0x41796b
mov eax, dword [edi]
mov dword [eax + 0x18], 1
xor ebx, ebx
inc dword [ebp - 0x3f8]
mov edi, dword [ebp - 0x40c]
jmp 0x417916
push str.File_invalid_after_BITs_download:
lea ecx, [ebp - 0x3e4]
call fcn.00402060
mov byte [ebp - 4], 0x16
mov eax, dword [edi]
push 0
add eax, 8
push eax
lea eax, [ebp - 0x3e4]
push eax
push 1
call fcn.00411b27
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e4]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov dword [ebp - 0x3e8], 4
jmp 0x417b3b
mov eax, dword [0x49c538]
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 0x4179e5
cmp dword [ebp - 0x444], ebx
jbe 0x417b43
cmp dword [ebp - 0x438], ebx
ja 0x4179f9
cmp dword [ebp - 0x43c], ebx
jbe 0x417b43
mov esi, dword [0x49cd00]
mov dword [ebp - 0x428], esi
cmp esi, ebx
je 0x417b43
cmp dword [0x49c548], ebx
jne 0x417b65
mov edi, dword [esi]
push ebx
push 0x64
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call fcn.0044b770
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.00450b40
push eax
mov ecx, esi
call dword [edi + 0x188]
push 0x3b8
lea eax, [ebp - 0x3d8]
push ebx
push eax
mov dword [ebp - 0x3dc], ebx
call fcn.00445f90
add esp, 0xc
call fcn.00434582
push eax
lea ecx, [ebp - 0x3ec]
call fcn.0040210b
push str.IDS_BAL_DOWNLOADPROGRESS
lea ecx, [ebp - 0x404]
mov byte [ebp - 4], 0x13
call fcn.00402060
lea esi, [ebp - 0x3ec]
lea ebx, [ebp - 0x404]
mov ecx, 0x49c488
mov byte [ebp - 4], 0x14
call fcn.0040c354
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x404]
add ecx, 0xfffffff0
call fcn.0040253e
push 0
push 0x64
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call fcn.0044b770
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.00450b40
push eax
push dword [ebp - 0x3ec]
mov eax, pe_nt_image_headers32
lea edi, [ebp - 0x3c4]
call fcn.00419746
pop ecx
pop ecx
mov eax, edi
push eax
lea ecx, [ebp - 0x418]
call fcn.00402060
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 0x15
call fcn.00425257
mov ecx, dword [ebp - 0x418]
add ecx, 0xfffffff0
call fcn.0040253e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3ec]
add ecx, 0xfffffff0
call fcn.0040253e
mov edi, dword [ebp - 0x40c]
xor ebx, ebx
cmp dword [0x49c548], ebx
jne 0x417b65
cmp dword [ebp - 0x3e8], 2
je 0x4177ef
cmp dword [ebp - 0x3e8], 1
je 0x4177ef
xor esi, esi
cmp dword [ebp - 0x400], esi
je 0x417ba2
cmp esi, dword [ebp - 0x400]
jge 0x417ba2
mov eax, dword [ebp - 0x410]
test eax, eax
je 0x417b9f
lea ebx, [eax + esi*8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x417b92
push eax
call fcn.004341db
pop ecx
mov eax, dword [ebx]
test eax, eax
je 0x417b9f
push eax
call fcn.004341db
pop ecx
inc esi
jmp 0x417b6f
xor esi, esi
cmp edi, esi
je 0x417bc6
cmp dword [0x49c548], esi
je 0x417bb7
mov eax, edi
call fcn.0040fca0
mov eax, dword [ebp - 0x3e8]
push edi
mov dword [edi + 0x38], eax
call fcn.00415216
cmp dword [ebp - 0x410], esi
je 0x417bda
push dword [ebp - 0x410]
call fcn.004341db
pop ecx
mov ecx, dword [ebp - 0x3f4]
add ecx, 0xfffffff0
call fcn.0040253e
mov dword [ebp - 4], esi
xor eax, eax
cmp dword [ebp - 0x3e8], 6
sete al
xor ebx, ebx
mov edi, eax
cmp edi, ebx
jne 0x417216
cmp dword [0x49c548], ebx
jne 0x417216
push dword [ebp - 0x414]
call fcn.004184c6
mov edi, eax
cmp edi, ebx
je 0x417216
push str.Resetting_Error_object
lea ecx, [ebp - 0x3e4]
call fcn.00402060
push ebx
lea eax, [ebp - 0x3e4]
push eax
push 2
mov byte [ebp - 4], 0x19
call fcn.00411fad
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x3e4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov esi, 0x49ccc0
call fcn.00410407
lea eax, [ebp - 0x3dd]
push eax
push ebx
push str.SUCCESS
push str.Backup_BITs_Result
mov esi, 0x49c488
mov byte [ebp - 0x3dd], bl
call fcn.004091b7
jmp 0x417216