Function at 0x432e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485f89
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4b0014]
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.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x432eb9
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
call fcn.00467b9c
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_IN_time___d_
push 0
push 5
call fcn.004569b0
add esp, 0x14
mov dword [ebp - 0x4c], 0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x432f03
push 0x80004005
call fcn.0041ffd0
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 0x433f71
push 0x4993c4
mov ecx, esi
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x433e9f
cmp byte [esi + 8], 0
jne 0x432f41
mov edi, 0x4b45d0
jmp 0x432fb9
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], 0x4993c4
mov dword [ebp - 0x14], 0
call fcn.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x432f93
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x432f8c
cmp dword [ebp - 0x14], 1
jne 0x432f8c
call fcn.0044cef0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b45d0
jmp 0x432fb5
lea edi, [eax + 0x18]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0
je 0x432fb5
cmp dword [ebp - 0x14], 1
jne 0x432fb5
call fcn.0044cef0
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 0x433e9f
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x432fd8
push 0x80004005
call fcn.0041ffd0
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 0x432ff4
mov edi, 0x4b45d0
jmp 0x43306c
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], 0x4993c4
mov dword [ebp - 0x14], 0
call fcn.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x433046
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43303f
cmp dword [ebp - 0x14], 1
jne 0x43303f
call fcn.0044cef0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b45d0
jmp 0x433068
lea edi, [eax + 0x18]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x433068
cmp dword [ebp - 0x14], 1
jne 0x433068
call fcn.0044cef0
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 0x433076
xor ecx, ecx
jmp 0x433089
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433080
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042e6c0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x40]
call fcn.00459ac0
push str.fileName
mov ecx, esi
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x433e5a
cmp byte [esi + 8], 0
jne 0x4330c2
mov edi, 0x4b45d0
jmp 0x43313a
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.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x433114
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43310d
cmp dword [ebp - 0x14], 1
jne 0x43310d
call fcn.0044cef0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b45d0
jmp 0x433136
lea edi, [eax + 0x18]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x433136
cmp dword [ebp - 0x14], 1
jne 0x433136
call fcn.0044cef0
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 0x433e5a
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x433159
push 0x80004005
call fcn.0041ffd0
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 0x433175
mov edi, 0x4b45d0
jmp 0x4331ed
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.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4331c7
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4331c0
cmp dword [ebp - 0x14], 1
jne 0x4331c0
call fcn.0044cef0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b45d0
jmp 0x4331e9
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x4331e9
cmp dword [ebp - 0x14], 1
jne 0x4331e9
call fcn.0044cef0
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 0x4331f7
xor ecx, ecx
jmp 0x433209
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433200
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042e6c0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.00459ac0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x433233
push 0x80004005
call fcn.0041ffd0
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.0044dd20
cmp eax, 0x4b45d0
je 0x4332fa
cmp byte [esi + 8], 0
jne 0x433266
mov edi, 0x4b45d0
jmp 0x4332de
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.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4332b8
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4332b1
cmp dword [ebp - 0x14], 1
jne 0x4332b1
call fcn.0044cef0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b45d0
jmp 0x4332da
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x18], 0
je 0x4332da
cmp dword [ebp - 0x14], 1
jne 0x4332da
call fcn.0044cef0
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 0x4332fa
push str.responseType
mov ecx, esi
call fcn.0044dd20
lea ecx, [ebp - 0x3c]
push dword [eax]
call fcn.0042c1d0
push str.onFinishId
mov ecx, esi
mov dword [ebp - 0x70], 0xffffffff
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x4333bb
cmp byte [esi + 8], 0
jne 0x433325
mov edi, 0x4b45d0
jmp 0x43339d
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.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x433377
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x433370
cmp dword [ebp - 0x14], 1
jne 0x433370
call fcn.0044cef0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b45d0
jmp 0x433399
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], 0
je 0x433399
cmp dword [ebp - 0x14], 1
jne 0x433399
call fcn.0044cef0
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 0x4333bb
push str.onFinishId
mov ecx, esi
call fcn.0044dd20
mov ecx, eax
call fcn.0044d4c0
mov dword [ebp - 0x70], eax
jmp 0x4333d1
push str.CDispatcherHandler::DownloadFile
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.004569b0
add esp, 0x10
push str.onProgressId
mov ecx, esi
mov dword [ebp - 0x6c], 0xffffffff
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x433492
cmp byte [esi + 8], 0
jne 0x4333fc
mov edi, 0x4b45d0
jmp 0x433474
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.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43344e
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x433447
cmp dword [ebp - 0x14], 1
jne 0x433447
call fcn.0044cef0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b45d0
jmp 0x433470
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0
je 0x433470
cmp dword [ebp - 0x14], 1
jne 0x433470
call fcn.0044cef0
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 0x433492
push str.onProgressId
mov ecx, esi
call fcn.0044dd20
mov ecx, eax
call fcn.0044d4c0
mov dword [ebp - 0x6c], eax
jmp 0x4334a8
push str.CDispatcherHandler::DownloadFile
push str._s_onProgressId_not_exist
push 2
push 5
call fcn.004569b0
add esp, 0x10
push str.progressPercent
mov ecx, esi
mov dword [ebp - 0x68], 0
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x433582
cmp byte [esi + 8], 0
jne 0x4334d3
mov edi, 0x4b45d0
jmp 0x43354b
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.0044e090
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x433525
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43351e
cmp dword [ebp - 0x14], 1
jne 0x43351e
call fcn.0044cef0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b45d0
jmp 0x433547
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18], 0
je 0x433547
cmp dword [ebp - 0x14], 1
jne 0x433547
call fcn.0044cef0
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 0x43355a
cmp al, 2
je 0x43355a
cmp al, 5
jne 0x433582
push str.progressPercent
mov ecx, esi
call fcn.0044dd20
mov ecx, eax
call fcn.0044d4c0
mov edi, eax
mov dword [ebp - 0x68], edi
test edi, edi
js 0x43357b
cmp edi, 0x64
jle 0x433582
mov dword [ebp - 0x68], 0
mov eax, dword [0x4b445c]
test eax, eax
jne 0x4335be
push 0x230
call fcn.0045d295
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0x15
call fcn.00461b50
add esp, 0x10
mov ecx, esi
call fcn.004285c0
mov byte [ebp - 4], 0xc
mov dword [0x4b445c], eax
mov ecx, dword [eax + 0x174]
sub ecx, 0x10
call fcn.0042d8d0
add eax, 0x10
mov dword [ebp - 0x38], eax
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 0x16
call fcn.0042d8d0
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.0042d170
mov edi, dword [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.00454800
add esp, 4
test al, al
je 0x43383e
mov ebx, 1
lea eax, [esi - 0x10]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
jmp 0x433623
mov ebx, dword [ebp - 0x54]
push 0x2e
push esi
call fcn.00460f87
mov edi, eax
add esp, 8
test edi, edi
je 0x43363d
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
jne 0x433640
mov edi, dword [esi - 0xc]
lea ecx, [esi - 0x10]
call fcn.0042d8d0
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x18
call fcn.0040f7b0
test eax, eax
je 0x432eaf
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.0042e840
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
add esp, 0xc
push ebx
push edi
call fcn.00441f90
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x14]
call fcn.0042bcd0
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.0042d240
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 0x4336cd
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.00454800
lea edx, [ebx - 0x10]
add esp, 4
or ebx, 0xffffffff
test al, al
mov eax, ebx
je 0x43372d
inc dword [ebp - 0x54]
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433700
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 0x43371e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x433620
jmp 0x43376e
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433743
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 0x433761
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x433827
push str.downloadFile_findfile_1000
lea ecx, [ebp - 0x34]
call fcn.0042c260
push str.CDispatcherHandler::DownloadFile
push str._s_ERROR_could_not_find_valid_file_name_to_use
push 3
push 5
call fcn.004569b0
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 0x4337ac
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 0x4337c7
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 0x4337e5
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 0x433800
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 0x433ec4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x433ec4
push edi
push str.CDispatcherHandler::DownloadFile
push str._s_strOutputPath___s_
push 0
push 5
call fcn.004569b0
add esp, 0x14
push 0x10
call fcn.0045d295
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 [0x4b68b4]
mov dword [ebp - 0x28], ecx
cmp eax, dword [ecx + 4]
jle 0x4338c9
push 0x4b68b4
call fcn.0045d431
add esp, 4
cmp dword [0x4b68b4], 0xffffffff
jne 0x4338c9
push 0x489a00
mov dword [0x4b6828], 0x49dab0
call fcn.0045d788
push 0x4b68b4
call fcn.0045d3f2
add esp, 8
mov ecx, dword [0x4b0e10]
push 0xffffffffffffffff
push 0x49a3a4
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.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x17
call fcn.0044d350
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.00459ca0
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x43392e
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042d050
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 [0x4b68b4]
cmp eax, dword [ecx + 4]
jle 0x433991
push 0x4b68b4
call fcn.0045d431
add esp, 4
cmp dword [0x4b68b4], 0xffffffff
jne 0x433991
push 0x489a00
mov dword [0x4b6828], 0x49dab0
call fcn.0045d788
push 0x4b68b4
call fcn.0045d3f2
add esp, 8
mov ecx, dword [0x4b0e10]
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 0x4993c4
call fcn.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x64]
call fcn.0044d350
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 0x4339e7
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 [0x4b68b4]
cmp eax, dword [ecx + 4]
jle 0x433a45
push 0x4b68b4
call fcn.0045d431
add esp, 4
cmp dword [0x4b68b4], 0xffffffff
jne 0x433a45
push 0x489a00
mov dword [0x4b6828], 0x49dab0
call fcn.0045d788
push 0x4b68b4
call fcn.0045d3f2
add esp, 8
mov ecx, dword [0x4b0e10]
push 0xffffffffffffffff
push 0x49a3b4
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.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x17
call fcn.0044d350
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x433a98
push 0x80004005
call fcn.0041ffd0
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.00459bc0
mov ebx, dword [ebp - 0x24]
cmp dword [ebx - 4], 1
jle 0x433ac9
push dword [ebx - 0xc]
lea ecx, [ebp - 0x24]
call fcn.0042d050
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 [0x4b68b4]
cmp eax, dword [ecx + 4]
jle 0x433b27
push 0x4b68b4
call fcn.0045d431
add esp, 4
cmp dword [0x4b68b4], 0xffffffff
jne 0x433b27
push 0x489a00
mov dword [0x4b6828], 0x49dab0
call fcn.0045d788
push 0x4b68b4
call fcn.0045d3f2
add esp, 8
mov ecx, dword [0x4b0e10]
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.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044d350
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
call fcn.00459ca0
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x433b88
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042d050
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 [0x4b68b4]
cmp eax, dword [ecx + 4]
jle 0x433beb
push 0x4b68b4
call fcn.0045d431
add esp, 4
cmp dword [0x4b68b4], 0xffffffff
jne 0x433beb
push 0x489a00
mov dword [0x4b6828], 0x49dab0
call fcn.0045d788
push 0x4b68b4
call fcn.0045d3f2
add esp, 8
mov ecx, dword [0x4b0e10]
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.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x64]
call fcn.0044d350
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 0x433c42
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.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x64]
call fcn.0044d350
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.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044d350
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x433d0e
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.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044d350
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.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044d350
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x54]
push 0x4329f0
push 0
push 0
call fcn.004646d2
add esp, 0x18
mov ecx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push ecx
test ecx, ecx
jne 0x433e4f
mov ecx, dword [ebp - 0x54]
call fcn.00433fd0
push 0x49a3b8
lea ecx, [ebp - 0x34]
call fcn.0042c260
push str.CDispatcherHandler::DownloadFile
push str._s__beginthreadex_error
push 3
push 5
call fcn.004569b0
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 0x433ddc
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 0x433df7
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 0x433e12
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 0x433e30
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 0x433800
mov ecx, dword [esi]
push esi
jmp 0x4337fb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x433dbe
push 0x1d
push str.downloadFile_fileName_missing
lea ecx, [ebp - 0x34]
call fcn.0042da10
push str.CDispatcherHandler::DownloadFile
push str._s_fileName_error
push 3
push 5
call fcn.004569b0
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 0x433ec4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x433ec4
push 0x18
push str.downloadFile_url_missing
lea ecx, [ebp - 0x34]
call fcn.0042da10
push str.CDispatcherHandler::DownloadFile
push str._s_url_error
push 3
push 5
call fcn.004569b0
add esp, 0x10
mov edi, dword [ebp - 0x74]
mov eax, 8
mov word [edi], ax
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x433ee4
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x29
mov edx, 0x499260
mov eax, dword [ebp - 0x4c]
mov ecx, 0x49926c
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.0042e840
add esp, 0x14
lea ecx, [ebp - 0x2c]
push 0x499504
push 0x49835c
call fcn.0042bf70
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
call fcn.00467b9c
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_OUT_time___d_
push 0
push 5
call fcn.004569b0
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 0x433f71
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 0x433f8f
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 0x433fae
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.0045d27f
mov esp, ebp
pop ebp
ret 8