Function at 0x4207a0
Capabilities:
Create directory
Delete file

Disassembly:
push 0x43c
mov eax, 0x4acd23
call fcn.0046973a
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.00414cf1
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 0x4208f1
push eax
mov ecx, 0x515f8c
call fcn.0040a0ef
mov esi, eax
cmp dword [esi], ebx
je 0x4208d2
mov ecx, dword [ebp - 0x418]
push 1
push esi
call fcn.0041ea0c
test eax, eax
jne 0x420887
mov ecx, dword [ebp - 0x418]
push ebx
push esi
call fcn.0041ea0c
test eax, eax
jne 0x420887
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x420875
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 0x4208d2
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.004145c0
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 0x420829
mov esi, dword [ebp - 0x418]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x42095d
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.00414cf1
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.0040a200
mov eax, dword [ebp - 0x440]
jmp 0x42158b
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.0040a200
push ebx
push dword [esi + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [0x5163f4], 0
je 0x42099c
cmp dword [0x515f30], 0
je 0x4209b0
cmp dword [0x515f58], 0
jne 0x4209b0
push 2
pop eax
mov dword [ebp - 0x400], eax
jmp 0x4209b6
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.00424b5f
cmp dword [ebp - 0x3fc], 0
jne 0x420a68
call fcn.0044f841
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.0041c98d
mov esi, dword [ebp - 0x404]
lea ecx, [ebp - 0x40c]
push esi
push ebx
call fcn.00409d1f
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.00402e64
push 0x40
call fcn.0044f0c5
pop ecx
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x40c]
test eax, eax
je 0x420a90
push edi
mov ecx, eax
call fcn.00415f8f
mov esi, eax
jmp 0x420a92
mov esi, ebx
mov dword [ebp - 0x41c], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x42147f
cmp dword [esi], ebx
je 0x42147f
cmp dword [esi + 0xc], ebx
jge 0x420aeb
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.00414cf1
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.0041695c
mov esi, eax
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
test esi, esi
jns 0x420b51
cmp esi, 0x80200001
je 0x420b6b
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.00414cf1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x420b6b
mov eax, dword [ebp - 0x408]
push 2
pop esi
cmp eax, esi
je 0x42108b
cmp eax, 1
je 0x42108b
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.0044f102
mov dword [ebp - 0x414], eax
mov eax, ebx
pop ecx
mov dword [ebp - 0x43c], ebx
cmp eax, esi
jge 0x420e32
push eax
mov ecx, 0x515f8c
call fcn.0040a0ef
mov esi, eax
mov dword [ebp - 0x444], esi
call fcn.0044f841
push eax
lea ecx, [ebp - 0x428]
call fcn.00402899
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
test eax, eax
je 0x420e08
cmp dword [eax + 0x18], ebx
jne 0x420e08
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.0048a255
add esp, 0xc
test eax, eax
jne 0x420cfa
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x420cf1
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.0041f5f7
test eax, eax
jne 0x420ce9
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.00414cf1
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 0x420fc5
mov esi, dword [ebp - 0x428]
jmp 0x420cfa
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.0044f102
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.0048a163
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.004145c0
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.0044f102
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.0048a163
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.004145c0
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 0x420b96
cmp dword [ebp - 0x420], 0
je 0x420fb9
mov ecx, dword [ebp - 0x410]
test ecx, ecx
je 0x420ea8
mov eax, dword [ebp - 0x400]
push eax
push dword [ebp - 0x414]
push ecx
mov ecx, dword [ebp - 0x41c]
call fcn.00416511
mov esi, eax
mov dword [ebp - 0x42c], esi
test esi, esi
jns 0x420f9a
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.00414cf1
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.0041695c
cmp dword [0x515f40], 0
mov esi, eax
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
jne 0x420fbf
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x4210d6
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0x14], ebx
je 0x4210d6
test esi, esi
jns 0x42118f
cmp esi, 0x801901f8
ja 0x4210d6
cmp dword [ebp - 0x408], 1
jne 0x4210d6
cmp esi, 0x80072efd
je 0x420f2b
cmp esi, 0x80072ee2
jne 0x420f85
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.00414cf1
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.0040a200
push 4
pop esi
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x440], 0x4d5
jmp 0x420fc5
cmp dword [ebp - 0x3fc], 0
je 0x420ea8
lea eax, [ebp - 0x40c]
push eax
push ecx
call fcn.004245b1
jmp 0x420ea8
mov edi, dword [ebp - 0x40c]
mov esi, dword [ebp - 0x408]
mov ecx, dword [ebp - 0x410]
test ecx, ecx
je 0x421039
mov eax, ebx
mov dword [ebp - 0x3fc], eax
jle 0x421039
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x410]
test ecx, ecx
je 0x42102e
mov ecx, dword [ecx + eax*8 + 4]
test ecx, ecx
je 0x421003
push 2
pop eax
push eax
push ecx
call fcn.004690f3
mov eax, dword [ebp - 0x3fc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x414]
mov ecx, dword [ecx + eax*8]
test ecx, ecx
je 0x421022
push 2
pop eax
push eax
push ecx
call fcn.004690f3
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 0x420fe5
cmp dword [0x515f40], 0
jne 0x421047
cmp esi, 4
jne 0x421052
mov ecx, dword [ebp - 0x41c]
call fcn.00416876
mov eax, dword [ebp - 0x41c]
push ecx
mov ecx, eax
mov dword [eax + 0x38], esi
call fcn.0041d460
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x421074
push eax
call fcn.0044f0fd
pop ecx
lea ecx, [edi - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
jmp 0x421536
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.00414cf1
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.00416109
jmp 0x420eae
test esi, esi
jns 0x42118f
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.00414cf1
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 0x42114a
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 0x421165
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.00412ea3
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 0x420fc5
mov esi, dword [ebp - 0x408]
push 2
pop ecx
cmp esi, ecx
je 0x4212db
cmp esi, 1
je 0x4212db
cmp esi, 6
jne 0x421469
mov eax, ebx
mov dword [ebp - 0x438], ebx
cmp eax, dword [ebp - 0x430]
jge 0x421459
push eax
mov ecx, 0x515f8c
call fcn.0040a0ef
mov dword [ebp - 0x3fc], eax
mov eax, dword [eax]
test eax, eax
je 0x42124c
cmp dword [eax + 0x18], ebx
jne 0x42124c
add eax, 4
mov ecx, 0x515f84
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00440b6d
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.0042f189
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 0x42125e
mov dword [eax + 0x18], 1
mov eax, dword [ebp - 0x438]
inc eax
mov dword [ebp - 0x438], eax
jmp 0x4211ba
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.004145c0
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.0040a240
push 4
pop esi
mov dword [ebp - 0x408], esi
jmp 0x421459
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 0x421302
cmp dword [ebp - 0x34], ebx
jbe 0x421459
cmp dword [ebp - 0x28], ebx
ja 0x421310
cmp dword [ebp - 0x2c], ebx
jbe 0x421459
mov eax, dword [0x5163f4]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x421459
cmp dword [0x515f40], 0
jne 0x420fc5
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.004a8940
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.00481b00
add esp, 0xc
call fcn.0044f841
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.0040d67c
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.004a8940
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x3dc]
push 0x100
push eax
call fcn.00424d83
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.00437523
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 0x420fc5
push 2
pop ecx
cmp esi, ecx
je 0x420eae
cmp esi, 1
je 0x420eae
jmp 0x420fc5
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.00414cf1
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.0040a240
push ecx
mov ecx, esi
call fcn.0041d460
lea ecx, [edi - 0x10]
call fcn.00402e64
jmp 0x421586
cmp dword [ebp - 0x440], 0x4d5
jne 0x421549
mov eax, 0x4d5
jmp 0x42158b
mov byte [ebp - 0x3f5], bl
cmp esi, 6
jne 0x42156f
lea eax, [ebp - 0x3f5]
mov ecx, 0x515e58
push eax
push ebx
push str.BITS_Result_Payloads
call fcn.0040a240
xor eax, eax
jmp 0x42158b
lea ecx, [ebp - 0x3f5]
push ecx
push eax
push str.BITS_Result_Payloads
mov ecx, 0x515e58
call fcn.0040a240
mov eax, 0x4de
call fcn.00469687
ret 8