Function at 0x420750
Capabilities:
Create directory
Delete file

Disassembly:
push 0x43c
mov eax, 0x4ac2b3
call fcn.00468cba
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.00414ca1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x3fc]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [0x513f94]
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 0x4208a1
push eax
mov ecx, 0x513f8c
call fcn.0040a0bf
mov esi, eax
cmp dword [esi], ebx
je 0x420882
mov ecx, dword [ebp - 0x418]
push 1
push esi
call fcn.0041e9bc
test eax, eax
jne 0x420837
mov ecx, dword [ebp - 0x418]
push ebx
push esi
call fcn.0041e9bc
test eax, eax
jne 0x420837
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x420825
push 0x4c9554
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 0x420882
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.00414570
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 0x4207d9
mov esi, dword [ebp - 0x418]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x42090d
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.00414ca1
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, 0x513e58
call fcn.0040a1d0
mov eax, dword [ebp - 0x440]
jmp 0x42153b
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push ebx
push str.Started
push str.Payload_Download_Status
mov ecx, 0x513e58
call fcn.0040a1d0
push ebx
push dword [esi + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [0x5143f0], 0
je 0x42094c
cmp dword [0x513f30], 0
je 0x420960
cmp dword [0x513f58], 0
jne 0x420960
push 2
pop eax
mov dword [ebp - 0x400], eax
jmp 0x420966
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 [0x514024]
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.00424b11
cmp dword [ebp - 0x3fc], 0
jne 0x420a18
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x404]
call fcn.00402899
lea eax, [ebp - 0x404]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x513f84
call fcn.0041c93d
mov esi, dword [ebp - 0x404]
lea ecx, [ebp - 0x40c]
push esi
push ebx
call fcn.00409cef
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.00402e64
push 0x40
call fcn.0044e655
pop ecx
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x40c]
test eax, eax
je 0x420a40
push edi
mov ecx, eax
call fcn.00415f3f
mov esi, eax
jmp 0x420a42
mov esi, ebx
mov dword [ebp - 0x41c], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x42142f
cmp dword [esi], ebx
je 0x42142f
cmp dword [esi + 0xc], ebx
jge 0x420a9b
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.00414ca1
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.0041690c
mov esi, eax
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
test esi, esi
jns 0x420b01
cmp esi, 0x80200001
je 0x420b1b
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.00414ca1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x420b1b
mov eax, dword [ebp - 0x408]
push 2
pop esi
cmp eax, esi
je 0x42103b
cmp eax, 1
je 0x42103b
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.0044e692
mov dword [ebp - 0x414], eax
mov eax, ebx
pop ecx
mov dword [ebp - 0x43c], ebx
cmp eax, esi
jge 0x420de2
push eax
mov ecx, 0x513f8c
call fcn.0040a0bf
mov esi, eax
mov dword [ebp - 0x444], esi
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x428]
call fcn.00402899
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
test eax, eax
je 0x420db8
cmp dword [eax + 0x18], ebx
jne 0x420db8
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.004897c5
add esp, 0xc
test eax, eax
jne 0x420caa
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x420ca1
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.0041f5a7
test eax, eax
jne 0x420c99
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.00414ca1
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 0x420f75
mov esi, dword [ebp - 0x428]
jmp 0x420caa
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.0044e692
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.004896d3
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.00414570
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.0044e692
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.004896d3
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.00414570
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 0x420b46
cmp dword [ebp - 0x420], 0
je 0x420f69
mov ecx, dword [ebp - 0x410]
test ecx, ecx
je 0x420e58
mov eax, dword [ebp - 0x400]
push eax
push dword [ebp - 0x414]
push ecx
mov ecx, dword [ebp - 0x41c]
call fcn.004164c1
mov esi, eax
mov dword [ebp - 0x42c], esi
test esi, esi
jns 0x420f4a
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.00414ca1
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.0041690c
cmp dword [0x513f40], 0
mov esi, eax
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
jne 0x420f6f
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x421086
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0x14], ebx
je 0x421086
test esi, esi
jns 0x42113f
cmp esi, 0x801901f8
ja 0x421086
cmp dword [ebp - 0x408], 1
jne 0x421086
cmp esi, 0x80072efd
je 0x420edb
cmp esi, 0x80072ee2
jne 0x420f35
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.00414ca1
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 0x4ca85c
push str.HTTPS_Failed
mov ecx, 0x513e58
call fcn.0040a1d0
push 4
pop esi
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x440], 0x4d5
jmp 0x420f75
cmp dword [ebp - 0x3fc], 0
je 0x420e58
lea eax, [ebp - 0x40c]
push eax
push ecx
call fcn.00424563
jmp 0x420e58
mov edi, dword [ebp - 0x40c]
mov esi, dword [ebp - 0x408]
mov ecx, dword [ebp - 0x410]
test ecx, ecx
je 0x420fe9
mov eax, ebx
mov dword [ebp - 0x3fc], eax
jle 0x420fe9
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x410]
test ecx, ecx
je 0x420fde
mov ecx, dword [ecx + eax*8 + 4]
test ecx, ecx
je 0x420fb3
push 2
pop eax
push eax
push ecx
call fcn.00468673
mov eax, dword [ebp - 0x3fc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x414]
mov ecx, dword [ecx + eax*8]
test ecx, ecx
je 0x420fd2
push 2
pop eax
push eax
push ecx
call fcn.00468673
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 0x420f95
cmp dword [0x513f40], 0
jne 0x420ff7
cmp esi, 4
jne 0x421002
mov ecx, dword [ebp - 0x41c]
call fcn.00416826
mov eax, dword [ebp - 0x41c]
push ecx
mov ecx, eax
mov dword [eax + 0x38], esi
call fcn.0041d410
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x421024
push eax
call fcn.0044e68d
pop ecx
lea ecx, [edi - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
jmp 0x4214e6
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.00414ca1
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [0x513f94]
mov ecx, dword [ebp - 0x41c]
call fcn.004160b9
jmp 0x420e5e
test esi, esi
jns 0x42113f
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.00414ca1
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 0x4210fa
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 0x421115
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, 0x5143b0
call fcn.00412e53
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 0x420f75
mov esi, dword [ebp - 0x408]
push 2
pop ecx
cmp esi, ecx
je 0x42128b
cmp esi, 1
je 0x42128b
cmp esi, 6
jne 0x421419
mov eax, ebx
mov dword [ebp - 0x438], ebx
cmp eax, dword [ebp - 0x430]
jge 0x421409
push eax
mov ecx, 0x513f8c
call fcn.0040a0bf
mov dword [ebp - 0x3fc], eax
mov eax, dword [eax]
test eax, eax
je 0x4211fc
cmp dword [eax + 0x18], ebx
jne 0x4211fc
add eax, 4
mov ecx, 0x513f84
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.00440107
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.0042f13c
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 0x42120e
mov dword [eax + 0x18], 1
mov eax, dword [ebp - 0x438]
inc eax
mov dword [ebp - 0x438], eax
jmp 0x42116a
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.00414570
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, 0x513e58
call fcn.0040a210
push 4
pop esi
mov dword [ebp - 0x408], esi
jmp 0x421409
cmp dword [0x513f30], 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 0x4212b2
cmp dword [ebp - 0x34], ebx
jbe 0x421409
cmp dword [ebp - 0x28], ebx
ja 0x4212c0
cmp dword [ebp - 0x2c], ebx
jbe 0x421409
mov eax, dword [0x5143f0]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x421409
cmp dword [0x513f40], 0
jne 0x420f75
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.004a7ed0
mov esi, dword [esi + 0x1b0]
mov ecx, esi
push eax
call dword [0x4b67e4]
mov ecx, dword [ebp - 0x420]
call esi
push 0x3bc
lea eax, [ebp - 0x3f4]
push ebx
push eax
call fcn.00481070
add esp, 0xc
call fcn.0044edd1
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, 0x513e58
push eax
call fcn.0040d62c
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.004a7ed0
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x3dc]
push 0x100
push eax
call fcn.00424d35
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.00436ac3
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 [0x513f40], 0
jne 0x420f75
push 2
pop ecx
cmp esi, ecx
je 0x420e5e
cmp esi, 1
je 0x420e5e
jmp 0x420f75
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.00414ca1
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, 0x513e58
push str.BITS_Result_Payloads
call fcn.0040a210
push ecx
mov ecx, esi
call fcn.0041d410
lea ecx, [edi - 0x10]
call fcn.00402e64
jmp 0x421536
cmp dword [ebp - 0x440], 0x4d5
jne 0x4214f9
mov eax, 0x4d5
jmp 0x42153b
mov byte [ebp - 0x3f5], bl
cmp esi, 6
jne 0x42151f
lea eax, [ebp - 0x3f5]
mov ecx, 0x513e58
push eax
push ebx
push str.BITS_Result_Payloads
call fcn.0040a210
xor eax, eax
jmp 0x42153b
lea ecx, [ebp - 0x3f5]
push ecx
push eax
push str.BITS_Result_Payloads
mov ecx, 0x513e58
call fcn.0040a210
mov eax, 0x4de
call fcn.00468c07
ret 8