Function at 0x10014f90
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022e88
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x1002d018]
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 eax, dword [ebp + 0x5c]
mov dword [ebp - 0x268], eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp + 0x40]
push edx
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 4], 2
call fcn.1001d460
mov ecx, eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp + 0x24]
mov byte [ebp - 4], 3
call fcn.1001d520
add esp, 0x10
mov edi, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x244], edi
jb 0x1001501b
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x220]
xor ebx, ebx
mov esi, 0xf
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x248], ebx
mov byte [ebp - 0x258], bl
cmp dword [ebp - 0x20c], edi
jae 0x10015048
lea eax, [ebp - 0x220]
push ebx
push ebx
lea ecx, [ebp - 0x260]
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
cmp eax, ebx
je 0x100150cf
cmp dword [ebp - 0x20c], edi
jb 0x10015075
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x210], ebx
mov byte [ebp - 0x220], bl
cmp dword [ebp + 0x1c], edi
jb 0x10015099
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], edi
jb 0x100150b4
mov ecx, dword [ebp + 0x24]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
cmp dword [ebp + 0x54], edi
jb 0x10015286
mov edx, dword [ebp + 0x40]
push edx
jmp 0x1001527d
lea eax, [ebp - 0x310]
push eax
call fcn.1001b970
lea edx, [ebp - 0x264]
push edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
push 0x64
lea edx, [ebp - 0x204]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [ebp - 0x264]
cmp eax, ebx
jbe 0x10015144
push ebx
push eax
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x300]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
mov eax, dword [ebp - 0x260]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [ebp - 0x264]
push ecx
push 0x64
lea ecx, [ebp - 0x204]
push ecx
push eax
call edx
mov eax, dword [ebp - 0x264]
cmp eax, ebx
ja 0x10015107
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [ebp - 0x23c]
lea eax, [ebp - 0x310]
call fcn.1001ba10
mov eax, dword [ebp - 0x23c]
mov word [ebp - 0x25c], 0x7325
mov byte [ebp - 0x25a], bl
cmp dword [ebp - 0x228], edi
jae 0x10015182
mov eax, esi
mov ecx, dword [ebp - 0x268]
push eax
lea eax, [ebp - 0x25c]
push eax
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
cmp dword [ebp - 0x228], edi
jb 0x100151b2
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x310]
mov esi, 0xf
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 0x23c], bl
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x268], eax
mov dword [ebp + edx - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 7
call fcn.1001a5d0
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x2b0]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0x20c], edi
jb 0x1001522c
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x210], ebx
mov byte [ebp - 0x220], bl
cmp dword [ebp + 0x1c], edi
jb 0x10015250
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], edi
jb 0x1001526b
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
cmp dword [ebp + 0x54], edi
jb 0x10015286
mov eax, dword [ebp + 0x40]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 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.10021450
mov esp, ebp
pop ebp
ret 0x58