Function at 0x41e150
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b235
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x493400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x218], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
push 0xb8
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x4942f4
lea ecx, [ebp - 0x210]
call fcn.0040bf20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x210]
mov eax, dword [ebp - 0x210]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x210]
call fcn.00415970
add esp, 4
lea ecx, [ebp - 0x214]
cmp dword [0x494338], 0xf
mov eax, 0x494324
cmova eax, dword [0x494324]
push 0
push 0
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
test eax, eax
je 0x41e234
xor esi, esi
jmp 0x41e3ea
push 0xb0
lea eax, [ebp - 0x158]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x158], 0x48be54
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x148], 0x48be2c
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x218], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 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
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x15c], eax
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x78]
mov ecx, dword [ebp - 0x214]
push edx
push 0x64
lea edx, [ebp - 0x74]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x41e336
push 0
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.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 ecx, dword [ebp - 0x214]
lea edx, [ebp - 0x78]
push edx
push 0x64
lea edx, [ebp - 0x74]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x41e306
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x158]
call fcn.0040b1b0
cmp dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0x90]
lea eax, [ebp - 0xa8]
cmova ecx, dword [ebp - 0x90]
cmp dword [ebp - 0x94], 0xf
push ecx
cmova eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
lea ecx, [ebp - 0xa8]
mov esi, eax
call fcn.0040d610
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx + 4]
mov dword [ebp + ecx - 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
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0x15c], ecx
lea ecx, [ebp - 0x140]
call fcn.0040c6f0
lea ecx, [ebp - 0x138]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
xor edx, edx
test esi, esi
setne dl
mov dword [ebp - 0x218], edx
mov esi, edx
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x214], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1b4], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x41e458
mov eax, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x1c4]
cmp dword [eax], ecx
jne 0x41e458
mov edx, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1b0]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x1e4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1d4]
mov dword [eax], edx
cmp byte [ebp - 0x1b8], 0
je 0x41e46c
lea ecx, [ebp - 0x200]
call fcn.0040ea90
lea ecx, [ebp - 0x200]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1f8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1a0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x41e4c9
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e4bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41e4bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00478074
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477d30
mov esp, ebp
pop ebp
ret