Function at 0x4342c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488319
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.0040f790
mov ecx, eax
test ecx, ecx
jne 0x434309
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 fcn.00469dac
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_IN_time___d_
push 0
push 5
call fcn.00458400
add esp, 0x14
mov dword [ebp - 0x4c], 0
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x434353
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 0x4353c1
push 0x49b2bc
mov ecx, esi
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x4352ef
cmp byte [esi + 8], 0
jne 0x434391
mov edi, 0x4b75d0
jmp 0x434409
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], 0x49b2bc
mov dword [ebp - 0x14], 0
call fcn.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4343e3
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4343dc
cmp dword [ebp - 0x14], 1
jne 0x4343dc
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434405
lea edi, [eax + 0x18]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0
je 0x434405
cmp dword [ebp - 0x14], 1
jne 0x434405
call fcn.0044e550
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 0x4352ef
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x434428
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 0x434444
mov edi, 0x4b75d0
jmp 0x4344bc
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], 0x49b2bc
mov dword [ebp - 0x14], 0
call fcn.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434496
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43448f
cmp dword [ebp - 0x14], 1
jne 0x43448f
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4344b8
lea edi, [eax + 0x18]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x4344b8
cmp dword [ebp - 0x14], 1
jne 0x4344b8
call fcn.0044e550
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 0x4344c6
xor ecx, ecx
jmp 0x4344d9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4344d0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042fb30
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x40]
call fcn.0045bba0
push str.fileName
mov ecx, esi
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x4352aa
cmp byte [esi + 8], 0
jne 0x434512
mov edi, 0x4b75d0
jmp 0x43458a
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434564
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43455d
cmp dword [ebp - 0x14], 1
jne 0x43455d
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434586
lea edi, [eax + 0x18]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x434586
cmp dword [ebp - 0x14], 1
jne 0x434586
call fcn.0044e550
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 0x4352aa
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x4345a9
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 0x4345c5
mov edi, 0x4b75d0
jmp 0x43463d
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434617
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434610
cmp dword [ebp - 0x14], 1
jne 0x434610
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434639
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x434639
cmp dword [ebp - 0x14], 1
jne 0x434639
call fcn.0044e550
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 0x434647
xor ecx, ecx
jmp 0x434659
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434650
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042fb30
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.0045bba0
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x434683
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.0044f380
cmp eax, 0x4b75d0
je 0x43474a
cmp byte [esi + 8], 0
jne 0x4346b6
mov edi, 0x4b75d0
jmp 0x43472e
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434708
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434701
cmp dword [ebp - 0x14], 1
jne 0x434701
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x43472a
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x18], 0
je 0x43472a
cmp dword [ebp - 0x14], 1
jne 0x43472a
call fcn.0044e550
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 0x43474a
push str.responseType
mov ecx, esi
call fcn.0044f380
lea ecx, [ebp - 0x3c]
push dword [eax]
call fcn.0042d470
push str.onFinishId
mov ecx, esi
mov dword [ebp - 0x70], 0xffffffff
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x43480b
cmp byte [esi + 8], 0
jne 0x434775
mov edi, 0x4b75d0
jmp 0x4347ed
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4347c7
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4347c0
cmp dword [ebp - 0x14], 1
jne 0x4347c0
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4347e9
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], 0
je 0x4347e9
cmp dword [ebp - 0x14], 1
jne 0x4347e9
call fcn.0044e550
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 0x43480b
push str.onFinishId
mov ecx, esi
call fcn.0044f380
mov ecx, eax
call fcn.0044eb20
mov dword [ebp - 0x70], eax
jmp 0x434821
push str.CDispatcherHandler::DownloadFile
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.00458400
add esp, 0x10
push str.onProgressId
mov ecx, esi
mov dword [ebp - 0x6c], 0xffffffff
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x4348e2
cmp byte [esi + 8], 0
jne 0x43484c
mov edi, 0x4b75d0
jmp 0x4348c4
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43489e
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434897
cmp dword [ebp - 0x14], 1
jne 0x434897
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4348c0
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0
je 0x4348c0
cmp dword [ebp - 0x14], 1
jne 0x4348c0
call fcn.0044e550
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 0x4348e2
push str.onProgressId
mov ecx, esi
call fcn.0044f380
mov ecx, eax
call fcn.0044eb20
mov dword [ebp - 0x6c], eax
jmp 0x4348f8
push str.CDispatcherHandler::DownloadFile
push str._s_onProgressId_not_exist
push 2
push 5
call fcn.00458400
add esp, 0x10
push str.progressPercent
mov ecx, esi
mov dword [ebp - 0x68], 0
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x4349d2
cmp byte [esi + 8], 0
jne 0x434923
mov edi, 0x4b75d0
jmp 0x43499b
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434975
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43496e
cmp dword [ebp - 0x14], 1
jne 0x43496e
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434997
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18], 0
je 0x434997
cmp dword [ebp - 0x14], 1
jne 0x434997
call fcn.0044e550
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 0x4349aa
cmp al, 2
je 0x4349aa
cmp al, 5
jne 0x4349d2
push str.progressPercent
mov ecx, esi
call fcn.0044f380
mov ecx, eax
call fcn.0044eb20
mov edi, eax
mov dword [ebp - 0x68], edi
test edi, edi
js 0x4349cb
cmp edi, 0x64
jle 0x4349d2
mov dword [ebp - 0x68], 0
mov eax, dword [0x4b745c]
test eax, eax
jne 0x434a0e
push 0x230
call fcn.0045f4a5
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0x15
call fcn.00463d60
add esp, 0x10
mov ecx, esi
call fcn.004288b0
mov byte [ebp - 4], 0xc
mov dword [0x4b745c], eax
mov ecx, dword [eax + 0x174]
sub ecx, 0x10
call fcn.0042ed40
add eax, 0x10
mov dword [ebp - 0x38], eax
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 0x16
call fcn.0042ed40
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.0042e5e0
mov edi, dword [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.00455e60
add esp, 4
test al, al
je 0x434c8e
mov ebx, 1
lea eax, [esi - 0x10]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
jmp 0x434a73
mov ebx, dword [ebp - 0x54]
push 0x2e
push esi
call fcn.00463177
mov edi, eax
add esp, 8
test edi, edi
je 0x434a8d
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
jne 0x434a90
mov edi, dword [esi - 0xc]
lea ecx, [esi - 0x10]
call fcn.0042ed40
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x18
call fcn.0040f790
test eax, eax
je 0x4342ff
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.0042fc90
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
add esp, 0xc
push ebx
push edi
call fcn.00443440
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x14]
call fcn.0042cf70
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.0042e6b0
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 0x434b1d
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.00455e60
lea edx, [ebx - 0x10]
add esp, 4
or ebx, 0xffffffff
test al, al
mov eax, ebx
je 0x434b7d
inc dword [ebp - 0x54]
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434b50
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 0x434b6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x434a70
jmp 0x434bbe
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434b93
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 0x434bb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x434c77
push str.downloadFile_findfile_1000
lea ecx, [ebp - 0x34]
call fcn.0042d500
push str.CDispatcherHandler::DownloadFile
push str._s_ERROR_could_not_find_valid_file_name_to_use
push 3
push 5
call fcn.00458400
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 0x434bfc
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 0x434c17
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 0x434c35
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 0x434c50
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 0x435314
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x435314
push edi
push str.CDispatcherHandler::DownloadFile
push str._s_strOutputPath___s_
push 0
push 5
call fcn.00458400
add esp, 0x14
push 0x10
call fcn.0045f4a5
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 0x434d19
push 0x4b98b4
call fcn.0045f632
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434d19
push 0x48bf10
mov dword [0x4b9828], 0x49ffa0
call fcn.0045f989
push 0x4b98b4
call fcn.0045f5f3
add esp, 8
mov ecx, dword [0x4b3e10]
push 0xffffffffffffffff
push 0x49c7e4
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.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x17
call fcn.0044e9b0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.0045bd80
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x434d7e
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042e4c0
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 0x434de1
push 0x4b98b4
call fcn.0045f632
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434de1
push 0x48bf10
mov dword [0x4b9828], 0x49ffa0
call fcn.0045f989
push 0x4b98b4
call fcn.0045f5f3
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 0x49b2bc
call fcn.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x64]
call fcn.0044e9b0
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 0x434e37
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 0x434e95
push 0x4b98b4
call fcn.0045f632
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434e95
push 0x48bf10
mov dword [0x4b9828], 0x49ffa0
call fcn.0045f989
push 0x4b98b4
call fcn.0045f5f3
add esp, 8
mov ecx, dword [0x4b3e10]
push 0xffffffffffffffff
push 0x49c7f4
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.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x17
call fcn.0044e9b0
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x434ee8
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.0045bca0
mov ebx, dword [ebp - 0x24]
cmp dword [ebx - 4], 1
jle 0x434f19
push dword [ebx - 0xc]
lea ecx, [ebp - 0x24]
call fcn.0042e4c0
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 0x434f77
push 0x4b98b4
call fcn.0045f632
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434f77
push 0x48bf10
mov dword [0x4b9828], 0x49ffa0
call fcn.0045f989
push 0x4b98b4
call fcn.0045f5f3
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.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044e9b0
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
call fcn.0045bd80
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x434fd8
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042e4c0
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 0x43503b
push 0x4b98b4
call fcn.0045f632
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x43503b
push 0x48bf10
mov dword [0x4b9828], 0x49ffa0
call fcn.0045f989
push 0x4b98b4
call fcn.0045f5f3
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.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x64]
call fcn.0044e9b0
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 0x435092
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.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x64]
call fcn.0044e9b0
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.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044e9b0
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x43515e
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.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044e9b0
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.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044e9b0
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x54]
push 0x433e40
push 0
push 0
call fcn.004668e2
add esp, 0x18
mov ecx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push ecx
test ecx, ecx
jne 0x43529f
mov ecx, dword [ebp - 0x54]
call fcn.00435420
push 0x49c7f8
lea ecx, [ebp - 0x34]
call fcn.0042d500
push str.CDispatcherHandler::DownloadFile
push str._s__beginthreadex_error
push 3
push 5
call fcn.00458400
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 0x43522c
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 0x435247
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 0x435262
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 0x435280
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 0x434c50
mov ecx, dword [esi]
push esi
jmp 0x434c4b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43520e
push 0x1d
push str.downloadFile_fileName_missing
lea ecx, [ebp - 0x34]
call fcn.0042ee80
push str.CDispatcherHandler::DownloadFile
push str._s_fileName_error
push 3
push 5
call fcn.00458400
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 0x435314
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x435314
push 0x18
push str.downloadFile_url_missing
lea ecx, [ebp - 0x34]
call fcn.0042ee80
push str.CDispatcherHandler::DownloadFile
push str._s_url_error
push 3
push 5
call fcn.00458400
add esp, 0x10
mov edi, dword [ebp - 0x74]
mov eax, 8
mov word [edi], ax
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x435334
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, 0x49b158
mov eax, dword [ebp - 0x4c]
mov ecx, 0x49b164
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.0042fc90
add esp, 0x14
lea ecx, [ebp - 0x2c]
push 0x49b4a4
push 0x49a374
call fcn.0042d210
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
call fcn.00469dac
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_OUT_time___d_
push 0
push 5
call fcn.00458400
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 0x4353c1
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 0x4353df
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 0x4353fe
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.0045f48f
mov esp, ebp
pop ebp
ret 8