Function at 0x48ff62
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x26c
mov eax, 0x574908
call fcn.00561213
mov dword [ebp - 0x19c], ecx
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0xb8]
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x18c], eax
xor eax, eax
stosd dword es:[edi], eax
push 0xf
mov dword [ebp - 0x1c0], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0xac], ax
pop eax
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], ecx
mov byte [ebp - 0x94], cl
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
mov byte [ebp - 0x78], cl
xor eax, eax
mov edi, str.Bad_Params
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0xb4], cl
mov ecx, edi
call fcn.00401601
push eax
push edi
lea ecx, [ebp - 0xac]
call fcn.00402021
cmp dword [esi + 0x10], 0x10
je 0x490017
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.004906fe
jmp 0x4906c0
cmp dword [esi + 0x14], 0x10
jb 0x49001f
mov esi, dword [esi]
push ecx
mov edx, esi
lea ecx, [ebp - 0xd0]
call fcn.00492ace
pop ecx
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0049227d
xor eax, eax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], eax
push 0x5926f4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401c4a
push 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004922ea
xor edi, edi
mov byte [ebp - 4], 5
xor esi, esi
lea ecx, [ebp - 0x28]
push edi
inc esi
push esi
call fcn.00401d3f
push str.hash
lea ecx, [ebp - 0x28]
call fcn.00401c4a
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00492387
push edi
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401d3f
push 0x5821ec
lea ecx, [ebp - 0x28]
call fcn.00401c4a
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00492387
push edi
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401d3f
push 0x592880
lea ecx, [ebp - 0x28]
call fcn.00401c4a
mov byte [ebp - 4], 9
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004922ea
push edi
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401d3f
mov esi, dword [ebp - 0x18c]
cmp dword [esi + 0x10], edi
je 0x49017c
push str.vipToken
lea ecx, [ebp - 0x28]
call fcn.00401c4a
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00492387
xor esi, esi
mov byte [ebp - 4], 5
push edi
inc esi
lea ecx, [ebp - 0x28]
push esi
call fcn.00401d3f
jmp 0x49017f
xor esi, esi
inc esi
push str.GetDownloadUrl
lea ecx, [ebp - 0x28]
call fcn.004077bf
lea edx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.00473821
mov edi, dword [ebp - 0x19c]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
call fcn.0048dcba
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.00401d84
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401d84
mov esi, str.Network_Error
mov ecx, esi
call fcn.00401601
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.00402021
push 0x10000
lea ecx, [ebp - 0x1a8]
call fcn.0044d55a
mov byte [ebp - 4], 0xd
and dword [ebp - 0x18c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
push 1
pop eax
test esi, esi
cmove esi, eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x198]
push eax
push ecx
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.004923c2
test al, al
jne 0x490383
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
mov ecx, str.Http_Error
mov esi, dword [ebp - 0x18c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0xb0], esi
call fcn.00401601
push eax
push str.Http_Error
lea ecx, [ebp - 0xac]
call fcn.00402021
push ecx
lea ecx, [ebp - 0x278]
call fcn.0048d7a6
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae eax, dword [ebp - 0x58]
push eax
push ecx
push str.url:
push ecx
push 0x58e164
push esi
lea eax, [ebp - 0x268]
push str.responseCode:
push eax
call fcn.00409f76
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
add esp, 0xc
push eax
call fcn.00409f76
pop ecx
pop ecx
lea ecx, [ebp - 0x278]
call fcn.0048d8ab
lea ecx, [ebp - 0x278]
mov esi, eax
call fcn.0048d877
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00401dc9
push str.GetDownloadUrl_Http_Error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.004077bf
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xe8]
call fcn.00473821
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x11
push eax
mov ecx, edi
call fcn.0048dcba
xor esi, esi
lea ecx, [ebp - 0xe8]
xor edi, edi
push esi
inc edi
push edi
call fcn.00401d84
mov byte [ebp - 4], 0xf
push esi
push edi
lea ecx, [ebp - 0x40]
call fcn.00401d84
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.004906fe
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.00401d3f
lea ecx, [ebp - 0x208]
call fcn.0048d847
lea ecx, [ebp - 0x208]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x490686
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x1a4]
sub eax, esi
mov esi, dword [ebp - 0x1a8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0xb0], eax
cmp esi, edi
jne 0x490410
push str.GetDownloadUrl_request_success__but_buffer_empty:
lea ecx, [ebp - 0x28]
call fcn.004077bf
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xe8]
call fcn.00473821
mov ecx, dword [ebp - 0x19c]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push eax
call fcn.0048dcba
xor esi, esi
lea ecx, [ebp - 0xe8]
xor edi, edi
push esi
inc edi
push edi
call fcn.00401d84
push esi
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00401d84
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.004906fe
jmp 0x490686
and dword [ebp - 0x1b0], 0xfffffe00
sub edi, esi
and dword [ebp - 0x1ac], 0
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x15
call fcn.00438b7a
xor eax, eax
mov byte [ebp - 4], 0x16
inc eax
lea ecx, [ebp - 0x188]
push eax
lea eax, [ebp - 0x1b8]
push eax
lea eax, [esi + edi]
push eax
push esi
call fcn.00438bff
test al, al
je 0x490629
mov eax, dword [ebp - 0x30]
xor edi, edi
and dword [ebp - 0x2c], 0
and eax, 0xffffff01
and dword [ebp - 0x38], 0
inc edi
or eax, edi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x17
push eax
push str.status
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00437df8
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00437780
dec eax
mov byte [ebp - 4], 0x17
neg eax
lea ecx, [ebp - 0x20]
sbb al, al
inc al
mov byte [ebp - 0xb4], al
call fcn.00437602
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00437602
push 0x57f98c
lea ecx, [ebp - 0x38]
call fcn.00437495
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x19
push eax
push str.error
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00437df8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call fcn.004376f6
push 0xfde9
mov edx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xe8]
call fcn.0045429f
pop ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.00407814
xor esi, esi
lea ecx, [ebp - 0xe8]
push esi
push edi
call fcn.00401d84
push esi
push edi
lea ecx, [ebp - 0x118]
call fcn.00401d3f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x19
call fcn.00437602
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00437602
cmp byte [ebp - 0xb4], 0
je 0x490620
push 0x57f98c
lea ecx, [ebp - 0x38]
call fcn.00437495
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1c
push eax
push 0x5807d0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00437df8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x1d
push ecx
mov ecx, eax
call fcn.004376f6
push eax
lea ecx, [ebp - 0x94]
call fcn.0042cae5
push esi
push edi
lea ecx, [ebp - 0x118]
call fcn.00401d3f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1c
call fcn.00437602
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00437602
mov eax, dword [ebp - 0x30]
or dword [ebp - 0x38], 0xffffffff
and eax, 0xffffff01
or eax, edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
push eax
push str.fileSize
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00437df8
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.00437780
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 0x1e
call fcn.00437602
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00437602
jmp 0x490658
mov dword [ebp - 0x7c], 0xfffffffe
jmp 0x490658
push esi
call fcn.0040165c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x78]
call fcn.00401dc9
mov esi, str.Json_Parse_Error
mov ecx, esi
call fcn.00401601
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.00402021
xor edi, edi
xor esi, esi
inc edi
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.004906fe
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x1bc], edi
call fcn.00415d1b
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xd
call fcn.00437602
lea ecx, [ebp - 0x1a8]
call fcn.00408f76
lea ecx, [ebp - 0x198]
call fcn.0042d56a
push esi
push edi
lea ecx, [ebp - 0x58]
call fcn.00401d3f
push esi
push edi
lea ecx, [ebp - 0x100]
call fcn.00401d3f
push esi
push edi
lea ecx, [ebp - 0xd0]
call fcn.00401d3f
lea ecx, [ebp - 0xb8]
call fcn.004906d5
mov eax, ebx
call fcn.005611c2
ret 0x10