Function at 0x431590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483ff9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4315d9
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
call fcn.0046619d
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_IN_time___d_
push 0
push 5
call fcn.004548f0
add esp, 0x14
mov dword [ebp - 0x4c], 0
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x431623
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
or ebx, 0xffffffff
mov byte [ebp - 4], 1
test edi, edi
je 0x432691
push 0x496f60
mov ecx, esi
call fcn.0044bc90
cmp eax, 0x4b15b0
je 0x4325bf
cmp byte [esi + 8], 0
jne 0x431661
mov edi, 0x4b15b0
jmp 0x4316d9
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], 0x496f60
mov dword [ebp - 0x14], 0
call fcn.0044c000
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4316b3
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4316ac
cmp dword [ebp - 0x14], 1
jne 0x4316ac
call fcn.0044ae60
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x4316d5
lea edi, [eax + 0x18]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0
je 0x4316d5
cmp dword [ebp - 0x14], 1
jne 0x4316d5
call fcn.0044ae60
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 1
cmp byte [edi + 8], 4
jne 0x4325bf
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4316f8
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
cmp byte [esi + 8], 0
jne 0x431714
mov edi, 0x4b15b0
jmp 0x43178c
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], 0x496f60
mov dword [ebp - 0x14], 0
call fcn.0044c000
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x431766
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43175f
cmp dword [ebp - 0x14], 1
jne 0x43175f
call fcn.0044ae60
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x431788
lea edi, [eax + 0x18]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x431788
cmp dword [ebp - 0x14], 1
jne 0x431788
call fcn.0044ae60
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
mov edx, dword [edi]
test edx, edx
jne 0x431796
xor ecx, ecx
jmp 0x4317a9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4317a0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042cf20
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x40]
call fcn.00457b80
push str.fileName
mov ecx, esi
call fcn.0044bc90
cmp eax, 0x4b15b0
je 0x43257a
cmp byte [esi + 8], 0
jne 0x4317e2
mov edi, 0x4b15b0
jmp 0x43185a
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.fileName
mov dword [ebp - 0x14], 0
call fcn.0044c000
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x431834
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43182d
cmp dword [ebp - 0x14], 1
jne 0x43182d
call fcn.0044ae60
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x431856
lea edi, [eax + 0x18]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x431856
cmp dword [ebp - 0x14], 1
jne 0x431856
call fcn.0044ae60
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 4
cmp byte [edi + 8], 4
jne 0x43257a
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x431879
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 9
cmp byte [esi + 8], 0
jne 0x431895
mov edi, 0x4b15b0
jmp 0x43190d
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.fileName
mov dword [ebp - 0x14], 0
call fcn.0044c000
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4318e7
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4318e0
cmp dword [ebp - 0x14], 1
jne 0x4318e0
call fcn.0044ae60
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x431909
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x431909
cmp dword [ebp - 0x14], 1
jne 0x431909
call fcn.0044ae60
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 9
mov edx, dword [edi]
test edx, edx
jne 0x431917
xor ecx, ecx
jmp 0x431929
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431920
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042cf20
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.00457b80
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x431953
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push str.responseType
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0044bc90
cmp eax, 0x4b15b0
je 0x431a1a
cmp byte [esi + 8], 0
jne 0x431986
mov edi, 0x4b15b0
jmp 0x4319fe
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.responseType
mov dword [ebp - 0x14], 0
call fcn.0044c000
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4319d8
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4319d1
cmp dword [ebp - 0x14], 1
jne 0x4319d1
call fcn.0044ae60
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x4319fa
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x18], 0
je 0x4319fa
cmp dword [ebp - 0x14], 1
jne 0x4319fa
call fcn.0044ae60
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xc
cmp byte [edi + 8], 4
jne 0x431a1a
push str.responseType
mov ecx, esi
call fcn.0044bc90
lea ecx, [ebp - 0x3c]
push dword [eax]
call fcn.0042aa10
push str.onFinishId
mov ecx, esi
mov dword [ebp - 0x70], 0xffffffff
call fcn.0044bc90
cmp eax, 0x4b15b0
je 0x431adb
cmp byte [esi + 8], 0
jne 0x431a45
mov edi, 0x4b15b0
jmp 0x431abd
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.onFinishId
mov dword [ebp - 0x14], 0
call fcn.0044c000
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x431a97
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x431a90
cmp dword [ebp - 0x14], 1
jne 0x431a90
call fcn.0044ae60
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x431ab9
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], 0
je 0x431ab9
cmp dword [ebp - 0x14], 1
jne 0x431ab9
call fcn.0044ae60
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xc
cmp byte [edi + 8], 1
jne 0x431adb
push str.onFinishId
mov ecx, esi
call fcn.0044bc90
mov ecx, eax
call fcn.0044b430
mov dword [ebp - 0x70], eax
jmp 0x431af1
push str.CDispatcherHandler::DownloadFile
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.004548f0
add esp, 0x10
push str.onProgressId
mov ecx, esi
mov dword [ebp - 0x6c], 0xffffffff
call fcn.0044bc90
cmp eax, 0x4b15b0
je 0x431bb2
cmp byte [esi + 8], 0
jne 0x431b1c
mov edi, 0x4b15b0
jmp 0x431b94
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.onProgressId
mov dword [ebp - 0x14], 0
call fcn.0044c000
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x431b6e
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x431b67
cmp dword [ebp - 0x14], 1
jne 0x431b67
call fcn.0044ae60
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x431b90
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0
je 0x431b90
cmp dword [ebp - 0x14], 1
jne 0x431b90
call fcn.0044ae60
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xc
cmp byte [edi + 8], 1
jne 0x431bb2
push str.onProgressId
mov ecx, esi
call fcn.0044bc90
mov ecx, eax
call fcn.0044b430
mov dword [ebp - 0x6c], eax
jmp 0x431bc8
push str.CDispatcherHandler::DownloadFile
push str._s_onProgressId_not_exist
push 2
push 5
call fcn.004548f0
add esp, 0x10
push str.progressPercent
mov ecx, esi
mov dword [ebp - 0x68], 0
call fcn.0044bc90
cmp eax, 0x4b15b0
je 0x431ca2
cmp byte [esi + 8], 0
jne 0x431bf3
mov edi, 0x4b15b0
jmp 0x431c6b
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.progressPercent
mov dword [ebp - 0x14], 0
call fcn.0044c000
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x431c45
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x431c3e
cmp dword [ebp - 0x14], 1
jne 0x431c3e
call fcn.0044ae60
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x431c67
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18], 0
je 0x431c67
cmp dword [ebp - 0x14], 1
jne 0x431c67
call fcn.0044ae60
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xc
mov al, byte [edi + 8]
cmp al, 1
je 0x431c7a
cmp al, 2
je 0x431c7a
cmp al, 5
jne 0x431ca2
push str.progressPercent
mov ecx, esi
call fcn.0044bc90
mov ecx, eax
call fcn.0044b430
mov edi, eax
mov dword [ebp - 0x68], edi
test edi, edi
js 0x431c9b
cmp edi, 0x64
jle 0x431ca2
mov dword [ebp - 0x68], 0
mov eax, dword [0x4b143c]
test eax, eax
jne 0x431cde
push 0x230
call fcn.0045b485
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0x15
call fcn.0045fd40
add esp, 0x10
mov ecx, esi
call fcn.00428060
mov byte [ebp - 4], 0xc
mov dword [0x4b143c], eax
mov ecx, dword [eax + 0x174]
sub ecx, 0x10
call fcn.0042c130
add eax, 0x10
mov dword [ebp - 0x38], eax
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 0x16
call fcn.0042c130
mov dword [ebp - 0x2c], eax
add eax, 0x10
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x38]
mov esi, dword [ebp - 0x44]
push dword [esi - 0xc]
push esi
call fcn.0042b9d0
mov edi, dword [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.004527a0
add esp, 4
test al, al
je 0x431f5e
mov ebx, 1
lea eax, [esi - 0x10]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
jmp 0x431d43
mov ebx, dword [ebp - 0x54]
push 0x2e
push esi
call fcn.0045f157
mov edi, eax
add esp, 8
test edi, edi
je 0x431d5d
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
jne 0x431d60
mov edi, dword [esi - 0xc]
lea ecx, [esi - 0x10]
call fcn.0042c130
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x18
call fcn.0040f6c0
test eax, eax
je 0x4315cf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x19
push str.___d_
push eax
call fcn.0042d0a0
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
add esp, 0xc
push ebx
push edi
call fcn.004406c0
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x14]
call fcn.0042a510
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.0042baa0
mov byte [ebp - 4], 0x19
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431ded
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.004527a0
lea edx, [ebx - 0x10]
add esp, 4
or ebx, 0xffffffff
test al, al
mov eax, ebx
je 0x431e4d
inc dword [ebp - 0x54]
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431e20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431e3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x431d40
jmp 0x431e8e
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431e63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431e81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x431f47
push str.downloadFile_findfile_1000
lea ecx, [ebp - 0x34]
call fcn.0042aaa0
push str.CDispatcherHandler::DownloadFile
push str._s_ERROR_could_not_find_valid_file_name_to_use
push 3
push 5
call fcn.004548f0
mov byte [ebp - 4], 0x16
add esp, 0x10
mov edx, dword [ebp - 0x2c]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431ecc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x431ee7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431f05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x50]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431f20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4325e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4325e4
push edi
push str.CDispatcherHandler::DownloadFile
push str._s_strOutputPath___s_
push 0
push 5
call fcn.004548f0
add esp, 0x14
push 0x10
call fcn.0045b485
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [eax + 8], 0
and dword [eax + 8], 0xfffffeff
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xc], 0
and ecx, 0xffffff04
mov eax, dword fs:[0x2c]
or ecx, 0x104
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [eax]
mov eax, dword [0x4b386c]
mov dword [ebp - 0x28], ecx
cmp eax, dword [ecx + 4]
jle 0x431fe9
push 0x4b386c
call fcn.0045b612
add esp, 4
cmp dword [0x4b386c], 0xffffffff
jne 0x431fe9
push 0x4878d0
mov dword [0x4b3808], 0x49b548
call fcn.0045b969
push 0x4b386c
call fcn.0045b5d3
add esp, 8
mov ecx, dword [0x4ade10]
push 0xffffffffffffffff
push 0x497e44
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1d
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push str.method
call fcn.0044bad0
mov ecx, eax
call fcn.0044b380
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x17
call fcn.0044b2c0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.00457d60
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x43204e
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042b8b0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x5c]
and eax, 0xffffff04
mov dword [ebp - 0x58], 0
or eax, 0x104
mov dword [ebp - 0x5c], eax
mov eax, dword [0x4b386c]
cmp eax, dword [ecx + 4]
jle 0x4320b1
push 0x4b386c
call fcn.0045b612
add esp, 4
cmp dword [0x4b386c], 0xffffffff
jne 0x4320b1
push 0x4878d0
mov dword [0x4b3808], 0x49b548
call fcn.0045b969
push 0x4b386c
call fcn.0045b5d3
add esp, 8
mov ecx, dword [0x4ade10]
push 0xffffffffffffffff
push dword [ebp - 0x50]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x1f
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push 0x496f60
call fcn.0044bad0
mov ecx, eax
call fcn.0044b380
lea ecx, [ebp - 0x64]
call fcn.0044b2c0
mov byte [ebp - 4], 0x17
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432107
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [0x4b386c]
cmp eax, dword [ecx + 4]
jle 0x432165
push 0x4b386c
call fcn.0045b612
add esp, 4
cmp dword [0x4b386c], 0xffffffff
jne 0x432165
push 0x4878d0
mov dword [0x4b3808], 0x49b548
call fcn.0045b969
push 0x4b386c
call fcn.0045b5d3
add esp, 8
mov ecx, dword [0x4ade10]
push 0xffffffffffffffff
push 0x497e54
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x20
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push str.acceptTypes
call fcn.0044bad0
mov ecx, eax
call fcn.0044b380
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x17
call fcn.0044b2c0
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4321b8
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x38]
call fcn.00457c80
mov ebx, dword [ebp - 0x24]
cmp dword [ebx - 4], 1
jle 0x4321e9
push dword [ebx - 0xc]
lea ecx, [ebp - 0x24]
call fcn.0042b8b0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [0x4b386c]
cmp eax, dword [ecx + 4]
jle 0x432247
push 0x4b386c
call fcn.0045b612
add esp, 4
cmp dword [0x4b386c], 0xffffffff
jne 0x432247
push 0x4878d0
mov dword [0x4b3808], 0x49b548
call fcn.0045b969
push 0x4b386c
call fcn.0045b5d3
add esp, 8
mov ecx, dword [0x4ade10]
push 0xffffffffffffffff
push ebx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x22
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push str.outputFile
call fcn.0044bad0
mov ecx, eax
call fcn.0044b380
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044b2c0
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
call fcn.00457d60
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x4322a8
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042b8b0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x5c]
and eax, 0xffffff04
mov dword [ebp - 0x58], 0
or eax, 0x104
mov dword [ebp - 0x5c], eax
mov eax, dword [0x4b386c]
cmp eax, dword [ecx + 4]
jle 0x43230b
push 0x4b386c
call fcn.0045b612
add esp, 4
cmp dword [0x4b386c], 0xffffffff
jne 0x43230b
push 0x4878d0
mov dword [0x4b3808], 0x49b548
call fcn.0045b969
push 0x4b386c
call fcn.0045b5d3
add esp, 8
mov ecx, dword [0x4ade10]
push 0xffffffffffffffff
push dword [ebp - 0x50]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x24
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push str.responseType
call fcn.0044bad0
mov ecx, eax
call fcn.0044b380
lea ecx, [ebp - 0x64]
call fcn.0044b2c0
mov byte [ebp - 4], 0x21
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432362
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5c]
and eax, 0xffffff01
mov dword [ebp - 0x58], 0
or eax, 1
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x25
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push str.progressCallbackId
call fcn.0044bad0
mov ecx, eax
call fcn.0044b380
lea ecx, [ebp - 0x64]
call fcn.0044b2c0
mov eax, dword [ebp - 0x5c]
and eax, 0xffffff01
mov dword [ebp - 0x58], 0
or eax, 1
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x26
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push str.finishCallbackId
call fcn.0044bad0
mov ecx, eax
call fcn.0044b380
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044b2c0
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x43242e
mov eax, dword [ebp - 0x5c]
and eax, 0xffffff01
mov dword [ebp - 0x58], 0
or eax, 1
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x27
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push str.progressPercent
call fcn.0044bad0
mov ecx, eax
call fcn.0044b380
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044b2c0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x5c]
and ecx, 0xffffff01
mov dword [ebp - 0x50], eax
or ecx, 1
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x28
push eax
push ecx
mov ecx, dword [ebp - 0x54]
push str.hadleLife
call fcn.0044bad0
mov ecx, eax
call fcn.0044b380
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044b2c0
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x54]
push 0x431110
push 0
push 0
call fcn.004628c2
add esp, 0x18
mov ecx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push ecx
test ecx, ecx
jne 0x43256f
mov ecx, dword [ebp - 0x54]
call fcn.004326f0
push 0x497e58
lea ecx, [ebp - 0x34]
call fcn.0042aaa0
push str.CDispatcherHandler::DownloadFile
push str._s__beginthreadex_error
push 3
push 5
call fcn.004548f0
add esp, 0x10
mov dword [ebp - 0x4c], 0
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0x17
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4324fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov eax, ebx
mov edx, dword [ebp - 0x2c]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432517
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x432532
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432550
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431f20
mov ecx, dword [esi]
push esi
jmp 0x431f1b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4324de
push 0x1d
push str.downloadFile_fileName_missing
lea ecx, [ebp - 0x34]
call fcn.0042c270
push str.CDispatcherHandler::DownloadFile
push str._s_fileName_error
push 3
push 5
call fcn.004548f0
mov byte [ebp - 4], 1
add esp, 0x10
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4325e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4325e4
push 0x18
push str.downloadFile_url_missing
lea ecx, [ebp - 0x34]
call fcn.0042c270
push str.CDispatcherHandler::DownloadFile
push str._s_url_error
push 3
push 5
call fcn.004548f0
add esp, 0x10
mov edi, dword [ebp - 0x74]
mov eax, 8
mov word [edi], ax
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x432604
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x29
mov edx, 0x496eac
mov eax, dword [ebp - 0x4c]
mov ecx, 0x496eb8
push dword [ebp - 0x34]
test eax, eax
cmovne ecx, edx
push ecx
push eax
lea eax, [ebp - 0x2c]
push str.__threadId__:__d____result__:__s____error__:___s__
push eax
call fcn.0042d0a0
add esp, 0x14
lea ecx, [ebp - 0x2c]
push 0x496f74
push 0x496340
call fcn.0042a7b0
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
call fcn.0046619d
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_OUT_time___d_
push 0
push 5
call fcn.004548f0
add esp, 0x14
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432691
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4326af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4326ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b46f
mov esp, ebp
pop ebp
ret 8