Function at 0x41a550
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47b3f1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x115c
call fcn.00444f60
mov eax, dword [0x496684]
xor eax, esp
mov dword [esp + 0x1158], eax
push ebx
push esi
push edi
mov eax, dword [0x496684]
xor eax, esp
push eax
lea eax, [esp + 0x1170]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, ecx
push 0x3ff
lea ecx, [esp + 0x969]
mov esi, edx
push 0
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov byte [esp + 0x26], 0
mov byte [esp + 0x970], 0
call fcn.004316d0
add esp, 0xc
push 0x3ff
lea edx, [esp + 0xd69]
push 0
push edx
mov byte [esp + 0xd70], 0
call fcn.004316d0
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x944]
push 0x74
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x94c], eax
call fcn.0042d5e8
add esp, 4
test eax, eax
je 0x41b962
mov dword [esp + 0x944], eax
mov dword [eax], eax
mov eax, dword [esp + 0x944]
mov dword [eax + 4], eax
mov dword [esp + 0x1178], 2
mov dword [edi], 2
test esi, esi
je 0x41af28
cmp dword [esp + 0x38], 0
je 0x41af28
push str._Start_a_new_Download_
push str..._srcdownloader.cpp
push 0x499db8
push 1
mov edx, 0x1b4
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
push esi
push str.URL:___s
push str..._srcdownloader.cpp
push 0x499db8
push 1
mov edx, 0x1b5
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 7
push str.http:__
push esi
mov dword [ebx + 0xd68], eax
call fcn.004329d6
add esp, 0xc
test eax, eax
je 0x41a721
push 7
push str.HTTP:__
push esi
call fcn.004329d6
add esp, 0xc
test eax, eax
je 0x41a721
push 8
push str.https:__
push esi
call fcn.004329d6
add esp, 0xc
test eax, eax
je 0x41a721
push 8
push str.HTTPS:__
push esi
call fcn.004329d6
add esp, 0xc
test eax, eax
je 0x41a721
push str.protocol_not_support
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x1bf
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
mov dword [edi], 8
jmp 0x41af28
mov edi, dword [esp + 0x38]
mov eax, ebx
call fcn.0041b9d0
test al, al
jne 0x41a758
push str.save_URL__path_file_name_failed
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x1c7
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
jmp 0x41af28
cmp byte [ebp + 0xc], 0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
je 0x41a7a4
mov edx, edi
push edx
call esi
test eax, eax
setne al
test al, al
je 0x41a7a4
push str.The_file_to_be_downloaded_exists
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x1ce
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
mov eax, dword [esp + 0x4c]
add esp, 0x10
mov dword [eax], 3
jmp 0x41af28
mov ecx, dword [ebx + 0xd60]
test ecx, ecx
je 0x41a7b6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [ebx + 0x83c], 2
jne 0x41a7f4
mov edi, ebx
mov byte [ebx + 0x840], 0
call fcn.0041c150
test al, al
jne 0x41a7f4
push str.Import_IEs_Proxy_failed
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x1dd
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
mov edi, 1
cmp dword [ebx + 0xd64], edi
jl 0x41a8ab
push edi
push str.Query_file_info_the__.2d_time
push str..._srcdownloader.cpp
push 0x499db8
push 1
mov edx, 0x1e4
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x14
call fcn.0041ba40
test al, al
jne 0x41a8a7
push str.Query_file_info_failed_
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x1eb
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
mov ebx, dword [esp + 0x24]
add esp, 0x10
cmp byte [ebx + 0xd51], 0
jne 0x41a87d
cmp edi, dword [ebx + 0xd64]
je 0x41a898
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, dword [ebx + 0xd64]
jle 0x41a805
jmp 0x41a8ab
mov ecx, dword [ebx + 0xd60]
test ecx, ecx
je 0x41af28
mov edx, dword [ecx]
mov eax, dword [edx]
push 4
call eax
jmp 0x41af28
mov ecx, dword [esp + 0x3c]
mov dword [ecx], 4
jmp 0x41af28
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xd60]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0xd4c]
test ecx, ecx
je 0x41a8d2
mov edi, dword [ecx]
push 0x4886f6
push 0
push eax
push 0
push 0
push edx
mov edx, dword [edi + 4]
call edx
mov ecx, dword [ebx + 0xd60]
test ecx, ecx
je 0x41a8e4
mov eax, dword [ecx]
mov edx, dword [eax]
push 2
call edx
mov edi, dword [esp + 0x38]
push edi
push str._s.rd
lea eax, [esp + 0x96c]
push 0x400
push eax
call fcn.00432a96
add esp, 0x10
test eax, eax
jle 0x41b939
cmp eax, 0x400
je 0x41b939
push edi
push str._s.rd.cfg
lea ecx, [esp + 0xd6c]
push 0x400
push ecx
call fcn.00432a96
add esp, 0x10
test eax, eax
jle 0x41b910
cmp eax, 0x400
je 0x41b910
cmp byte [ebx + 0xd71], 0
je 0x41a9f1
lea edx, [esp + 0x964]
test edx, edx
je 0x41a9a1
mov eax, edx
push eax
call esi
test eax, eax
setne al
test al, al
je 0x41a9a1
lea ecx, [esp + 0x964]
push ecx
call fcn.00432b42
add esp, 4
test eax, eax
je 0x41a9a1
push str.remove_file_exists_failed
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x216
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
lea edx, [esp + 0xd64]
test edx, edx
je 0x41a9f1
mov eax, edx
push eax
call esi
test eax, eax
setne al
test al, al
je 0x41a9f1
lea ecx, [esp + 0xd64]
push ecx
call fcn.00432b42
add esp, 4
test eax, eax
je 0x41a9f1
push str.remove_file_exists_failed
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x21b
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
lea edi, [esp + 0xd64]
lea esi, [esp + 0x34]
call fcn.00420a80
test al, al
jne 0x41aa37
push str.create_config_file_failed
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x222
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
mov edx, dword [esp + 0x4c]
add esp, 0x10
mov dword [edx], 5
jmp 0x41af28
mov esi, dword [esp + 0x38]
mov eax, esi
call fcn.004208a0
test al, al
je 0x41aa76
push esi
call fcn.00432b42
add esp, 4
test eax, eax
je 0x41aa76
push str.remove_file_exists_failed
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x22a
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
lea eax, [esp + 0x964]
test eax, eax
je 0x41aceb
mov ecx, eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne al
test al, al
je 0x41aceb
lea ebx, [esp + 0x13c]
lea esi, [esp + 0x34]
call fcn.00420ad0
test al, al
je 0x41ace7
mov eax, dword [esp + 0x1c]
mov ecx, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41aae0
test dl, dl
je 0x41aadc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41aae0
add eax, 2
add ecx, 2
test dl, dl
jne 0x41aac0
xor eax, eax
jmp 0x41aae5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41ace7
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xd4c]
cmp eax, dword [esp + 0x93c]
jne 0x41ace7
mov ecx, edx
call fcn.0041be90
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x944]
mov ebx, dword [eax]
mov dword [esp + 0x1c], 0
cmp ebx, eax
je 0x41ac82
inc dword [esp + 0x1c]
push 0x88
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.004316d0
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
add esp, 0xc
mov dword [esp + 0x4c], edx
mov edx, dword [ebx + 0x14]
push 0x498718
push 8
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
call fcn.00432b72
add esp, 8
mov dword [esp + 0x24], eax
mov byte [esp + 0x1178], 3
test eax, eax
je 0x41ab8c
mov dword [eax], vtable.DownLocalFile.0
mov dword [eax + 4], 0
mov esi, eax
jmp 0x41ab8e
xor esi, esi
mov byte [esp + 0x1178], 2
mov dword [esp + 0x60], esi
test esi, esi
je 0x41acce
lea edi, [esp + 0x964]
call fcn.00420db0
test al, al
je 0x41acba
mov eax, dword [ebx + 0x14]
add eax, dword [ebx + 0xc]
mov ecx, esi
call fcn.00420e00
test al, al
je 0x41acc4
push 0x20
call fcn.0042d5e8
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x1178], 4
test eax, eax
je 0x41abf7
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 8]
add ecx, 4
push ecx
call fcn.00420e20
jmp 0x41abf9
xor eax, eax
mov byte [esp + 0x1178], 2
mov dword [esp + 0x64], eax
test eax, eax
je 0x41acc4
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xd50], 0
mov edx, dword [eax + 0xd64]
sete cl
add edx, dword [esp + 0x1c]
mov byte [esp + 0x50], cl
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], edx
mov byte [esp + 0xd0], 0
lea esi, [ebx + 0x18]
mov ecx, 0x16
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x18]
lea eax, [esp + 0x4c]
call fcn.0041c510
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
add eax, 0x24
push ecx
call fcn.0041c650
mov ebx, dword [ebx]
cmp ebx, dword [esp + 0x944]
jne 0x41ab28
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xd60]
test ecx, ecx
je 0x41ac98
mov edx, dword [ecx]
mov eax, dword [edx]
push 3
call eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
cmp ecx, eax
jae 0x41b16c
mov eax, ecx
mov dword [esp + 0x20], ecx
jmp 0x41b170
mov edx, dword [esp + 0x3c]
mov dword [edx], 6
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x41af24
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
jmp 0x41af24
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.0041be90
mov ecx, dword [ebx + 0xd4c]
mov esi, eax
xor edx, edx
mov eax, ecx
div esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x2c], eax
test esi, esi
je 0x41ad29
xor edx, edx
mov eax, ecx
div esi
mov dword [esp + 0x20], eax
test edx, edx
je 0x41ad25
inc dword [esp + 0x20]
mov dword [esp + 0x2c], esi
cmp byte [ebx + 0xd50], 0
jne 0x41ad3a
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
push eax
push ecx
lea edi, [esp + 0x3c]
call fcn.00420c50
mov ebx, 1
cmp dword [esp + 0x20], ebx
jb 0x41ac82
xor edi, edi
xor esi, esi
mov dword [esp + 0x30], esi
jmp 0x41ad70
push 0x88
lea ecx, [esp + 0x50]
push edi
push ecx
call fcn.004316d0
add esp, 0xc
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], esi
cmp ebx, dword [esp + 0x20]
jne 0x41ada1
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xd4c]
mov dword [esp + 0x58], eax
jmp 0x41adab
mov ecx, dword [esp + 0x2c]
add ecx, esi
mov dword [esp + 0x58], ecx
push 0x498718
push 8
mov dword [esp + 0x64], edi
call fcn.00432b72
add esp, 8
mov dword [esp + 0x24], eax
mov byte [esp + 0x1178], 5
cmp eax, edi
je 0x41addd
mov dword [eax], vtable.DownLocalFile.0
mov dword [eax + 4], edi
mov dword [esp + 0x1c], eax
jmp 0x41ade3
mov dword [esp + 0x1c], edi
mov eax, edi
mov byte [esp + 0x1178], 2
mov dword [esp + 0x60], eax
cmp eax, edi
je 0x41af14
lea edi, [esp + 0x964]
mov esi, eax
call fcn.00420db0
mov edi, dword [esp + 0x1c]
test al, al
je 0x41aefe
mov edx, dword [edi + 4]
push 0
push 0
push edx
call fcn.004304d9
add esp, 0xc
test eax, eax
jne 0x41af08
push 2
push eax
mov eax, dword [edi + 4]
push eax
call fcn.004304d9
add esp, 0xc
test eax, eax
sete al
test al, al
je 0x41af08
mov eax, dword [esp + 0x30]
mov ecx, edi
call fcn.00420e00
test al, al
je 0x41af08
push 0x20
call fcn.0042d5e8
add esp, 4
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x14]
mov byte [esp + 0x1178], 6
test eax, eax
je 0x41ae83
lea ecx, [esi + 4]
push ecx
mov edx, ebx
call fcn.00420e20
jmp 0x41ae85
xor eax, eax
mov byte [esp + 0x1178], 2
mov dword [esp + 0x64], eax
test eax, eax
je 0x41af08
cmp byte [esi + 0xd50], 0
mov edx, dword [esi + 0xd64]
sete cl
add edx, ebx
lea edi, [esi + 0x18]
lea eax, [esp + 0x4c]
mov byte [esp + 0x50], cl
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], edx
mov byte [esp + 0xd0], 0
call fcn.0041c510
lea ecx, [esp + 0x24]
lea eax, [esi + 0x24]
push ecx
mov dword [esp + 0x28], ebx
call fcn.0041c650
mov edx, dword [esp + 0x2c]
add dword [esp + 0x30], edx
inc ebx
cmp ebx, dword [esp + 0x20]
ja 0x41ac82
mov esi, dword [esp + 0x30]
xor edi, edi
jmp 0x41ad70
mov eax, dword [esp + 0x3c]
mov dword [eax], 6
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
xor edi, edi
mov ecx, dword [esp + 0x64]
cmp ecx, edi
je 0x41af24
mov edx, dword [ecx]
push 1
mov eax, dword [edx]
call eax
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 4]
mov eax, dword [edx]
lea ecx, [ebx + 4]
mov byte [esp + 0x1b], 0
call eax
test al, al
je 0x41af63
push str.Download_exit_with_User_Stop
push str..._srcdownloader.cpp
push 0x499db8
push 1
mov edx, 0x398
mov ecx, str.Downloader::doDownload
mov byte [esp + 0x2b], 1
call fcn.0041ff40
add esp, 0x10
cmp byte [esp + 0x1a], 0
je 0x41af9a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0xd68]
mov edx, 0x39e
push eax
push str.__time_spend:__d_milliseconds__
push str..._srcdownloader.cpp
push 0x499db8
push 1
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x14
mov eax, dword [ebx + 0x18]
mov esi, dword [eax]
cmp esi, eax
je 0x41b020
mov edi, dword [esi + 0x20]
mov eax, dword [edi + 4]
test eax, eax
je 0x41afc7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], 0
mov edi, dword [esi + 0x20]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x41afe1
push eax
call sym.ipa2exe.exe_curl_easy_cleanup
add esp, 4
mov dword [edi + 0x1c], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41aff0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edi, dword [esi + 0x1c]
mov eax, dword [edi + 4]
test eax, eax
je 0x41b003
push eax
call fcn.0042dc88
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41b019
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov esi, dword [esi]
cmp esi, dword [ebx + 0x18]
jne 0x41afa3
cmp dword [esp + 0x34], 0
je 0x41b034
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0042dc88
add esp, 4
cmp byte [esp + 0x1a], 0
je 0x41b05d
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x968]
push eax
call fcn.00432bb1
lea ecx, [esp + 0xd6c]
push ecx
call fcn.00432b42
add esp, 0xc
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 4], ecx
mov dword [ebx + 0x1c], 0
cmp eax, dword [ebx + 0x18]
je 0x41b088
mov esi, dword [eax]
push eax
call fcn.0042ca67
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x18]
jne 0x41b076
xor esi, esi
cmp byte [esp + 0x1a], 0
mov dword [ebx + 0xd4c], esi
mov word [ebx + 0xd50], si
jne 0x41b0da
cmp byte [esp + 0x1b], 0
jne 0x41b0da
push str._____download_failed_____
push str..._srcdownloader.cpp
push 0x499db8
push 1
mov edx, 0x3bd
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
mov ecx, dword [ebx + 0xd60]
add esp, 0x10
cmp ecx, esi
je 0x41b0da
mov edx, dword [ecx]
mov eax, dword [edx]
push 6
call eax
mov eax, dword [ebx + 0xd6c]
cmp eax, esi
je 0x41b0f3
push eax
call sym.ipa2exe.exe_curl_slist_free_all
add esp, 4
mov dword [ebx + 0xd6c], esi
mov dword [esp + 0x1178], 0xffffffff
mov ecx, dword [esp + 0x944]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x944]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x944]
mov dword [esp + 0x948], esi
cmp eax, ecx
je 0x41b13d
mov esi, dword [eax]
push eax
call fcn.0042ca67
mov ecx, dword [esp + 0x948]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x41b125
push ecx
call fcn.0042ca67
add esp, 4
mov ecx, dword [esp + 0x1170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1158]
xor ecx, esp
call fcn.0042ca72
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 1
cmp eax, 1
jl 0x41b24c
lea eax, [esp + 0x40]
lea ecx, [ebx + 0x24]
call fcn.0041c570
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
jne 0x41b199
xor edx, edx
jmp 0x41b19b
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x41b1af
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x41b1df
mov esi, dword [ebx + 0x2c]
inc dword [ebx + 0x30]
add esi, esi
add esi, esi
cmp esi, dword [ebx + 0x30]
ja 0x41b1d4
mov dword [ebx + 0x30], edi
dec eax
mov dword [ebx + 0x34], eax
cmp eax, edi
jne 0x41b1df
mov dword [ebx + 0x30], edi
mov ecx, ebx
mov eax, dword [ecx + 4]
add ecx, 4
push edx
mov edx, dword [eax + 0x18]
call edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
mov edi, dword [esi + 0x18]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x41b21c
push eax
call sym.ipa2exe.exe_curl_easy_cleanup
add esp, 4
mov dword [edi + 0x1c], 0
call sym.ipa2exe.exe_curl_easy_init
mov dword [edi + 0x1c], eax
test eax, eax
je 0x41b2c5
mov esi, dword [esi + 0x18]
call fcn.00421410
mov eax, dword [esp + 0x28]
add dword [esp + 0x2c], 0x64
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x20]
jle 0x41b181
mov edi, dword [esp + 0x20]
mov esi, ebx
mov eax, dword [esi + 0xd4c]
push eax
push edi
push str.Start_downloading__TN:_d__size:_d
push str..._srcdownloader.cpp
push 0x499db8
push 1
mov edx, 0x2e6
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
mov ecx, dword [esi + 0xd60]
mov eax, dword [esi + 0xd4c]
xor ebx, ebx
add esp, 0x18
cmp ecx, ebx
je 0x41b2a0
mov edx, dword [ecx]
push 0x4886f6
push edi
push edi
push ebx
push ebx
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
mov eax, esi
mov dword [esp + 0x30], ebx
call fcn.0041bf30
test al, al
jne 0x41b80c
mov ebx, esi
jmp 0x41b2f8
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 0x10]
push eax
push str.thread_init_failed_ID:_d
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x2dc
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x14
jmp 0x41af28
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.0041bfd0
cmp eax, dword [esp + 0x20]
jge 0x41b42b
cmp dword [ebx + 0x34], 0
jbe 0x41b42b
lea eax, [esp + 0xe0]
lea ecx, [ebx + 0x24]
call fcn.0041c570
mov ecx, dword [eax]
test ecx, ecx
jne 0x41b32c
xor edx, edx
jmp 0x41b32e
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
mov edi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp edi, eax
ja 0x41b342
sub eax, edi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x41b378
mov edi, dword [ebx + 0x2c]
inc dword [ebx + 0x30]
add edi, edi
add edi, edi
cmp edi, dword [ebx + 0x30]
ja 0x41b36b
mov dword [ebx + 0x30], 0
dec eax
mov dword [ebx + 0x34], eax
jne 0x41b378
mov dword [ebx + 0x30], 0
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
push edx
mov edx, dword [eax + 0x18]
call edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 0x18], 0x64
mov edi, dword [esi + 0x18]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x41b3b3
push eax
call sym.ipa2exe.exe_curl_easy_cleanup
add esp, 4
mov dword [edi + 0x1c], 0
call sym.ipa2exe.exe_curl_easy_init
mov dword [edi + 0x1c], eax
test eax, eax
je 0x41b834
mov esi, dword [esi + 0x18]
mov eax, dword [esi + 0xc]
cmp eax, 2
je 0x41b41a
cmp eax, 3
jne 0x41b3f4
mov eax, dword [esi + 4]
test eax, eax
je 0x41b3f4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
lea ecx, [esi + 8]
push ecx
push 0
push esi
push 0x421470
push 0
push 0
call fcn.0043000f
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
je 0x41b41a
mov dword [esi + 0xc], 4
mov ecx, ebx
call fcn.0041bfd0
cmp eax, dword [esp + 0x20]
jl 0x41b309
mov edi, dword [esp + 0x14]
mov eax, edi
call fcn.0041bf70
mov byte [esp + 0x1b], al
mov eax, dword [edi + 0x18]
mov ebx, dword [eax]
mov dword [esp + 0x1c], 0
cmp ebx, eax
je 0x41b748
mov eax, dword [ebx + 0x18]
add dword [esp + 0x1c], eax
cmp byte [esp + 0x1b], 0
jne 0x41b514
mov edx, dword [ebx + 0x10]
add edx, eax
cmp edx, dword [ebx + 0x14]
jae 0x41b5e3
mov eax, dword [ebx + 0x28]
cmp eax, dword [ebx + 0x2c]
jge 0x41b5e3
mov edi, dword [esp + 0x14]
lea eax, [ebx + 8]
push eax
sub esp, 0xc
add edi, 0x24
mov eax, esp
mov edx, edi
mov dword [esp + 0x38], esp
call fcn.0041c590
sub esp, 0xc
mov eax, esp
mov ecx, edi
mov byte [esp + 0x1194], 7
mov dword [esp + 0x44], esp
call fcn.0041c570
mov byte [esp + 0x1194], 8
lea esi, [esp + 0xf0]
mov byte [esp + 0x1194], 2
call fcn.0041cac0
add esp, 0x1c
lea eax, [esp + 0xf8]
mov edx, edi
call fcn.0041c590
mov ecx, dword [esp + 0xdc]
cmp ecx, dword [eax + 8]
sete al
test al, al
je 0x41b5e3
lea eax, [ebx + 8]
push eax
mov eax, edi
call fcn.0041c650
inc dword [ebx + 0x28]
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + 0x10]
push eax
push str.thread_Try_again_with_count_ID:_d
mov edx, 0x329
jmp 0x41b5ca
mov ecx, dword [ebx + 0x20]
cmp dword [ecx + 0xc], 3
jne 0x41b5e3
mov edx, dword [ebx + 0x10]
add edx, eax
cmp edx, dword [ebx + 0x14]
jae 0x41b5e3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x30]
cmp eax, 0x1388
jbe 0x41b5e3
mov edi, dword [esp + 0x14]
lea eax, [ebx + 8]
push eax
sub esp, 0xc
add edi, 0x24
mov eax, esp
mov edx, edi
mov dword [esp + 0x38], esp
call fcn.0041c590
sub esp, 0xc
mov eax, esp
mov ecx, edi
mov byte [esp + 0x1194], 9
mov dword [esp + 0x44], esp
call fcn.0041c570
mov byte [esp + 0x1194], 0xa
lea esi, [esp + 0x5c]
mov byte [esp + 0x1194], 2
call fcn.0041cac0
add esp, 0x1c
lea eax, [esp + 0xec]
mov edx, edi
call fcn.0041c590
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 8]
sete al
test al, al
je 0x41b5e3
lea eax, [ebx + 8]
push eax
mov eax, edi
call fcn.0041c650
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + 0x10]
push eax
push str.thread_Try_again_without_count_ID:_d
mov edx, 0x33c
push str..._srcdownloader.cpp
push 0x499db8
push 1
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x14
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x18]
cmp eax, dword [ebx + 0x14]
jne 0x41b737
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xd70], 0
je 0x41b737
cmp byte [ebx + 0x8c], 0
jne 0x41b737
push 0x4886f6
lea ecx, [esp + 0x108]
call fcn.004055e0
lea edx, [esp + 0x954]
push edx
lea esi, [ebx + 0x34]
mov byte [esp + 0x117c], 0xb
call fcn.0040f870
add esp, 4
lea eax, [esp + 0x954]
push eax
lea ecx, [esp + 0x124]
push ecx
call fcn.004208c0
add esp, 8
mov edi, eax
lea esi, [esp + 0x104]
mov byte [esp + 0x1178], 0xc
call fcn.004050d0
lea ecx, [esp + 0x120]
mov byte [esp + 0x1178], 0xb
call fcn.00405780
cmp dword [esp + 0x118], 0x10
jb 0x41b695
mov edx, dword [esp + 0x104]
mov dword [esp + 0x28], edx
jmp 0x41b6a0
lea eax, [esp + 0x104]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xd60]
mov eax, dword [ebx + 8]
lea esi, [ebx + 8]
test ecx, ecx
je 0x41b71c
push dword [esp + 0x28]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
call eax
test al, al
jne 0x41b71c
mov dword [ebx + 0x18], 0
mov byte [ebx + 0x8c], al
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 4]
push 0
push eax
push ecx
call fcn.004304d9
add esp, 0xc
test eax, eax
jne 0x41b863
lea eax, [edi + 0x24]
push esi
call fcn.0041c5b0
push str.Failed_to_check_md5_and_re_try
push str..._srcdownloader.cpp
push 0x499db8
push 1
mov edx, 0x354
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
jmp 0x41b723
mov byte [ebx + 0x8c], 1
lea ecx, [esp + 0x104]
mov byte [esp + 0x1178], 2
call fcn.00405780
mov ebx, dword [ebx]
mov edx, dword [esp + 0x14]
cmp ebx, dword [edx + 0x18]
jne 0x41b44f
mov edi, edx
lea eax, [esp + 0x34]
push eax
push edi
call fcn.0041c000
mov eax, edi
call fcn.0041bf00
test al, al
jne 0x41b8a1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esp + 0x24]
jne 0x41b775
mov ecx, 1
mov ebx, dword [esp + 0x1c]
mov eax, ebx
xor esi, esi
sub eax, dword [esp + 0x2c]
je 0x41b79c
imul eax, eax, 0x3e8
xor edx, edx
div ecx
mov ecx, dword [esp + 0x30]
shr ecx, 2
lea esi, [eax + eax*2]
shr esi, 2
add esi, ecx
cmp dword [esp + 0x2c], 0
je 0x41b7d7
mov ecx, edi
mov dword [esp + 0x30], esi
call fcn.0041bfa0
mov ecx, dword [edi + 0xd60]
mov edx, dword [edi + 0xd4c]
test ecx, ecx
je 0x41b7d7
mov ebx, dword [esp + 0x1c]
push 0x4886f6
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [ecx]
push esi
push ebx
push edx
mov edx, dword [eax + 4]
call edx
cmp byte [edi + 0xd51], 0
jne 0x41b8f7
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1f4
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
call fcn.0041bf30
test al, al
je 0x41b2f4
push str.download_failed__exit
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x2f6
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
jmp 0x41af24
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x10]
push eax
push str.thread_init_failed_ID:_d
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x304
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x14
jmp 0x41af24
push str.setPointerFromBegin_failed
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x350
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
lea ecx, [esp + 0x104]
mov byte [esp + 0x1178], 2
call fcn.00405780
mov ebx, edi
jmp 0x41af28
lea ecx, [esp + 0x34]
push ecx
push edi
call fcn.0041c000
mov edi, dword [edi + 0xd60]
test edi, edi
je 0x41b8c0
mov edx, dword [edi]
mov eax, dword [edx]
push 5
mov ecx, edi
call eax
mov ecx, dword [esp + 0x3c]
push str.___download_successful___
push str..._srcdownloader.cpp
mov dword [ecx], 0
push 0x499db8
push 1
mov edx, 0x390
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x10
mov byte [esp + 0x1a], 1
jmp 0x41af24
mov edi, dword [edi + 0xd60]
test edi, edi
je 0x41af24
mov edx, dword [edi]
push 4
mov ecx, edi
jmp 0x41af20
push edi
push str.create_config_file_name__s.rd.cfg_failed
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x20e
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x14
jmp 0x41af28
push edi
push str.create_temp_file_name__s.rd_failed
push str..._srcdownloader.cpp
push 0x499db8
push 2
mov edx, 0x206
mov ecx, str.Downloader::doDownload
call fcn.0041ff40
add esp, 0x14
jmp 0x41af28
push 0
lea ecx, [esp + 0x44]
call fcn.004057b0
push 0x490674
lea ecx, [esp + 0x44]
push ecx
call fcn.00431b2e
int3