Function at 0x41634f
Capabilities:
Create directory

Disassembly:
push 0x438
mov eax, 0x463b76
call fcn.00449f61
mov eax, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
call fcn.004366fe
push eax
lea ecx, [ebp - 0x40c]
call fcn.00411d53
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4a6718]
cmp eax, ebx
mov edi, 0x4a6710
mov dword [ebp - 0x400], ebx
mov dword [ebp - 0x3fc], edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x3f4], ebx
jle 0x416472
push dword [ebp - 0x3f4]
mov ecx, edi
call fcn.004062c5
mov esi, eax
cmp dword [esi], ebx
je 0x416452
mov ebx, dword [ebp - 0x41c]
mov ecx, esi
call fcn.0041510b
test eax, eax
je 0x416419
push str.File_already_exist_and_valid:
lea ecx, [ebp - 0x3ec]
call fcn.0040130b
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.0040f821
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3ec]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
mov esi, dword [esi]
mov dword [esi + 0x18], 1
jmp 0x416450
mov eax, dword [ebp - 0x40c]
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x400], 1
je 0x41643f
push 0x486920
lea ecx, [ebp - 0x40c]
call fcn.00406262
mov esi, dword [esi]
add esi, 4
push esi
lea ecx, [ebp - 0x40c]
call fcn.00401115
xor ebx, ebx
inc dword [ebp - 0x3f4]
mov eax, dword [ebp - 0x3f4]
cmp eax, dword [ebp - 0x420]
jl 0x4163a7
cmp dword [ebp - 0x400], ebx
jne 0x41648d
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x40c]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, esi
call fcn.00449fbd
ret 4
mov eax, dword [ebp - 0x41c]
mov eax, dword [eax + 8]
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [0x4a6aec], ebx
je 0x4164b5
mov dword [ebp - 0x3e4], ebx
cmp dword [0x4a66b8], ebx
je 0x4164bf
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 0x4a6794
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x3ec], ebx
mov dword [ebp - 0x3e8], ebx
mov dword [ebp - 0x414], ebx
stosd dword es:[edi], eax
mov byte [ebp - 4], 2
call fcn.0040134f
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 3
push eax
lea edi, [ebp - 0x400]
mov dword [ebp - 0x400], ebx
call fcn.00418c88
cmp dword [ebp - 0x400], ebx
jne 0x41656e
call fcn.004366fe
push eax
lea ecx, [ebp - 0x3f0]
call fcn.00411d53
lea eax, [ebp - 0x3f0]
push eax
mov ecx, 0x4a6708
mov byte [ebp - 4], 4
call fcn.00413b29
mov esi, dword [ebp - 0x3f0]
push esi
lea eax, [ebp - 0x3f4]
push eax
xor eax, eax
call fcn.00405f98
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.004017c4
push 0x3c
call fcn.00436304
pop ecx
mov dword [ebp - 0x408], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x41659a
push dword [ebp - 0x3f4]
push eax
call fcn.0040d29f
mov edi, eax
mov dword [ebp - 0x410], edi
jmp 0x4165a2
mov dword [ebp - 0x410], ebx
mov edi, ebx
mov byte [ebp - 4], 3
cmp dword [edi], ebx
jne 0x416699
push str.DownloadFiles_with_BITs_failed:
lea ecx, [ebp - 0x3fc]
call fcn.0040130b
mov byte [ebp - 4], 6
push dword [edi + 0xc]
lea eax, [ebp - 0x3fc]
push eax
push 1
call fcn.0040fcf3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3fc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
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, 0x4a6608
call fcn.0040646b
push edi
call fcn.00414395
push dword [ebp - 0x41c]
call fcn.004177d5
mov edi, eax
test edi, edi
je 0x416684
push str.Resetting_Error_object
lea ecx, [ebp - 0x3fc]
call fcn.0040130b
push 0
lea eax, [ebp - 0x3fc]
push eax
push 2
mov byte [ebp - 4], 7
call fcn.0040fcf3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3fc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov esi, 0x4a6aac
call fcn.0040e2ed
lea eax, [ebp - 0x3dd]
push eax
push 0
push dword [ebp - 0x40c]
mov esi, ebx
push str.Downloaded_Files
mov byte [ebp - 0x3dd], 0
call fcn.00406400
mov ecx, dword [ebp - 0x3f4]
add ecx, 0xfffffff0
call fcn.004017c4
mov esi, edi
jmp 0x416475
cmp dword [edi + 0xc], ebx
jge 0x4166d8
push str.BITs_error_code:
lea ecx, [ebp - 0x3f0]
call fcn.0040130b
mov byte [ebp - 4], 8
push dword [edi + 0xc]
lea eax, [ebp - 0x3f0]
push eax
push 1
call fcn.0040fcf3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp - 0x444]
push eax
lea ebx, [ebp - 0x3e8]
mov ecx, edi
call fcn.0040daf1
mov esi, eax
test esi, esi
jge 0x41690d
cmp esi, 0x80200001
je 0x416736
push str.isComplete_returns_error:
lea ecx, [ebp - 0x3f0]
call fcn.0040130b
push esi
lea eax, [ebp - 0x3f0]
push eax
push 1
mov byte [ebp - 4], 9
call fcn.0040fcf3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3f0]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
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.00436333
and dword [ebp - 0x3f0], 0
pop ecx
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x3f0]
cmp eax, dword [ebp - 0x420]
jge 0x4169bc
mov ecx, dword [ebp - 0x3fc]
push eax
call fcn.004062c5
mov ebx, eax
call fcn.004366fe
push eax
lea ecx, [ebp - 0x3f8]
call fcn.00411d53
mov byte [ebp - 4], 0xb
mov eax, dword [ebx]
test eax, eax
je 0x416999
cmp dword [eax + 0x18], 0
jne 0x416999
mov eax, dword [ebp - 0x41c]
add eax, 8
push eax
lea ecx, [ebp - 0x424]
call fcn.0040134f
mov byte [ebp - 4], 0xc
mov eax, dword [ebx]
add eax, 4
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x424]
push eax
call fcn.00401175
mov eax, dword [ebx]
lea ecx, [eax + 8]
lea eax, [ebp - 0x424]
push eax
call fcn.004063a1
mov ebx, dword [ebx]
add ebx, 0xc
push ebx
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 0x3ec], 1
call fcn.004063a1
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.00436333
mov edx, dword [ebp - 0x414]
pop ecx
mov ecx, dword [ebp - 0x404]
push ebx
lea ecx, [edx + ecx*8]
push esi
push eax
mov dword [ebp - 0x428], ecx
mov dword [ecx + 4], eax
call fcn.00448ce8
add esp, 0xc
push str.Creating_BITS_job_LocalFileName:
lea ecx, [ebp - 0x418]
call fcn.0040130b
push 0
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x418]
push eax
push 2
mov byte [ebp - 4], 0xd
call fcn.0040f821
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x418]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
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.00436333
pop ecx
mov ecx, dword [ebp - 0x428]
push edi
push esi
push eax
mov dword [ecx], eax
call fcn.00448ce8
add esp, 0xc
push str.Creating_BITS_job_RemoteName:
lea ecx, [ebp - 0x408]
call fcn.0040130b
push 0
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x408]
push eax
push 2
mov byte [ebp - 4], 0xe
call fcn.0040f821
mov ecx, dword [ebp - 0x408]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
inc dword [ebp - 0x404]
lea ecx, [ebx - 0x10]
call fcn.004017c4
jmp 0x41699f
cmp dword [ebp - 0x3e8], 2
je 0x416923
cmp dword [ebp - 0x3e8], 1
jne 0x416736
push str.Last_Bits_job_still_downloading_checking_progress
lea ecx, [ebp - 0x3ec]
call fcn.0040130b
push 0
lea eax, [ebp - 0x3ec]
push eax
push 2
mov byte [ebp - 4], 0xa
call fcn.0040fcf3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3ec]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push dword [0x4a6718]
push edi
call fcn.0040d40c
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ebp - 0x3dd]
push eax
push 0
mov eax, str.BITS_Result
mov ebx, 0x4a6608
mov byte [ebp - 0x3dd], 0
mov dword [ebp - 0x3ec], ecx
call fcn.0040646b
jmp 0x416a55
mov edi, dword [ebp - 0x3f8]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.004017c4
inc dword [ebp - 0x3f0]
mov edi, dword [ebp - 0x410]
jmp 0x41675e
cmp dword [ebp - 0x404], 0
je 0x416a55
push dword [ebp - 0x3e4]
mov ecx, edi
push dword [ebp - 0x414]
push dword [ebp - 0x404]
call fcn.0040d7fa
mov esi, eax
test esi, esi
jge 0x416a40
lea eax, [ebp - 0x3dd]
push eax
push esi
mov eax, str.BITS_Result
mov ebx, 0x4a6608
mov byte [ebp - 0x3dd], 0
call fcn.0040646b
push str.downLoadFileSet___failed.
lea ecx, [ebp - 0x3e4]
call fcn.0040130b
push esi
lea eax, [ebp - 0x3e4]
push eax
push 1
mov byte [ebp - 4], 0xf
call fcn.0040fcf3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x416a55
cmp dword [ebp - 0x400], 0
je 0x416a55
lea eax, [ebp - 0x3f4]
push eax
call fcn.004186a2
cmp dword [ebp - 0x3ec], 0
je 0x416e33
mov eax, dword [ebp - 0x3fc]
cmp dword [eax + 8], 0
jle 0x416e33
lea eax, [ebp - 0x444]
push eax
lea ebx, [ebp - 0x3e8]
mov ecx, edi
call fcn.0040daf1
xor ebx, ebx
mov esi, eax
cmp dword [0x4a66c8], ebx
jne 0x416e33
cmp esi, ebx
jge 0x416b64
lea eax, [ebp - 0x3dd]
push eax
mov byte [ebp - 0x3dd], bl
push esi
mov eax, str.BITS_Result
mov ebx, 0x4a6608
call fcn.0040646b
push str.DownloadFiles:isComplete_returns_error
lea ecx, [ebp - 0x3e4]
call fcn.0040130b
push esi
lea eax, [ebp - 0x3e4]
push eax
push 1
mov byte [ebp - 4], 0x10
call fcn.0040fcf3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea ecx, [ebp - 0x3e4]
cmp esi, 0x80190194
jne 0x416b1e
push str.Missing_file_on_server__HTTP_Error_404_
call fcn.0040130b
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x223a8
mov ecx, eax
jmp 0x416b33
push str.General_Download_File_failure
call fcn.0040130b
mov byte [ebp - 4], 0x12
push 0x2240c
mov ecx, esi
lea edx, [ebp - 0x3e4]
mov esi, 0x4a6aac
call fcn.0040e316
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3e4]
add ecx, 0xfffffff0
call fcn.004017c4
mov dword [ebp - 0x3e8], 4
jmp 0x416e33
cmp dword [ebp - 0x3e8], 2
je 0x416c94
cmp dword [ebp - 0x3e8], 1
je 0x416c94
cmp dword [ebp - 0x3e8], 6
jne 0x416e19
mov dword [ebp - 0x3f8], ebx
mov eax, dword [ebp - 0x3f8]
cmp eax, dword [ebp - 0x420]
jge 0x416e11
mov ecx, dword [ebp - 0x3fc]
push eax
call fcn.004062c5
mov esi, eax
mov eax, dword [esi]
mov dword [ebp - 0x3e4], esi
cmp eax, ebx
je 0x416c10
cmp dword [eax + 0x18], ebx
jne 0x416c10
add eax, 4
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00413bad
mov byte [ebp - 4], 0x16
mov ebx, dword [eax]
mov eax, dword [esi]
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 8]
mov esi, eax
call fcn.0041e379
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017c4
test esi, esi
jne 0x416c21
mov eax, dword [ebp - 0x3e4]
mov eax, dword [eax]
mov dword [eax + 0x18], 1
xor ebx, ebx
inc dword [ebp - 0x3f8]
mov edi, dword [ebp - 0x410]
jmp 0x416b91
push str.invalid_after_BITs_download:
lea ecx, [ebp - 0x408]
call fcn.0040130b
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x3e4]
mov eax, dword [eax]
push esi
add eax, 8
push eax
lea eax, [ebp - 0x408]
push eax
push 1
call fcn.0040f821
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x408]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp - 0x3dd]
push eax
push esi
mov eax, str.Signature_Validation_Error
mov ebx, 0x4a6608
mov byte [ebp - 0x3dd], 0
call fcn.0040646b
mov dword [ebp - 0x3e8], 4
xor ebx, ebx
jmp 0x416e0b
mov eax, dword [0x4a66b8]
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 0x416cc0
cmp dword [ebp - 0x444], ebx
jbe 0x416e11
cmp dword [ebp - 0x438], ebx
ja 0x416cd4
cmp dword [ebp - 0x43c], ebx
jbe 0x416e11
mov esi, dword [0x4a6aec]
cmp esi, ebx
je 0x416e11
cmp dword [0x4a66c8], ebx
jne 0x416e33
mov edi, dword [esi]
push ebx
push 0x64
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call fcn.0044d8f0
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.00452ad0
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.00448000
add esp, 0xc
call fcn.004366fe
push eax
lea ecx, [ebp - 0x3ec]
call fcn.00411d53
push str.IDS_BAL_DOWNLOADPROGRESS
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 0x13
call fcn.0040130b
push 0x4a6608
lea ecx, [ebp - 0x3ec]
lea edx, [ebp - 0x418]
mov byte [ebp - 4], 0x14
call fcn.0040929d
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x418]
add ecx, 0xfffffff0
call fcn.004017c4
push ebx
push 0x64
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
call fcn.0044d8f0
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push edx
push eax
call fcn.00452ad0
push eax
push dword [ebp - 0x3ec]
mov eax, 0x100
lea edi, [ebp - 0x3c4]
call fcn.00418ecc
pop ecx
pop ecx
mov eax, edi
push eax
lea ecx, [ebp - 0x400]
call fcn.0040130b
lea eax, [ebp - 0x400]
mov ecx, esi
mov byte [ebp - 4], 0x15
call fcn.004243c6
mov ecx, dword [ebp - 0x400]
add ecx, 0xfffffff0
call fcn.004017c4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3ec]
add ecx, 0xfffffff0
call fcn.004017c4
mov edi, dword [ebp - 0x410]
cmp dword [0x4a66c8], ebx
jne 0x416e33
cmp dword [ebp - 0x3e8], 2
je 0x416a72
cmp dword [ebp - 0x3e8], 1
je 0x416a72
xor esi, esi
cmp dword [ebp - 0x404], esi
je 0x416e70
cmp esi, dword [ebp - 0x404]
jge 0x416e70
mov ebx, dword [ebp - 0x414]
test ebx, ebx
je 0x416e6d
lea ebx, [ebx + esi*8]
mov eax, dword [ebx + 4]
test eax, eax
je 0x416e60
push eax
call fcn.0043633e
pop ecx
mov eax, dword [ebx]
test eax, eax
je 0x416e6d
push eax
call fcn.0043633e
pop ecx
inc esi
jmp 0x416e3d
test edi, edi
je 0x416e93
cmp dword [0x4a66c8], 0
je 0x416e84
mov eax, edi
call fcn.0040dabe
mov eax, dword [ebp - 0x3e8]
push edi
mov dword [edi + 0x38], eax
call fcn.00414395
cmp dword [ebp - 0x414], 0
je 0x416ea8
push dword [ebp - 0x414]
call fcn.0043633e
pop ecx
mov ecx, dword [ebp - 0x3f4]
add ecx, 0xfffffff0
call fcn.004017c4
and dword [ebp - 4], 0
xor eax, eax
cmp dword [ebp - 0x3e8], 6
sete al
xor ebx, ebx
mov edi, eax
cmp edi, ebx
jne 0x416f56
cmp dword [0x4a66c8], ebx
jne 0x416692
push dword [ebp - 0x41c]
call fcn.004177d5
mov edi, eax
cmp edi, ebx
je 0x416692
push str.Resetting_Error_object
lea ecx, [ebp - 0x3e4]
call fcn.0040130b
push ebx
lea eax, [ebp - 0x3e4]
push eax
push 2
mov byte [ebp - 4], 0x1a
call fcn.0040fcf3
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x3e4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov esi, 0x4a6aac
call fcn.0040e2ed
lea eax, [ebp - 0x3dd]
push eax
push ebx
push str.SUCCESS
push str.Backup_BITs_Result
mov esi, 0x4a6608
mov byte [ebp - 0x3dd], bl
call fcn.00406400
lea eax, [ebp - 0x3dd]
push eax
push ebx
push dword [ebp - 0x40c]
mov esi, 0x4a6608
push str.Downloaded_Files
mov byte [ebp - 0x3dd], 0
call fcn.00406400
jmp 0x416692