Function at 0x432c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bf69
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x47800c]
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.0040f730
mov ecx, eax
test ecx, ecx
jne 0x432c59
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_IN_time___d_
push 0
push 5
call fcn.004506f0
add esp, 0x14
mov dword [ebp - 0x4c], 0
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x432ca4
push 0x80004005
call fcn.0041ffc0
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 0x433d14
push 0x461d6c
mov ecx, esi
call fcn.004497b0
cmp eax, 0x47ae10
je 0x433c41
cmp byte [esi + 8], 0
jne 0x432ce2
mov edi, 0x47ae10
jmp 0x432d5a
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], 0x461d6c
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x432d34
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x432d2d
cmp dword [ebp - 0x14], 1
jne 0x432d2d
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x47ae10
jmp 0x432d56
lea edi, [eax + 0x18]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0
je 0x432d56
cmp dword [ebp - 0x14], 1
jne 0x432d56
call fcn.004489d0
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 0x433c41
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x432d79
push 0x80004005
call fcn.0041ffc0
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 0x432d95
mov edi, 0x47ae10
jmp 0x432e0d
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], 0x461d6c
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x432de7
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x432de0
cmp dword [ebp - 0x14], 1
jne 0x432de0
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x47ae10
jmp 0x432e09
lea edi, [eax + 0x18]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x432e09
cmp dword [ebp - 0x14], 1
jne 0x432e09
call fcn.004489d0
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 0x432e17
xor ecx, ecx
jmp 0x432e29
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x432e20
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004410c0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x40]
call fcn.00453880
push str.fileName
mov ecx, esi
call fcn.004497b0
cmp eax, 0x47ae10
je 0x433bfc
cmp byte [esi + 8], 0
jne 0x432e62
mov edi, 0x47ae10
jmp 0x432eda
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.00449b10
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x432eb4
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x432ead
cmp dword [ebp - 0x14], 1
jne 0x432ead
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x47ae10
jmp 0x432ed6
lea edi, [eax + 0x18]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x432ed6
cmp dword [ebp - 0x14], 1
jne 0x432ed6
call fcn.004489d0
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 0x433bfc
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x432ef9
push 0x80004005
call fcn.0041ffc0
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 0x432f15
mov edi, 0x47ae10
jmp 0x432f8d
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.00449b10
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x432f67
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x432f60
cmp dword [ebp - 0x14], 1
jne 0x432f60
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x47ae10
jmp 0x432f89
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x432f89
cmp dword [ebp - 0x14], 1
jne 0x432f89
call fcn.004489d0
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 0x432f97
xor ecx, ecx
jmp 0x432fa9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x432fa0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004410c0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.00453880
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x432fd3
push 0x80004005
call fcn.0041ffc0
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.004497b0
cmp eax, 0x47ae10
je 0x43309a
cmp byte [esi + 8], 0
jne 0x433006
mov edi, 0x47ae10
jmp 0x43307e
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.00449b10
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x433058
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x433051
cmp dword [ebp - 0x14], 1
jne 0x433051
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x47ae10
jmp 0x43307a
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x18], 0
je 0x43307a
cmp dword [ebp - 0x14], 1
jne 0x43307a
call fcn.004489d0
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 0x43309a
push str.responseType
mov ecx, esi
call fcn.004497b0
lea ecx, [ebp - 0x3c]
push dword [eax]
call fcn.0042c350
push str.onFinishId
mov ecx, esi
mov dword [ebp - 0x70], 0xffffffff
call fcn.004497b0
cmp eax, 0x47ae10
je 0x43315b
cmp byte [esi + 8], 0
jne 0x4330c5
mov edi, 0x47ae10
jmp 0x43313d
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.00449b10
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x433117
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x433110
cmp dword [ebp - 0x14], 1
jne 0x433110
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x47ae10
jmp 0x433139
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], 0
je 0x433139
cmp dword [ebp - 0x14], 1
jne 0x433139
call fcn.004489d0
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 0x43315b
push str.onFinishId
mov ecx, esi
call fcn.004497b0
mov ecx, eax
call fcn.00448fa0
mov dword [ebp - 0x70], eax
jmp 0x433171
push str.CDispatcherHandler::DownloadFile
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.004506f0
add esp, 0x10
push str.onProgressId
mov ecx, esi
mov dword [ebp - 0x6c], 0xffffffff
call fcn.004497b0
cmp eax, 0x47ae10
je 0x433232
cmp byte [esi + 8], 0
jne 0x43319c
mov edi, 0x47ae10
jmp 0x433214
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.00449b10
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4331ee
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4331e7
cmp dword [ebp - 0x14], 1
jne 0x4331e7
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x47ae10
jmp 0x433210
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0
je 0x433210
cmp dword [ebp - 0x14], 1
jne 0x433210
call fcn.004489d0
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 0x433232
push str.onProgressId
mov ecx, esi
call fcn.004497b0
mov ecx, eax
call fcn.00448fa0
mov dword [ebp - 0x6c], eax
jmp 0x433248
push str.CDispatcherHandler::DownloadFile
push str._s_onProgressId_not_exist
push 2
push 5
call fcn.004506f0
add esp, 0x10
push str.progressPercent
mov ecx, esi
mov dword [ebp - 0x68], 0
call fcn.004497b0
cmp eax, 0x47ae10
je 0x433322
cmp byte [esi + 8], 0
jne 0x433273
mov edi, 0x47ae10
jmp 0x4332eb
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.00449b10
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4332c5
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4332be
cmp dword [ebp - 0x14], 1
jne 0x4332be
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x47ae10
jmp 0x4332e7
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18], 0
je 0x4332e7
cmp dword [ebp - 0x14], 1
jne 0x4332e7
call fcn.004489d0
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 0x4332fa
cmp al, 2
je 0x4332fa
cmp al, 5
jne 0x433322
push str.progressPercent
mov ecx, esi
call fcn.004497b0
mov ecx, eax
call fcn.00448fa0
mov edi, eax
mov dword [ebp - 0x68], edi
test edi, edi
js 0x43331b
cmp edi, 0x64
jle 0x433322
mov dword [ebp - 0x68], 0
mov eax, dword [0x47accc]
test eax, eax
jne 0x43335e
push 0x204
call fcn.0045690d
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x204
push 0
push esi
mov byte [ebp - 4], 0x15
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
call fcn.00428840
mov byte [ebp - 4], 0xc
mov dword [0x47accc], eax
mov ecx, dword [eax + 0x170]
sub ecx, 0x10
call fcn.0042d8f0
add eax, 0x10
mov dword [ebp - 0x38], eax
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 0x16
call fcn.0042d8f0
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.0042d230
mov edi, dword [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.0044e0a0
add esp, 4
test al, al
je 0x4335df
mov ebx, 1
lea eax, [esi - 0x10]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
jmp 0x4333c3
mov ebx, dword [ebp - 0x54]
push 0x2e
push esi
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x4333de
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
jne 0x4333e1
mov edi, dword [esi - 0xc]
lea ecx, [esi - 0x10]
call fcn.0042d8f0
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x18
call fcn.0040f730
test eax, eax
je 0x432c4f
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.0042e6b0
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
add esp, 0xc
push ebx
push edi
call fcn.00440c60
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x14]
call fcn.0042be50
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.0042d300
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 0x43346e
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.0044e0a0
lea edx, [ebx - 0x10]
add esp, 4
or ebx, 0xffffffff
test al, al
mov eax, ebx
je 0x4334ce
inc dword [ebp - 0x54]
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4334a1
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 0x4334bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x4333c0
jmp 0x43350f
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4334e4
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 0x433502
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x4335c8
push str.downloadFile_findfile_1000
lea ecx, [ebp - 0x34]
call fcn.0042c3e0
push str.CDispatcherHandler::DownloadFile
push str._s_ERROR_could_not_find_valid_file_name_to_use
push 3
push 5
call fcn.004506f0
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 0x43354d
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 0x433568
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 0x433586
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 0x4335a1
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 0x433c66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x433c66
push edi
push str.CDispatcherHandler::DownloadFile
push str._s_strOutputPath___s_
push 0
push 5
call fcn.004506f0
add esp, 0x14
push 0x10
call fcn.0045690d
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 [0x47d0e4]
mov dword [ebp - 0x28], ecx
cmp eax, dword [ecx + 4]
jle 0x43366a
push 0x47d0e4
call fcn.00456ab7
add esp, 4
cmp dword [0x47d0e4], 0xffffffff
jne 0x43366a
push 0x45edd0
mov dword [0x47d060], 0x4660f0
call fcn.00456e0e
push 0x47d0e4
call fcn.00456a78
add esp, 8
mov ecx, dword [0x4784c4]
push 0xffffffffffffffff
push 0x462de4
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.004495f0
mov ecx, eax
call fcn.00448ef0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x17
call fcn.00448e30
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.00453a60
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x4336cf
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042d110
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 [0x47d0e4]
cmp eax, dword [ecx + 4]
jle 0x433732
push 0x47d0e4
call fcn.00456ab7
add esp, 4
cmp dword [0x47d0e4], 0xffffffff
jne 0x433732
push 0x45edd0
mov dword [0x47d060], 0x4660f0
call fcn.00456e0e
push 0x47d0e4
call fcn.00456a78
add esp, 8
mov ecx, dword [0x4784c4]
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 0x461d6c
call fcn.004495f0
mov ecx, eax
call fcn.00448ef0
lea ecx, [ebp - 0x64]
call fcn.00448e30
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 0x433788
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 [0x47d0e4]
cmp eax, dword [ecx + 4]
jle 0x4337e6
push 0x47d0e4
call fcn.00456ab7
add esp, 4
cmp dword [0x47d0e4], 0xffffffff
jne 0x4337e6
push 0x45edd0
mov dword [0x47d060], 0x4660f0
call fcn.00456e0e
push 0x47d0e4
call fcn.00456a78
add esp, 8
mov ecx, dword [0x4784c4]
push 0xffffffffffffffff
push 0x462df4
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.004495f0
mov ecx, eax
call fcn.00448ef0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x17
call fcn.00448e30
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x433839
push 0x80004005
call fcn.0041ffc0
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.00453980
mov ebx, dword [ebp - 0x24]
cmp dword [ebx - 4], 1
jle 0x43386a
push dword [ebx - 0xc]
lea ecx, [ebp - 0x24]
call fcn.0042d110
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 [0x47d0e4]
cmp eax, dword [ecx + 4]
jle 0x4338c8
push 0x47d0e4
call fcn.00456ab7
add esp, 4
cmp dword [0x47d0e4], 0xffffffff
jne 0x4338c8
push 0x45edd0
mov dword [0x47d060], 0x4660f0
call fcn.00456e0e
push 0x47d0e4
call fcn.00456a78
add esp, 8
mov ecx, dword [0x4784c4]
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.004495f0
mov ecx, eax
call fcn.00448ef0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.00448e30
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
call fcn.00453a60
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x433929
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042d110
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 [0x47d0e4]
cmp eax, dword [ecx + 4]
jle 0x43398c
push 0x47d0e4
call fcn.00456ab7
add esp, 4
cmp dword [0x47d0e4], 0xffffffff
jne 0x43398c
push 0x45edd0
mov dword [0x47d060], 0x4660f0
call fcn.00456e0e
push 0x47d0e4
call fcn.00456a78
add esp, 8
mov ecx, dword [0x4784c4]
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.004495f0
mov ecx, eax
call fcn.00448ef0
lea ecx, [ebp - 0x64]
call fcn.00448e30
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 0x4339e3
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.004495f0
mov ecx, eax
call fcn.00448ef0
lea ecx, [ebp - 0x64]
call fcn.00448e30
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.004495f0
mov ecx, eax
call fcn.00448ef0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.00448e30
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x433aaf
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.004495f0
mov ecx, eax
call fcn.00448ef0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.00448e30
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.004495f0
mov ecx, eax
call fcn.00448ef0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.00448e30
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x54]
push 0x432790
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push ecx
test ecx, ecx
jne 0x433bf1
mov ecx, dword [ebp - 0x54]
call fcn.00433d70
push 0x462df8
lea ecx, [ebp - 0x34]
call fcn.0042c3e0
push str.CDispatcherHandler::DownloadFile
push str._s__beginthreadex_error
push 3
push 5
call fcn.004506f0
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 0x433b7e
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 0x433b99
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 0x433bb4
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 0x433bd2
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 0x4335a1
mov ecx, dword [esi]
push esi
jmp 0x43359c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x433b60
push 0x1d
push str.downloadFile_fileName_missing
lea ecx, [ebp - 0x34]
call fcn.0042d9b0
push str.CDispatcherHandler::DownloadFile
push str._s_fileName_error
push 3
push 5
call fcn.004506f0
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 0x433c66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x433c66
push 0x18
push str.downloadFile_url_missing
lea ecx, [ebp - 0x34]
call fcn.0042d9b0
push str.CDispatcherHandler::DownloadFile
push str._s_url_error
push 3
push 5
call fcn.004506f0
add esp, 0x10
mov edi, dword [ebp - 0x74]
mov eax, 8
mov word [edi], ax
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x433c86
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x29
mov edx, 0x461c88
mov eax, dword [ebp - 0x4c]
mov ecx, 0x461c94
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.0042e6b0
add esp, 0x14
lea ecx, [ebp - 0x2c]
push 0x461f50
push 0x461168
call fcn.0042c0f0
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_OUT_time___d_
push 0
push 5
call fcn.004506f0
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 0x433d14
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 0x433d32
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 0x433d51
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.004568f7
mov esp, ebp
pop ebp
ret 8