Function at 0x434300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488049
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4b3014]
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 0x434349
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.00469a8c
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_IN_time___d_
push 0
push 5
call fcn.00458450
add esp, 0x14
mov dword [ebp - 0x4c], 0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x434393
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 0x435401
push 0x49b3ec
mov ecx, esi
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x43532f
cmp byte [esi + 8], 0
jne 0x4343d1
mov edi, 0x4b75d0
jmp 0x434449
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], 0x49b3ec
mov dword [ebp - 0x14], 0
call fcn.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434423
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43441c
cmp dword [ebp - 0x14], 1
jne 0x43441c
call fcn.0044e5b0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434445
lea edi, [eax + 0x18]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0
je 0x434445
cmp dword [ebp - 0x14], 1
jne 0x434445
call fcn.0044e5b0
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 0x43532f
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x434468
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 0x434484
mov edi, 0x4b75d0
jmp 0x4344fc
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], 0x49b3ec
mov dword [ebp - 0x14], 0
call fcn.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4344d6
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4344cf
cmp dword [ebp - 0x14], 1
jne 0x4344cf
call fcn.0044e5b0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4344f8
lea edi, [eax + 0x18]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x4344f8
cmp dword [ebp - 0x14], 1
jne 0x4344f8
call fcn.0044e5b0
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 0x434506
xor ecx, ecx
jmp 0x434519
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434510
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042fb50
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x40]
call fcn.0045b7a0
push str.fileName
mov ecx, esi
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x4352ea
cmp byte [esi + 8], 0
jne 0x434552
mov edi, 0x4b75d0
jmp 0x4345ca
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.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4345a4
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43459d
cmp dword [ebp - 0x14], 1
jne 0x43459d
call fcn.0044e5b0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4345c6
lea edi, [eax + 0x18]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x4345c6
cmp dword [ebp - 0x14], 1
jne 0x4345c6
call fcn.0044e5b0
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 0x4352ea
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4345e9
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 0x434605
mov edi, 0x4b75d0
jmp 0x43467d
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.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434657
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434650
cmp dword [ebp - 0x14], 1
jne 0x434650
call fcn.0044e5b0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434679
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x434679
cmp dword [ebp - 0x14], 1
jne 0x434679
call fcn.0044e5b0
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 0x434687
xor ecx, ecx
jmp 0x434699
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434690
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042fb50
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.0045b7a0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4346c3
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.0044f3e0
cmp eax, 0x4b75d0
je 0x43478a
cmp byte [esi + 8], 0
jne 0x4346f6
mov edi, 0x4b75d0
jmp 0x43476e
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.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434748
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434741
cmp dword [ebp - 0x14], 1
jne 0x434741
call fcn.0044e5b0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x43476a
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x18], 0
je 0x43476a
cmp dword [ebp - 0x14], 1
jne 0x43476a
call fcn.0044e5b0
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 0x43478a
push str.responseType
mov ecx, esi
call fcn.0044f3e0
lea ecx, [ebp - 0x3c]
push dword [eax]
call fcn.0042d490
push str.onFinishId
mov ecx, esi
mov dword [ebp - 0x70], 0xffffffff
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x43484b
cmp byte [esi + 8], 0
jne 0x4347b5
mov edi, 0x4b75d0
jmp 0x43482d
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.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434807
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434800
cmp dword [ebp - 0x14], 1
jne 0x434800
call fcn.0044e5b0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434829
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], 0
je 0x434829
cmp dword [ebp - 0x14], 1
jne 0x434829
call fcn.0044e5b0
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 0x43484b
push str.onFinishId
mov ecx, esi
call fcn.0044f3e0
mov ecx, eax
call fcn.0044eb80
mov dword [ebp - 0x70], eax
jmp 0x434861
push str.CDispatcherHandler::DownloadFile
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.00458450
add esp, 0x10
push str.onProgressId
mov ecx, esi
mov dword [ebp - 0x6c], 0xffffffff
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x434922
cmp byte [esi + 8], 0
jne 0x43488c
mov edi, 0x4b75d0
jmp 0x434904
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.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4348de
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4348d7
cmp dword [ebp - 0x14], 1
jne 0x4348d7
call fcn.0044e5b0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434900
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0
je 0x434900
cmp dword [ebp - 0x14], 1
jne 0x434900
call fcn.0044e5b0
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 0x434922
push str.onProgressId
mov ecx, esi
call fcn.0044f3e0
mov ecx, eax
call fcn.0044eb80
mov dword [ebp - 0x6c], eax
jmp 0x434938
push str.CDispatcherHandler::DownloadFile
push str._s_onProgressId_not_exist
push 2
push 5
call fcn.00458450
add esp, 0x10
push str.progressPercent
mov ecx, esi
mov dword [ebp - 0x68], 0
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x434a12
cmp byte [esi + 8], 0
jne 0x434963
mov edi, 0x4b75d0
jmp 0x4349db
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.0044f750
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4349b5
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4349ae
cmp dword [ebp - 0x14], 1
jne 0x4349ae
call fcn.0044e5b0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4349d7
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18], 0
je 0x4349d7
cmp dword [ebp - 0x14], 1
jne 0x4349d7
call fcn.0044e5b0
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 0x4349ea
cmp al, 2
je 0x4349ea
cmp al, 5
jne 0x434a12
push str.progressPercent
mov ecx, esi
call fcn.0044f3e0
mov ecx, eax
call fcn.0044eb80
mov edi, eax
mov dword [ebp - 0x68], edi
test edi, edi
js 0x434a0b
cmp edi, 0x64
jle 0x434a12
mov dword [ebp - 0x68], 0
mov eax, dword [0x4b745c]
test eax, eax
jne 0x434a4e
push 0x230
call fcn.0045f195
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0x15
call fcn.00463a40
add esp, 0x10
mov ecx, esi
call fcn.004288d0
mov byte [ebp - 4], 0xc
mov dword [0x4b745c], eax
mov ecx, dword [eax + 0x174]
sub ecx, 0x10
call fcn.0042ed60
add eax, 0x10
mov dword [ebp - 0x38], eax
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 0x16
call fcn.0042ed60
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.0042e600
mov edi, dword [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.00455ec0
add esp, 4
test al, al
je 0x434cce
mov ebx, 1
lea eax, [esi - 0x10]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
jmp 0x434ab3
mov ebx, dword [ebp - 0x54]
push 0x2e
push esi
call fcn.00462e77
mov edi, eax
add esp, 8
test edi, edi
je 0x434acd
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
jne 0x434ad0
mov edi, dword [esi - 0xc]
lea ecx, [esi - 0x10]
call fcn.0042ed60
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x18
call fcn.0040f7b0
test eax, eax
je 0x43433f
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.0042fcb0
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
add esp, 0xc
push ebx
push edi
call fcn.004434a0
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x14]
call fcn.0042cf90
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.0042e6d0
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 0x434b5d
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.00455ec0
lea edx, [ebx - 0x10]
add esp, 4
or ebx, 0xffffffff
test al, al
mov eax, ebx
je 0x434bbd
inc dword [ebp - 0x54]
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434b90
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 0x434bae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x434ab0
jmp 0x434bfe
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434bd3
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 0x434bf1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x434cb7
push str.downloadFile_findfile_1000
lea ecx, [ebp - 0x34]
call fcn.0042d520
push str.CDispatcherHandler::DownloadFile
push str._s_ERROR_could_not_find_valid_file_name_to_use
push 3
push 5
call fcn.00458450
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 0x434c3c
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 0x434c57
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 0x434c75
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 0x434c90
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 0x435354
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x435354
push edi
push str.CDispatcherHandler::DownloadFile
push str._s_strOutputPath___s_
push 0
push 5
call fcn.00458450
add esp, 0x14
push 0x10
call fcn.0045f195
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 [0x4b98b4]
mov dword [ebp - 0x28], ecx
cmp eax, dword [ecx + 4]
jle 0x434d59
push 0x4b98b4
call fcn.0045f331
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434d59
push 0x48bbc0
mov dword [0x4b9828], 0x4a00c0
call fcn.0045f688
push 0x4b98b4
call fcn.0045f2f2
add esp, 8
mov ecx, dword [0x4b3e10]
push 0xffffffffffffffff
push 0x49c914
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.0044f220
mov ecx, eax
call fcn.0044ead0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x17
call fcn.0044ea10
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.0045b980
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x434dbe
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042e4e0
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 [0x4b98b4]
cmp eax, dword [ecx + 4]
jle 0x434e21
push 0x4b98b4
call fcn.0045f331
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434e21
push 0x48bbc0
mov dword [0x4b9828], 0x4a00c0
call fcn.0045f688
push 0x4b98b4
call fcn.0045f2f2
add esp, 8
mov ecx, dword [0x4b3e10]
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 0x49b3ec
call fcn.0044f220
mov ecx, eax
call fcn.0044ead0
lea ecx, [ebp - 0x64]
call fcn.0044ea10
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 0x434e77
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 [0x4b98b4]
cmp eax, dword [ecx + 4]
jle 0x434ed5
push 0x4b98b4
call fcn.0045f331
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434ed5
push 0x48bbc0
mov dword [0x4b9828], 0x4a00c0
call fcn.0045f688
push 0x4b98b4
call fcn.0045f2f2
add esp, 8
mov ecx, dword [0x4b3e10]
push 0xffffffffffffffff
push 0x49c924
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.0044f220
mov ecx, eax
call fcn.0044ead0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x17
call fcn.0044ea10
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x434f28
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.0045b8a0
mov ebx, dword [ebp - 0x24]
cmp dword [ebx - 4], 1
jle 0x434f59
push dword [ebx - 0xc]
lea ecx, [ebp - 0x24]
call fcn.0042e4e0
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 [0x4b98b4]
cmp eax, dword [ecx + 4]
jle 0x434fb7
push 0x4b98b4
call fcn.0045f331
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434fb7
push 0x48bbc0
mov dword [0x4b9828], 0x4a00c0
call fcn.0045f688
push 0x4b98b4
call fcn.0045f2f2
add esp, 8
mov ecx, dword [0x4b3e10]
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.0044f220
mov ecx, eax
call fcn.0044ead0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044ea10
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
call fcn.0045b980
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x435018
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042e4e0
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 [0x4b98b4]
cmp eax, dword [ecx + 4]
jle 0x43507b
push 0x4b98b4
call fcn.0045f331
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x43507b
push 0x48bbc0
mov dword [0x4b9828], 0x4a00c0
call fcn.0045f688
push 0x4b98b4
call fcn.0045f2f2
add esp, 8
mov ecx, dword [0x4b3e10]
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.0044f220
mov ecx, eax
call fcn.0044ead0
lea ecx, [ebp - 0x64]
call fcn.0044ea10
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 0x4350d2
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.0044f220
mov ecx, eax
call fcn.0044ead0
lea ecx, [ebp - 0x64]
call fcn.0044ea10
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.0044f220
mov ecx, eax
call fcn.0044ead0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044ea10
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x43519e
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.0044f220
mov ecx, eax
call fcn.0044ead0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044ea10
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.0044f220
mov ecx, eax
call fcn.0044ead0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044ea10
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x54]
push 0x433e80
push 0
push 0
call fcn.004665c2
add esp, 0x18
mov ecx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push ecx
test ecx, ecx
jne 0x4352df
mov ecx, dword [ebp - 0x54]
call fcn.00435460
push 0x49c928
lea ecx, [ebp - 0x34]
call fcn.0042d520
push str.CDispatcherHandler::DownloadFile
push str._s__beginthreadex_error
push 3
push 5
call fcn.00458450
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 0x43526c
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 0x435287
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 0x4352a2
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 0x4352c0
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 0x434c90
mov ecx, dword [esi]
push esi
jmp 0x434c8b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43524e
push 0x1d
push str.downloadFile_fileName_missing
lea ecx, [ebp - 0x34]
call fcn.0042eea0
push str.CDispatcherHandler::DownloadFile
push str._s_fileName_error
push 3
push 5
call fcn.00458450
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 0x435354
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x435354
push 0x18
push str.downloadFile_url_missing
lea ecx, [ebp - 0x34]
call fcn.0042eea0
push str.CDispatcherHandler::DownloadFile
push str._s_url_error
push 3
push 5
call fcn.00458450
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 0x435374
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, 0x49b288
mov eax, dword [ebp - 0x4c]
mov ecx, 0x49b294
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.0042fcb0
add esp, 0x14
lea ecx, [ebp - 0x2c]
push 0x49b5d4
push 0x49a36c
call fcn.0042d230
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
call fcn.00469a8c
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_OUT_time___d_
push 0
push 5
call fcn.00458450
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 0x435401
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 0x43541f
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 0x43543e
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.0045f17f
mov esp, ebp
pop ebp
ret 8