Function at 0x41f850
Capabilities:
Create directory
Delete file

Disassembly:
push 0x43c
mov eax, 0x4883c3
call fcn.00464eea
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.0040279b
push ebx
push 2
pop eax
lea edx, [ebp - 0x3fc]
mov dword [ebp - 4], ebx
mov ecx, eax
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x3fc]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, dword [0x4e20cc]
mov ecx, edi
mov dword [ebp - 0x440], 0x12
mov dword [ebp - 0x430], eax
call fcn.004029f6
mov eax, ebx
mov dword [ebp - 0x42c], ebx
cmp dword [ebp - 0x430], eax
jle 0x41f9a1
push eax
mov ecx, 0x4e20c4
call fcn.0040979f
mov esi, eax
cmp dword [esi], ebx
je 0x41f982
mov ecx, dword [ebp - 0x418]
push 1
push esi
call fcn.0041dabd
test eax, eax
jne 0x41f937
mov ecx, dword [ebp - 0x418]
push ebx
push esi
call fcn.0041dabd
test eax, eax
jne 0x41f937
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x41f925
push 0x49c824
mov ecx, edi
call fcn.0040252d
mov eax, dword [esi]
mov ecx, edi
mov eax, dword [eax + 4]
push dword [eax - 0xc]
push eax
call fcn.00402556
jmp 0x41f982
push str.File_already_exist_and_valid:
lea ecx, [ebp - 0x3fc]
call fcn.0040279b
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.00413900
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x3fc]
lea ecx, [ecx - 0x10]
call fcn.00402def
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 0x41f8d9
mov esi, dword [ebp - 0x418]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x41fa0d
push str.No_files_scheduled_for_download
lea ecx, [ebp - 0x3fc]
call fcn.0040279b
push 2
pop eax
push ebx
lea edx, [ebp - 0x3fc]
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x3fc]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push ebx
push str.AlreadyDownloaded
push str.Payload_Download_Status
mov ecx, 0x4e1f90
call fcn.004098b0
mov eax, dword [ebp - 0x440]
jmp 0x420632
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push ebx
push str.Started
push str.Payload_Download_Status
mov ecx, 0x4e1f90
call fcn.004098b0
push ebx
push dword [esi + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [0x4e250c], 0
je 0x41fa54
cmp dword [0x4e2068], 0
jne 0x41fa54
mov dword [ebp - 0x400], ebx
jmp 0x41fa5d
push 2
pop eax
mov dword [ebp - 0x400], eax
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 [0x4e215c]
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.00402d2a
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.00423c06
cmp dword [ebp - 0x3fc], 0
jne 0x41fb0f
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x404]
call fcn.00402824
lea eax, [ebp - 0x404]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x4e20bc
call fcn.0041ba6d
mov esi, dword [ebp - 0x404]
lea ecx, [ebp - 0x40c]
push esi
push ebx
call fcn.004093cf
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.00402def
push 0x40
call fcn.0044a865
pop ecx
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x40c]
test eax, eax
je 0x41fb37
push edi
mov ecx, eax
call fcn.004150ef
mov esi, eax
jmp 0x41fb39
mov esi, ebx
mov dword [ebp - 0x41c], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x420526
cmp dword [esi], ebx
je 0x420526
cmp dword [esi + 0xc], ebx
jge 0x41fb92
push str.armDownloader_mErrorCode:
lea ecx, [ebp - 0x404]
call fcn.0040279b
mov byte [ebp - 4], 8
lea edx, [ebp - 0x404]
push dword [esi + 0xc]
push 2
pop eax
mov ecx, eax
call fcn.00413e51
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x408]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00415a64
mov esi, eax
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
test esi, esi
jns 0x41fbf8
cmp esi, 0x80200001
je 0x41fc12
push str.isComplete_HRESULT:
lea ecx, [ebp - 0x404]
call fcn.0040279b
push esi
push 2
pop eax
lea edx, [ebp - 0x404]
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.00413e51
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402def
jmp 0x41fc12
mov eax, dword [ebp - 0x408]
push 2
pop esi
cmp eax, esi
je 0x420132
cmp eax, 1
je 0x420132
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.0044a8a2
mov dword [ebp - 0x414], eax
mov eax, ebx
pop ecx
mov dword [ebp - 0x43c], ebx
cmp eax, esi
jge 0x41fed9
push eax
mov ecx, 0x4e20c4
call fcn.0040979f
mov esi, eax
mov dword [ebp - 0x444], esi
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x428]
call fcn.00402824
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
test eax, eax
je 0x41feaf
cmp dword [eax + 0x18], ebx
jne 0x41feaf
mov eax, dword [ebp - 0x418]
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00402d2a
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.00402556
mov ecx, dword [esi]
lea eax, [ebp - 0x404]
push eax
lea ecx, [ecx + 8]
call fcn.00402d9f
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.00402d9f
mov esi, dword [ebp - 0x428]
push 8
push esi
push str.https:__
call fcn.0046df65
add esp, 0xc
test eax, eax
jne 0x41fda1
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x41fd98
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.0041e6a8
test eax, eax
jne 0x41fd90
push str.fallback_not_available__exiting_BITs
lea ecx, [ebp - 0x3fc]
call fcn.0040279b
push ebx
lea edx, [ebp - 0x3fc]
mov byte [ebp - 4], 0xd
mov ecx, edi
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x3fc]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x404]
push 4
pop esi
mov dword [ebp - 0x408], esi
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov edi, dword [ebp - 0x40c]
jmp 0x42006c
mov esi, dword [ebp - 0x428]
jmp 0x41fda1
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.0044a8a2
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.0046de73
add esp, 0xc
lea ecx, [ebp - 0x434]
push str.Creating_BITS_job_LocalFileName:
call fcn.0040279b
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.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
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.0044a8a2
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.0046de73
add esp, 0xc
lea ecx, [ebp - 0x438]
push str.Creating_BITS_job_RemoteName:
call fcn.0040279b
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.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x438]
lea ecx, [ecx - 0x10]
call fcn.00402def
inc dword [ebp - 0x410]
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, dword [ebp - 0x43c]
mov esi, dword [ebp - 0x430]
inc eax
mov dword [ebp - 0x43c], eax
jmp 0x41fc3d
cmp dword [ebp - 0x420], 0
je 0x420060
mov ecx, dword [ebp - 0x410]
test ecx, ecx
je 0x41ff4f
mov eax, dword [ebp - 0x400]
push eax
push dword [ebp - 0x414]
push ecx
mov ecx, dword [ebp - 0x41c]
call fcn.00415619
mov esi, eax
mov dword [ebp - 0x42c], esi
test esi, esi
jns 0x420041
push str.downLoadFileSet___returned_error:
lea ecx, [ebp - 0x400]
call fcn.0040279b
xor ecx, ecx
mov byte [ebp - 4], 0x10
push esi
lea edx, [ebp - 0x400]
inc ecx
call fcn.00413e51
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov edi, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00415a64
cmp dword [0x4e2078], 0
mov esi, eax
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
jne 0x420066
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x42017d
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0x14], ebx
je 0x42017d
test esi, esi
jns 0x420236
cmp esi, 0x801901f8
ja 0x42017d
cmp dword [ebp - 0x408], 1
jne 0x42017d
cmp esi, 0x80072efd
je 0x41ffd2
cmp esi, 0x80072ee2
jne 0x42002c
push str.reporting_https_payload_error
lea ecx, [ebp - 0x400]
call fcn.0040279b
push ebx
push 2
pop eax
lea edx, [ebp - 0x400]
mov byte [ebp - 4], 0x11
mov ecx, eax
call fcn.00413e51
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push ebx
push 0x49db4c
push str.HTTPS_Failed
mov ecx, 0x4e1f90
call fcn.004098b0
push 4
pop esi
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x440], 0x4d5
jmp 0x42006c
cmp dword [ebp - 0x3fc], 0
je 0x41ff4f
lea eax, [ebp - 0x40c]
push eax
push ecx
call fcn.00423658
jmp 0x41ff4f
mov edi, dword [ebp - 0x40c]
mov esi, dword [ebp - 0x408]
mov ecx, dword [ebp - 0x410]
test ecx, ecx
je 0x4200e0
mov eax, ebx
mov dword [ebp - 0x3fc], eax
jle 0x4200e0
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x410]
test ecx, ecx
je 0x4200d5
mov ecx, dword [ecx + eax*8 + 4]
test ecx, ecx
je 0x4200aa
push 2
pop eax
push eax
push ecx
call fcn.004648a3
mov eax, dword [ebp - 0x3fc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x414]
mov ecx, dword [ecx + eax*8]
test ecx, ecx
je 0x4200c9
push 2
pop eax
push eax
push ecx
call fcn.004648a3
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 0x42008c
cmp dword [0x4e2078], 0
jne 0x4200ee
cmp esi, 4
jne 0x4200f9
mov ecx, dword [ebp - 0x41c]
call fcn.0041597e
mov eax, dword [ebp - 0x41c]
push ecx
mov ecx, eax
mov dword [eax + 0x38], esi
call fcn.0041c531
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x42011b
push eax
call fcn.0044a89d
pop ecx
lea ecx, [edi - 0x10]
call fcn.00402def
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
jmp 0x4205dd
push str.last_BITs_job_still_downloading__taking_over_ownership
lea ecx, [ebp - 0x400]
call fcn.0040279b
push ebx
lea edx, [ebp - 0x400]
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.00413e51
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402def
push dword [0x4e20cc]
mov ecx, dword [ebp - 0x41c]
call fcn.00415269
jmp 0x41ff55
test esi, esi
jns 0x420236
push str.DownloadFiles:isComplete_returns_error
lea ecx, [ebp - 0x400]
call fcn.0040279b
mov eax, dword [ebp - 0x440]
lea edx, [ebp - 0x400]
xor ecx, ecx
mov byte [ebp - 4], al
push esi
inc ecx
call fcn.00413e51
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea ecx, [ebp - 0x400]
cmp esi, 0x80190194
jne 0x4201f1
push str.Missing_file_on_server__HTTP_Error_404_
call fcn.0040279b
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x400]
push eax
push 0x223a8
jmp 0x42020c
push str.General_Download_File_failure
call fcn.0040279b
push esi
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 0x14
push eax
push 0x2240c
mov ecx, 0x4e24cc
call fcn.004121e3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
lea ecx, [ecx - 0x10]
call fcn.00402def
push 4
pop esi
mov dword [ebp - 0x408], esi
jmp 0x42006c
mov esi, dword [ebp - 0x408]
push 2
pop ecx
cmp esi, ecx
je 0x420382
cmp esi, 1
je 0x420382
cmp esi, 6
jne 0x420510
mov eax, ebx
mov dword [ebp - 0x438], ebx
cmp eax, dword [ebp - 0x430]
jge 0x420500
push eax
mov ecx, 0x4e20c4
call fcn.0040979f
mov dword [ebp - 0x3fc], eax
mov eax, dword [eax]
test eax, eax
je 0x4202f3
cmp dword [eax + 0x18], ebx
jne 0x4202f3
add eax, 4
mov ecx, 0x4e20bc
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.0043c4f7
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.0042d48a
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x400]
add ecx, 0xfffffff0
mov dword [ebp - 0x420], eax
call fcn.00402def
cmp dword [ebp - 0x420], 0
mov eax, dword [ebp - 0x3fc]
mov eax, dword [eax]
jne 0x420305
mov dword [eax + 0x18], 1
mov eax, dword [ebp - 0x438]
inc eax
mov dword [ebp - 0x438], eax
jmp 0x420261
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.invalid_after_BITs_download:
lea ecx, [ebp - 0x43c]
call fcn.0040279b
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.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x43c]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push esi
push str.Signature_Validation_Error
mov ecx, 0x4e1f90
call fcn.004098f0
push 4
pop esi
mov dword [ebp - 0x408], esi
jmp 0x420500
cmp dword [0x4e2068], 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 0x4203a9
cmp dword [ebp - 0x34], ebx
jbe 0x420500
cmp dword [ebp - 0x28], ebx
ja 0x4203b7
cmp dword [ebp - 0x2c], ebx
jbe 0x420500
mov eax, dword [0x4e250c]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x420500
cmp dword [0x4e2078], 0
jne 0x42006c
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.00484870
mov esi, dword [esi + 0x1b0]
mov ecx, esi
push eax
call dword [0x4907c8]
mov ecx, dword [ebp - 0x420]
call esi
push 0x3bc
lea eax, [ebp - 0x3f4]
push ebx
push eax
call fcn.00466990
add esp, 0xc
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x418]
call fcn.00402824
push str.IDS_BAL_DOWNLOADPROGRESS
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0x15
call fcn.0040279b
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x434]
mov ecx, 0x4e1f90
push eax
call fcn.0040c9da
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
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.00484870
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x3dc]
push 0x100
push eax
call fcn.00423e2a
add esp, 0x10
lea eax, [ebp - 0x3dc]
lea ecx, [ebp - 0x404]
push eax
call fcn.0040279b
mov ecx, dword [ebp - 0x420]
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 4], 0x17
call fcn.00434e33
mov ecx, dword [ebp - 0x404]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x418]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov esi, dword [ebp - 0x408]
cmp dword [0x4e2078], 0
jne 0x42006c
push 2
pop ecx
cmp esi, ecx
je 0x41ff55
cmp esi, 1
je 0x41ff55
jmp 0x42006c
push str.Null_armDownloader_or_IBackgroundCopyManager__BITs_failed_with_error_code:
lea ecx, [ebp - 0x424]
call fcn.0040279b
mov byte [ebp - 4], 7
lea edx, [ebp - 0x424]
push dword [esi + 0xc]
xor ecx, ecx
inc ecx
call fcn.00413e51
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x3f5]
mov byte [ebp - 0x3f5], bl
push eax
push dword [esi + 0xc]
mov ecx, 0x4e1f90
push str.BITS_Result_Payloads
call fcn.004098f0
push ecx
mov ecx, esi
call fcn.0041c531
lea ecx, [edi - 0x10]
call fcn.00402def
jmp 0x42062d
cmp dword [ebp - 0x440], 0x4d5
jne 0x4205f0
mov eax, 0x4d5
jmp 0x420632
mov byte [ebp - 0x3f5], bl
cmp esi, 6
jne 0x420616
lea eax, [ebp - 0x3f5]
mov ecx, 0x4e1f90
push eax
push ebx
push str.BITS_Result_Payloads
call fcn.004098f0
xor eax, eax
jmp 0x420632
lea ecx, [ebp - 0x3f5]
push ecx
push eax
push str.BITS_Result_Payloads
mov ecx, 0x4e1f90
call fcn.004098f0
mov eax, 0x4de
call fcn.00464e37
ret 8