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

Disassembly:
push 0x26c
mov eax, 0x577001
call fcn.005635af
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.00401581
push eax
push edi
lea ecx, [ebp - 0xac]
call fcn.00401fa1
cmp dword [esi + 0x10], 0x10
je 0x48f0ee
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.0048f7d5
jmp 0x48f797
cmp dword [esi + 0x14], 0x10
jb 0x48f0f6
mov esi, dword [esi]
push ecx
mov edx, esi
lea ecx, [ebp - 0xd0]
call fcn.00491bae
pop ecx
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00491354
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 0x595ea4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401bca
push 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004913ca
xor edi, edi
mov byte [ebp - 4], 5
xor esi, esi
lea ecx, [ebp - 0x28]
push edi
inc esi
push esi
call fcn.00401cbf
push str.hash
lea ecx, [ebp - 0x28]
call fcn.00401bca
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.00491467
push edi
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401cbf
push 0x585e28
lea ecx, [ebp - 0x28]
call fcn.00401bca
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.00491467
push edi
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401cbf
push 0x596030
lea ecx, [ebp - 0x28]
call fcn.00401bca
mov byte [ebp - 4], 9
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004913ca
push edi
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401cbf
mov esi, dword [ebp - 0x18c]
cmp dword [esi + 0x10], edi
je 0x48f253
push str.vipToken
lea ecx, [ebp - 0x28]
call fcn.00401bca
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00491467
xor esi, esi
mov byte [ebp - 4], 5
push edi
inc esi
lea ecx, [ebp - 0x28]
push esi
call fcn.00401cbf
jmp 0x48f256
xor esi, esi
inc esi
push str.GetDownloadUrl
lea ecx, [ebp - 0x28]
call fcn.0040763f
lea edx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.0053576d
mov edi, dword [ebp - 0x19c]
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
call fcn.0048cd91
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.00401d04
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401d04
mov esi, str.Network_Error
mov ecx, esi
call fcn.00401581
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.00401fa1
push 0x10000
lea ecx, [ebp - 0x1a8]
call fcn.0044c8d2
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.004914a2
test al, al
jne 0x48f45a
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.00401581
push eax
push str.Http_Error
lea ecx, [ebp - 0xac]
call fcn.00401fa1
push ecx
lea ecx, [ebp - 0x278]
call fcn.0048c85c
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 0x591914
push esi
lea eax, [ebp - 0x268]
push str.responseCode:
push eax
call fcn.00409e4f
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.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
add esp, 0xc
push eax
call fcn.00409e4f
pop ecx
pop ecx
lea ecx, [ebp - 0x278]
call fcn.0048c961
lea ecx, [ebp - 0x278]
mov esi, eax
call fcn.0048c92d
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.00401d49
push str.GetDownloadUrl_Http_Error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.0040763f
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xe8]
call fcn.0053576d
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x11
push eax
mov ecx, edi
call fcn.0048cd91
xor esi, esi
lea ecx, [ebp - 0xe8]
xor edi, edi
push esi
inc edi
push edi
call fcn.00401d04
mov byte [ebp - 4], 0xf
push esi
push edi
lea ecx, [ebp - 0x40]
call fcn.00401d04
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.0048f7d5
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.00401cbf
lea ecx, [ebp - 0x208]
call fcn.0048c8fd
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 0x48f75d
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 0x48f4e7
push str.GetDownloadUrl_request_success__but_buffer_empty:
lea ecx, [ebp - 0x28]
call fcn.0040763f
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xe8]
call fcn.0053576d
mov ecx, dword [ebp - 0x19c]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push eax
call fcn.0048cd91
xor esi, esi
lea ecx, [ebp - 0xe8]
xor edi, edi
push esi
inc edi
push edi
call fcn.00401d04
push esi
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00401d04
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.0048f7d5
jmp 0x48f75d
and dword [ebp - 0x1b0], 0xfffffe00
sub edi, esi
and dword [ebp - 0x1ac], 0
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x15
call fcn.00437dff
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.00437e84
test al, al
je 0x48f700
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.0043707d
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00436a05
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.00436887
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00436887
push 0x583988
lea ecx, [ebp - 0x38]
call fcn.0043671a
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.0043707d
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call fcn.0043697b
push 0xfde9
mov edx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xe8]
call fcn.005357a0
pop ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.00407694
xor esi, esi
lea ecx, [ebp - 0xe8]
push esi
push edi
call fcn.00401d04
push esi
push edi
lea ecx, [ebp - 0x118]
call fcn.00401cbf
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x19
call fcn.00436887
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00436887
cmp byte [ebp - 0xb4], 0
je 0x48f6f7
push 0x583988
lea ecx, [ebp - 0x38]
call fcn.0043671a
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1c
push eax
push 0x584794
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.0043707d
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x1d
push ecx
mov ecx, eax
call fcn.0043697b
push eax
lea ecx, [ebp - 0x94]
call fcn.0042bcde
push esi
push edi
lea ecx, [ebp - 0x118]
call fcn.00401cbf
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1c
call fcn.00436887
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00436887
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.0043707d
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.00436a05
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 0x1e
call fcn.00436887
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00436887
jmp 0x48f72f
mov dword [ebp - 0x7c], 0xfffffffe
jmp 0x48f72f
push esi
call fcn.004015dc
pop ecx
push eax
push esi
lea ecx, [ebp - 0x78]
call fcn.00401d49
mov esi, str.Json_Parse_Error
mov ecx, esi
call fcn.00401581
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.00401fa1
xor edi, edi
xor esi, esi
inc edi
lea eax, [ebp - 0xb8]
mov ecx, ebx
push eax
call fcn.0048f7d5
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x1bc], edi
call fcn.00415c3b
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xd
call fcn.00436887
lea ecx, [ebp - 0x1a8]
call fcn.00408df6
lea ecx, [ebp - 0x198]
call fcn.0042c763
push esi
push edi
lea ecx, [ebp - 0x58]
call fcn.00401cbf
push esi
push edi
lea ecx, [ebp - 0x100]
call fcn.00401cbf
push esi
push edi
lea ecx, [ebp - 0xd0]
call fcn.00401cbf
lea ecx, [ebp - 0xb8]
call fcn.0048f7ac
mov eax, ebx
call fcn.0056355e
ret 0x10