Function at 0x433f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4878e9
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 0x433f49
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.004693ac
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_IN_time___d_
push 0
push 5
call fcn.00457970
add esp, 0x14
mov dword [ebp - 0x4c], 0
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x433f93
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 0x435001
push 0x49b17c
mov ecx, esi
call fcn.0044e8e0
cmp eax, 0x4b75d0
je 0x434f2f
cmp byte [esi + 8], 0
jne 0x433fd1
mov edi, 0x4b75d0
jmp 0x434049
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], 0x49b17c
mov dword [ebp - 0x14], 0
call fcn.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434023
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43401c
cmp dword [ebp - 0x14], 1
jne 0x43401c
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434045
lea edi, [eax + 0x18]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0
je 0x434045
cmp dword [ebp - 0x14], 1
jne 0x434045
call fcn.0044dab0
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 0x434f2f
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x434068
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 0x434084
mov edi, 0x4b75d0
jmp 0x4340fc
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], 0x49b17c
mov dword [ebp - 0x14], 0
call fcn.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4340d6
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4340cf
cmp dword [ebp - 0x14], 1
jne 0x4340cf
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4340f8
lea edi, [eax + 0x18]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x4340f8
cmp dword [ebp - 0x14], 1
jne 0x4340f8
call fcn.0044dab0
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 0x434106
xor ecx, ecx
jmp 0x434119
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434110
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042f770
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x40]
call fcn.0045b110
push str.fileName
mov ecx, esi
call fcn.0044e8e0
cmp eax, 0x4b75d0
je 0x434eea
cmp byte [esi + 8], 0
jne 0x434152
mov edi, 0x4b75d0
jmp 0x4341ca
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.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4341a4
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43419d
cmp dword [ebp - 0x14], 1
jne 0x43419d
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4341c6
lea edi, [eax + 0x18]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x4341c6
cmp dword [ebp - 0x14], 1
jne 0x4341c6
call fcn.0044dab0
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 0x434eea
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x4341e9
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 0x434205
mov edi, 0x4b75d0
jmp 0x43427d
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.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434257
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434250
cmp dword [ebp - 0x14], 1
jne 0x434250
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434279
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x434279
cmp dword [ebp - 0x14], 1
jne 0x434279
call fcn.0044dab0
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 0x434287
xor ecx, ecx
jmp 0x434299
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434290
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0042f770
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.0045b110
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x4342c3
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.0044e8e0
cmp eax, 0x4b75d0
je 0x43438a
cmp byte [esi + 8], 0
jne 0x4342f6
mov edi, 0x4b75d0
jmp 0x43436e
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.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434348
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434341
cmp dword [ebp - 0x14], 1
jne 0x434341
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x43436a
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x18], 0
je 0x43436a
cmp dword [ebp - 0x14], 1
jne 0x43436a
call fcn.0044dab0
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 0x43438a
push str.responseType
mov ecx, esi
call fcn.0044e8e0
lea ecx, [ebp - 0x3c]
push dword [eax]
call fcn.0042d130
push str.onFinishId
mov ecx, esi
mov dword [ebp - 0x70], 0xffffffff
call fcn.0044e8e0
cmp eax, 0x4b75d0
je 0x43444b
cmp byte [esi + 8], 0
jne 0x4343b5
mov edi, 0x4b75d0
jmp 0x43442d
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.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x434407
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x434400
cmp dword [ebp - 0x14], 1
jne 0x434400
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434429
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x18], 0
je 0x434429
cmp dword [ebp - 0x14], 1
jne 0x434429
call fcn.0044dab0
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 0x43444b
push str.onFinishId
mov ecx, esi
call fcn.0044e8e0
mov ecx, eax
call fcn.0044e080
mov dword [ebp - 0x70], eax
jmp 0x434461
push str.CDispatcherHandler::DownloadFile
push str._s_onFinishId_not_exist
push 2
push 5
call fcn.00457970
add esp, 0x10
push str.onProgressId
mov ecx, esi
mov dword [ebp - 0x6c], 0xffffffff
call fcn.0044e8e0
cmp eax, 0x4b75d0
je 0x434522
cmp byte [esi + 8], 0
jne 0x43448c
mov edi, 0x4b75d0
jmp 0x434504
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.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4344de
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4344d7
cmp dword [ebp - 0x14], 1
jne 0x4344d7
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x434500
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0
je 0x434500
cmp dword [ebp - 0x14], 1
jne 0x434500
call fcn.0044dab0
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 0x434522
push str.onProgressId
mov ecx, esi
call fcn.0044e8e0
mov ecx, eax
call fcn.0044e080
mov dword [ebp - 0x6c], eax
jmp 0x434538
push str.CDispatcherHandler::DownloadFile
push str._s_onProgressId_not_exist
push 2
push 5
call fcn.00457970
add esp, 0x10
push str.progressPercent
mov ecx, esi
mov dword [ebp - 0x68], 0
call fcn.0044e8e0
cmp eax, 0x4b75d0
je 0x434612
cmp byte [esi + 8], 0
jne 0x434563
mov edi, 0x4b75d0
jmp 0x4345db
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.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4345b5
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4345ae
cmp dword [ebp - 0x14], 1
jne 0x4345ae
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x4345d7
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18], 0
je 0x4345d7
cmp dword [ebp - 0x14], 1
jne 0x4345d7
call fcn.0044dab0
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 0x4345ea
cmp al, 2
je 0x4345ea
cmp al, 5
jne 0x434612
push str.progressPercent
mov ecx, esi
call fcn.0044e8e0
mov ecx, eax
call fcn.0044e080
mov edi, eax
mov dword [ebp - 0x68], edi
test edi, edi
js 0x43460b
cmp edi, 0x64
jle 0x434612
mov dword [ebp - 0x68], 0
mov eax, dword [0x4b745c]
test eax, eax
jne 0x43464e
push 0x218
call fcn.0045ea95
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x218
push 0
push esi
mov byte [ebp - 4], 0x15
call fcn.00463360
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.0042e980
add eax, 0x10
mov dword [ebp - 0x38], eax
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 0x16
call fcn.0042e980
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.0042e220
mov edi, dword [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.004553d0
add esp, 4
test al, al
je 0x4348ce
mov ebx, 1
lea eax, [esi - 0x10]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
jmp 0x4346b3
mov ebx, dword [ebp - 0x54]
push 0x2e
push esi
call fcn.00462777
mov edi, eax
add esp, 8
test edi, edi
je 0x4346cd
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
jne 0x4346d0
mov edi, dword [esi - 0xc]
lea ecx, [esi - 0x10]
call fcn.0042e980
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x18
call fcn.0040f790
test eax, eax
je 0x433f3f
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.0042f8d0
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
add esp, 0xc
push ebx
push edi
call fcn.004429a0
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x14]
call fcn.0042cc30
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.0042e2f0
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 0x43475d
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.004553d0
lea edx, [ebx - 0x10]
add esp, 4
or ebx, 0xffffffff
test al, al
mov eax, ebx
je 0x4347bd
inc dword [ebp - 0x54]
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434790
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 0x4347ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x4346b0
jmp 0x4347fe
mov byte [ebp - 4], 0x18
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4347d3
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 0x4347f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x54], 0x3e8
jle 0x4348b7
push str.downloadFile_findfile_1000
lea ecx, [ebp - 0x34]
call fcn.0042d1c0
push str.CDispatcherHandler::DownloadFile
push str._s_ERROR_could_not_find_valid_file_name_to_use
push 3
push 5
call fcn.00457970
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 0x43483c
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 0x434857
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 0x434875
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 0x434890
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 0x434f54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x434f54
push edi
push str.CDispatcherHandler::DownloadFile
push str._s_strOutputPath___s_
push 0
push 5
call fcn.00457970
add esp, 0x14
push 0x10
call fcn.0045ea95
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 0x434959
push 0x4b98b4
call fcn.0045ec22
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434959
push 0x48b3b0
mov dword [0x4b9828], 0x49fe60
call fcn.0045ef79
push 0x4b98b4
call fcn.0045ebe3
add esp, 8
mov ecx, dword [0x4b3e10]
push 0xffffffffffffffff
push 0x49c6a4
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.0044e720
mov ecx, eax
call fcn.0044dfd0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x17
call fcn.0044df10
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x14]
call fcn.0045b2f0
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x4349be
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042e100
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 0x434a21
push 0x4b98b4
call fcn.0045ec22
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434a21
push 0x48b3b0
mov dword [0x4b9828], 0x49fe60
call fcn.0045ef79
push 0x4b98b4
call fcn.0045ebe3
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 0x49b17c
call fcn.0044e720
mov ecx, eax
call fcn.0044dfd0
lea ecx, [ebp - 0x64]
call fcn.0044df10
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 0x434a77
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 0x434ad5
push 0x4b98b4
call fcn.0045ec22
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434ad5
push 0x48b3b0
mov dword [0x4b9828], 0x49fe60
call fcn.0045ef79
push 0x4b98b4
call fcn.0045ebe3
add esp, 8
mov ecx, dword [0x4b3e10]
push 0xffffffffffffffff
push 0x49c6b4
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.0044e720
mov ecx, eax
call fcn.0044dfd0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x17
call fcn.0044df10
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x434b28
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.0045b210
mov ebx, dword [ebp - 0x24]
cmp dword [ebx - 4], 1
jle 0x434b59
push dword [ebx - 0xc]
lea ecx, [ebp - 0x24]
call fcn.0042e100
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 0x434bb7
push 0x4b98b4
call fcn.0045ec22
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434bb7
push 0x48b3b0
mov dword [0x4b9828], 0x49fe60
call fcn.0045ef79
push 0x4b98b4
call fcn.0045ebe3
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.0044e720
mov ecx, eax
call fcn.0044dfd0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044df10
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
call fcn.0045b2f0
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x434c18
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042e100
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 0x434c7b
push 0x4b98b4
call fcn.0045ec22
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x434c7b
push 0x48b3b0
mov dword [0x4b9828], 0x49fe60
call fcn.0045ef79
push 0x4b98b4
call fcn.0045ebe3
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.0044e720
mov ecx, eax
call fcn.0044dfd0
lea ecx, [ebp - 0x64]
call fcn.0044df10
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 0x434cd2
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.0044e720
mov ecx, eax
call fcn.0044dfd0
lea ecx, [ebp - 0x64]
call fcn.0044df10
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.0044e720
mov ecx, eax
call fcn.0044dfd0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044df10
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x434d9e
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.0044e720
mov ecx, eax
call fcn.0044dfd0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044df10
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.0044e720
mov ecx, eax
call fcn.0044dfd0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.0044df10
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x54]
push 0x433a80
push 0
push 0
call fcn.00465ee2
add esp, 0x18
mov ecx, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
push ecx
test ecx, ecx
jne 0x434edf
mov ecx, dword [ebp - 0x54]
call fcn.00435060
push 0x49c6b8
lea ecx, [ebp - 0x34]
call fcn.0042d1c0
push str.CDispatcherHandler::DownloadFile
push str._s__beginthreadex_error
push 3
push 5
call fcn.00457970
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 0x434e6c
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 0x434e87
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 0x434ea2
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 0x434ec0
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 0x434890
mov ecx, dword [esi]
push esi
jmp 0x43488b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x434e4e
push 0x1d
push str.downloadFile_fileName_missing
lea ecx, [ebp - 0x34]
call fcn.0042eac0
push str.CDispatcherHandler::DownloadFile
push str._s_fileName_error
push 3
push 5
call fcn.00457970
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 0x434f54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x434f54
push 0x18
push str.downloadFile_url_missing
lea ecx, [ebp - 0x34]
call fcn.0042eac0
push str.CDispatcherHandler::DownloadFile
push str._s_url_error
push 3
push 5
call fcn.00457970
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 0x434f74
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, 0x49b098
mov eax, dword [ebp - 0x4c]
mov ecx, 0x49b0a4
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.0042f8d0
add esp, 0x14
lea ecx, [ebp - 0x2c]
push 0x49b360
push 0x49a374
call fcn.0042ced0
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 8], eax
call fcn.004693ac
push eax
push str.CDispatcherHandler::DownloadFile
push str._s_OUT_time___d_
push 0
push 5
call fcn.00457970
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 0x435001
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 0x43501f
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 0x43503e
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.0045ea7f
mov esp, ebp
pop ebp
ret 8