Function at 0x4208c0
Capabilities:
Create directory
Delete file

Disassembly:
push 0x43c
mov eax, 0x4ad3d3
call fcn.00469dea
mov esi, ecx
mov dword [ebp - 0x418], esi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x3fc]
xor ebx, ebx
push str.DownloadFilesWithBITs...
mov dword [ebp - 0x448], ebx
call fcn.00402829
push ebx
push 2
pop eax
lea edx, [ebp - 0x3fc]
mov dword [ebp - 4], ebx
mov ecx, eax
call fcn.00414da1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x3fc]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [0x515f94]
mov ecx, edi
mov dword [ebp - 0x440], 0x12
mov dword [ebp - 0x430], eax
call fcn.00402a6b
mov eax, ebx
mov dword [ebp - 0x42c], ebx
cmp dword [ebp - 0x430], eax
jle 0x420a11
push eax
mov ecx, 0x515f8c
call fcn.0040a17f
mov esi, eax
cmp dword [esi], ebx
je 0x4209f2
mov ecx, dword [ebp - 0x418]
push 1
push esi
call fcn.0041eb17
test eax, eax
jne 0x4209a7
mov ecx, dword [ebp - 0x418]
push ebx
push esi
call fcn.0041eb17
test eax, eax
jne 0x4209a7
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x420995
push 0x4ca564
mov ecx, edi
call fcn.0040259d
mov eax, dword [esi]
mov ecx, edi
mov eax, dword [eax + 4]
push dword [eax - 0xc]
push eax
call fcn.004025c6
jmp 0x4209f2
push str.File_already_exist_and_valid:
lea ecx, [ebp - 0x3fc]
call fcn.00402829
mov dword [ebp - 4], 1
lea edx, [ebp - 0x3fc]
mov eax, dword [esi]
push ebx
add eax, 8
push eax
push 2
pop eax
mov ecx, eax
call fcn.00414670
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x3fc]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [esi]
mov dword [eax + 0x18], 1
mov eax, dword [ebp - 0x42c]
inc eax
mov dword [ebp - 0x42c], eax
cmp eax, dword [ebp - 0x430]
jl 0x420949
mov esi, dword [ebp - 0x418]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x420a7d
push str.No_files_scheduled_for_download
lea ecx, [ebp - 0x3fc]
call fcn.00402829
push 2
pop eax
push ebx
lea edx, [ebp - 0x3fc]
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.00414da1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x3fc]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push ebx
push str.AlreadyDownloaded
push str.Payload_Download_Status
mov ecx, 0x515e58
call fcn.0040a290
mov eax, dword [ebp - 0x440]
jmp 0x4216ab
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push ebx
push str.Started
push str.Payload_Download_Status
mov ecx, 0x515e58
call fcn.0040a290
push ebx
push dword [esi + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [0x5163f4], 0
je 0x420abc
cmp dword [0x515f30], 0
je 0x420ad0
cmp dword [0x515f58], 0
jne 0x420ad0
push 2
pop eax
mov dword [ebp - 0x400], eax
jmp 0x420ad6
mov dword [ebp - 0x400], ebx
push 6
xor eax, eax
mov dword [ebp - 4], 3
pop ecx
lea edi, [ebp - 0x34]
mov dword [ebp - 0x410], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x516024]
add eax, 0xfffffff0
mov dword [ebp - 0x408], ebx
push eax
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x42c], ebx
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x3fc]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x3fc], ebx
push eax
call fcn.00424c88
cmp dword [ebp - 0x3fc], 0
jne 0x420b88
call fcn.0044ff01
push eax
lea ecx, [ebp - 0x404]
call fcn.00402899
lea eax, [ebp - 0x404]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x515f84
call fcn.0041ca4d
mov esi, dword [ebp - 0x404]
lea ecx, [ebp - 0x40c]
push esi
push ebx
call fcn.00409daf
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.00402e64
push 0x40
call fcn.0044f785
pop ecx
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x40c]
test eax, eax
je 0x420bb0
push edi
mov ecx, eax
call fcn.0041604f
mov esi, eax
jmp 0x420bb2
mov esi, ebx
mov dword [ebp - 0x41c], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x42159f
cmp dword [esi], ebx
je 0x42159f
cmp dword [esi + 0xc], ebx
jge 0x420c0b
push str.armDownloader_mErrorCode:
lea ecx, [ebp - 0x404]
call fcn.00402829
mov byte [ebp - 4], 8
lea edx, [ebp - 0x404]
push dword [esi + 0xc]
push 2
pop eax
mov ecx, eax
call fcn.00414da1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x408]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00416a28
mov esi, eax
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
test esi, esi
jns 0x420c71
cmp esi, 0x80200001
je 0x420c8b
push str.isComplete_HRESULT:
lea ecx, [ebp - 0x404]
call fcn.00402829
push esi
push 2
pop eax
lea edx, [ebp - 0x404]
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.00414da1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x420c8b
mov eax, dword [ebp - 0x408]
push 2
pop esi
cmp eax, esi
je 0x4211ab
cmp eax, 1
je 0x4211ab
mov esi, dword [ebp - 0x430]
xor ecx, ecx
push 8
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f7c2
mov dword [ebp - 0x414], eax
mov eax, ebx
pop ecx
mov dword [ebp - 0x43c], ebx
cmp eax, esi
jge 0x420f52
push eax
mov ecx, 0x515f8c
call fcn.0040a17f
mov esi, eax
mov dword [ebp - 0x444], esi
call fcn.0044ff01
push eax
lea ecx, [ebp - 0x428]
call fcn.00402899
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
test eax, eax
je 0x420f28
cmp dword [eax + 0x18], ebx
jne 0x420f28
mov eax, dword [ebp - 0x418]
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x404], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x404]
mov eax, dword [esi]
mov eax, dword [eax + 4]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov ecx, dword [esi]
lea eax, [ebp - 0x404]
push eax
lea ecx, [ecx + 8]
call fcn.00402e14
mov eax, dword [esi]
lea ecx, [ebp - 0x428]
xor edi, edi
add eax, 0xc
inc edi
push eax
mov dword [ebp - 0x420], edi
call fcn.00402e14
mov esi, dword [ebp - 0x428]
push 8
push esi
push str.https:__
call fcn.0048a905
add esp, 0xc
test eax, eax
jne 0x420e1a
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x420e11
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp - 0x444]
mov eax, dword [eax]
add eax, 4
push eax
call fcn.0041f702
test eax, eax
jne 0x420e09
push str.fallback_not_available__exiting_BITs
lea ecx, [ebp - 0x3fc]
call fcn.00402829
push ebx
lea edx, [ebp - 0x3fc]
mov byte [ebp - 4], 0xd
mov ecx, edi
call fcn.00414da1
pop ecx
mov ecx, dword [ebp - 0x3fc]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x404]
push 4
pop esi
mov dword [ebp - 0x408], esi
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, dword [ebp - 0x40c]
jmp 0x4210e5
mov esi, dword [ebp - 0x428]
jmp 0x420e1a
mov eax, dword [ebp - 0x41c]
mov dword [eax + 0x14], edi
mov edi, dword [ebp - 0x404]
xor ecx, ecx
push 2
pop edx
mov eax, dword [edi - 0xc]
add eax, 2
mov dword [ebp - 0x444], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f7c2
mov edx, dword [ebp - 0x410]
pop ecx
mov ecx, dword [ebp - 0x414]
push edi
push dword [ebp - 0x444]
push eax
mov dword [ecx + edx*8 + 4], eax
call fcn.0048a813
add esp, 0xc
lea ecx, [ebp - 0x434]
push str.Creating_BITS_job_LocalFileName:
call fcn.00402829
push ebx
lea eax, [ebp - 0x404]
mov byte [ebp - 4], 0xe
push eax
push 2
pop eax
lea edx, [ebp - 0x434]
mov ecx, eax
call fcn.00414670
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, dword [esi - 0xc]
xor ecx, ecx
add edi, 2
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f7c2
mov edx, dword [ebp - 0x410]
pop ecx
mov ecx, dword [ebp - 0x414]
push esi
push edi
push eax
mov dword [ecx + edx*8], eax
call fcn.0048a813
add esp, 0xc
lea ecx, [ebp - 0x438]
push str.Creating_BITS_job_RemoteName:
call fcn.00402829
push ebx
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 0xf
push eax
push 2
pop eax
lea edx, [ebp - 0x438]
mov ecx, eax
call fcn.00414670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x438]
lea ecx, [ecx - 0x10]
call fcn.00402e64
inc dword [ebp - 0x410]
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x43c]
mov esi, dword [ebp - 0x430]
inc eax
mov dword [ebp - 0x43c], eax
jmp 0x420cb6
cmp dword [ebp - 0x420], 0
je 0x4210d9
mov ecx, dword [ebp - 0x410]
test ecx, ecx
je 0x420fc8
mov eax, dword [ebp - 0x400]
push eax
push dword [ebp - 0x414]
push ecx
mov ecx, dword [ebp - 0x41c]
call fcn.004165d1
mov esi, eax
mov dword [ebp - 0x42c], esi
test esi, esi
jns 0x4210ba
push str.downLoadFileSet___returned_error:
lea ecx, [ebp - 0x400]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 0x10
push esi
lea edx, [ebp - 0x400]
inc ecx
call fcn.00414da1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00416a28
cmp dword [0x515f40], 0
mov esi, eax
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
jne 0x4210df
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x4211f6
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0x14], ebx
je 0x4211f6
test esi, esi
jns 0x4212af
cmp esi, 0x801901f8
ja 0x4211f6
cmp dword [ebp - 0x408], 1
jne 0x4211f6
cmp esi, 0x80072efd
je 0x42104b
cmp esi, 0x80072ee2
jne 0x4210a5
push str.reporting_https_payload_error
lea ecx, [ebp - 0x400]
call fcn.00402829
push ebx
push 2
pop eax
lea edx, [ebp - 0x400]
mov byte [ebp - 4], 0x11
mov ecx, eax
call fcn.00414da1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push ebx
push 0x4cb86c
push str.HTTPS_Failed
mov ecx, 0x515e58
call fcn.0040a290
push 4
pop esi
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x440], 0x4d5
jmp 0x4210e5
cmp dword [ebp - 0x3fc], 0
je 0x420fc8
lea eax, [ebp - 0x40c]
push eax
push ecx
call fcn.004246d1
jmp 0x420fc8
mov edi, dword [ebp - 0x40c]
mov esi, dword [ebp - 0x408]
mov ecx, dword [ebp - 0x410]
test ecx, ecx
je 0x421159
mov eax, ebx
mov dword [ebp - 0x3fc], eax
jle 0x421159
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x410]
test ecx, ecx
je 0x42114e
mov ecx, dword [ecx + eax*8 + 4]
test ecx, ecx
je 0x421123
push 2
pop eax
push eax
push ecx
call fcn.004697a3
mov eax, dword [ebp - 0x3fc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x414]
mov ecx, dword [ecx + eax*8]
test ecx, ecx
je 0x421142
push 2
pop eax
push eax
push ecx
call fcn.004697a3
mov eax, dword [ebp - 0x3fc]
pop ecx
pop ecx
mov edx, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x414]
inc eax
mov dword [ebp - 0x3fc], eax
cmp eax, edx
jl 0x421105
cmp dword [0x515f40], 0
jne 0x421167
cmp esi, 4
jne 0x421172
mov ecx, dword [ebp - 0x41c]
call fcn.00416942
mov eax, dword [ebp - 0x41c]
push ecx
mov ecx, eax
mov dword [eax + 0x38], esi
call fcn.0041d520
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x421194
push eax
call fcn.0044f7bd
pop ecx
lea ecx, [edi - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
jmp 0x421656
push str.last_BITs_job_still_downloading__taking_over_ownership
lea ecx, [ebp - 0x400]
call fcn.00402829
push ebx
lea edx, [ebp - 0x400]
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.00414da1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [0x515f94]
mov ecx, dword [ebp - 0x41c]
call fcn.004161c9
jmp 0x420fce
test esi, esi
jns 0x4212af
push str.DownloadFiles:isComplete_returns_error
lea ecx, [ebp - 0x400]
call fcn.00402829
mov eax, dword [ebp - 0x440]
lea edx, [ebp - 0x400]
xor ecx, ecx
mov byte [ebp - 4], al
push esi
inc ecx
call fcn.00414da1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x400]
cmp esi, 0x80190194
jne 0x42126a
push str.Missing_file_on_server__HTTP_Error_404_
call fcn.00402829
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x400]
push eax
push 0x223a8
jmp 0x421285
push str.General_Download_File_failure
call fcn.00402829
push esi
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 0x14
push eax
push 0x2240c
mov ecx, 0x5163b4
call fcn.00412f33
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 4
pop esi
mov dword [ebp - 0x408], esi
jmp 0x4210e5
mov esi, dword [ebp - 0x408]
push 2
pop ecx
cmp esi, ecx
je 0x4213fb
cmp esi, 1
je 0x4213fb
cmp esi, 6
jne 0x421589
mov eax, ebx
mov dword [ebp - 0x438], ebx
cmp eax, dword [ebp - 0x430]
jge 0x421579
push eax
mov ecx, 0x515f8c
call fcn.0040a17f
mov dword [ebp - 0x3fc], eax
mov eax, dword [eax]
test eax, eax
je 0x42136c
cmp dword [eax + 0x18], ebx
jne 0x42136c
add eax, 4
mov ecx, 0x515f84
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00440dbd
or dword [ebp - 0x448], 1
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x3fc]
push dword [ebp - 0x400]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 8]
call fcn.0042f307
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
add ecx, 0xfffffff0
mov dword [ebp - 0x420], eax
call fcn.00402e64
cmp dword [ebp - 0x420], 0
mov eax, dword [ebp - 0x3fc]
mov eax, dword [eax]
jne 0x42137e
mov dword [eax + 0x18], 1
mov eax, dword [ebp - 0x438]
inc eax
mov dword [ebp - 0x438], eax
jmp 0x4212da
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.invalid_after_BITs_download:
lea ecx, [ebp - 0x43c]
call fcn.00402829
mov esi, dword [ebp - 0x420]
lea edx, [ebp - 0x43c]
mov byte [ebp - 4], 0x19
xor ecx, ecx
mov eax, dword [ebp - 0x3fc]
inc ecx
push esi
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00414670
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x43c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push esi
push str.Signature_Validation_Error
mov ecx, 0x515e58
call fcn.0040a2d0
push 4
pop esi
mov dword [ebp - 0x408], esi
jmp 0x421579
cmp dword [0x515f30], 0
mov ecx, 0x3e8
push 0x32
pop eax
cmovne eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x30], ebx
ja 0x421422
cmp dword [ebp - 0x34], ebx
jbe 0x421579
cmp dword [ebp - 0x28], ebx
ja 0x421430
cmp dword [ebp - 0x2c], ebx
jbe 0x421579
mov eax, dword [0x5163f4]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x421579
cmp dword [0x515f40], 0
jne 0x4210e5
mov esi, dword [eax]
mov eax, dword [ebp - 0x28]
push 0x64
pop ecx
mul ecx
push 0x64
pop edx
push dword [ebp - 0x30]
mov ecx, eax
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x34]
mul edx
add ecx, edx
push ecx
push eax
call fcn.004a8ff0
mov esi, dword [esi + 0x1b0]
mov ecx, esi
push eax
call dword [0x4b77e4]
mov ecx, dword [ebp - 0x420]
call esi
push 0x3bc
lea eax, [ebp - 0x3f4]
push ebx
push eax
call fcn.004821b0
add esp, 0xc
call fcn.0044ff01
push eax
lea ecx, [ebp - 0x418]
call fcn.00402899
push str.IDS_BAL_DOWNLOADPROGRESS
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0x15
call fcn.00402829
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x434]
mov ecx, 0x515e58
push eax
call fcn.0040d70c
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x28]
push 0x64
pop esi
push dword [ebp - 0x30]
mul esi
push dword [ebp - 0x34]
mov ecx, eax
mov eax, dword [ebp - 0x2c]
mul esi
add ecx, edx
push ecx
push eax
call fcn.004a8ff0
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x3dc]
push 0x100
push eax
call fcn.00424eac
add esp, 0x10
lea eax, [ebp - 0x3dc]
lea ecx, [ebp - 0x404]
push eax
call fcn.00402829
mov ecx, dword [ebp - 0x420]
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 4], 0x17
call fcn.004376f3
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, dword [ebp - 0x408]
cmp dword [0x515f40], 0
jne 0x4210e5
push 2
pop ecx
cmp esi, ecx
je 0x420fce
cmp esi, 1
je 0x420fce
jmp 0x4210e5
push str.Null_armDownloader_or_IBackgroundCopyManager__BITs_failed_with_error_code:
lea ecx, [ebp - 0x424]
call fcn.00402829
mov byte [ebp - 4], 7
lea edx, [ebp - 0x424]
push dword [esi + 0xc]
xor ecx, ecx
inc ecx
call fcn.00414da1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push dword [esi + 0xc]
mov ecx, 0x515e58
push str.BITS_Result_Payloads
call fcn.0040a2d0
push ecx
mov ecx, esi
call fcn.0041d520
lea ecx, [edi - 0x10]
call fcn.00402e64
jmp 0x4216a6
cmp dword [ebp - 0x440], 0x4d5
jne 0x421669
mov eax, 0x4d5
jmp 0x4216ab
mov byte [ebp - 0x3f5], bl
cmp esi, 6
jne 0x42168f
lea eax, [ebp - 0x3f5]
mov ecx, 0x515e58
push eax
push ebx
push str.BITS_Result_Payloads
call fcn.0040a2d0
xor eax, eax
jmp 0x4216ab
lea ecx, [ebp - 0x3f5]
push ecx
push eax
push str.BITS_Result_Payloads
mov ecx, 0x515e58
call fcn.0040a2d0
mov eax, 0x4de
call fcn.00469d37
ret 8