Function at 0x100056c0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008a4d
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
mov eax, dword [0x1000d008]
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 esi, edx
push 0
push 0
push 0
push 0
push str.EryndorAC_HTTP_Agent
mov dword [ebp - 0x444], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x454], edi
test edi, edi
je 0x10005743
push 0
push SysReAllocString
push 0
push 0
push str.https:__raw.githubusercontent.com_eryndorwork_EryndorAC_main_md5
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
mov dword [ebp - 0x450], ebx
test ebx, ebx
jne 0x1000574a
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x10005c40
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x4f0], 0x10009b54
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x4ec]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4f0]
mov dword [ebp - 0x444], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x4f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x4f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x4f4], eax
lea ecx, [ebp - 0x4ec]
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 - 0x4b4], 0
mov dword [ebp - 0x4b0], 4
lea eax, [ebp - 0x448]
mov dword [ebp - 4], 2
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push ebx
call edi
test eax, eax
je 0x1000584a
nop word [eax + eax]
mov eax, dword [ebp - 0x448]
test eax, eax
je 0x1000584a
push 0
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x4f0]
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__]
lea eax, [ebp - 0x448]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push ebx
call edi
test eax, eax
jne 0x10005810
mov byte [ebp - 4], 3
xor edi, edi
mov edx, dword [ebp - 0x4b0]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x440], 0
and al, 0x22
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
mov dword [ebp - 0x444], 5
movq qword [ebp - 0x41c], xmm0
mov dword [ebp - 0x414], edi
cmp al, 2
je 0x100058bf
mov eax, dword [ebp - 0x4cc]
mov ecx, dword [eax]
test ecx, ecx
je 0x100058bf
mov eax, dword [ebp - 0x4dc]
cmp ecx, dword [ebp - 0x4b4]
cmovb ecx, dword [ebp - 0x4b4]
mov edx, dword [eax]
sub ecx, edx
jmp 0x100058f0
test dl, 4
jne 0x100058e4
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [eax]
test ecx, ecx
je 0x100058e4
mov eax, dword [ebp - 0x4e0]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x4c0]
add ecx, dword [eax]
jmp 0x100058f0
mov ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x41c]
test edx, edx
je 0x10005907
push ecx
push edx
lea ecx, [ebp - 0x440]
call fcn.10002640
mov edi, dword [ebp - 0x430]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x538]
mov dword [ebp - 0x598], 0x10009b5c
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x588]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x598]
mov dword [ebp - 0x444], 0xb
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x598]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x598]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x59c], eax
lea eax, [ebp - 0x588]
mov ecx, eax
mov dword [ebp - 0x458], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 0x10
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
cmovae eax, dword [ebp - 0x440]
mov dword [ebp - 0x44c], eax
mov eax, 2
cmp edi, 0x7fffffff
jbe 0x100059c6
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
test edi, edi
je 0x10005a42
cmp edi, 0x1000
jb 0x100059f9
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x10005c5c
push eax
call fcn.10006da3
add esp, 4
test eax, eax
je 0x10005be4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x10005a04
push edi
call fcn.10006da3
add esp, 4
mov ebx, eax
push edi
push dword [ebp - 0x44c]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x57c]
lea ecx, [edi + ebx]
mov dword [ebp - 0x550], ecx
add esp, 0xc
mov dword [eax], ebx
mov eax, dword [ebp - 0x56c]
mov dword [eax], ebx
mov eax, dword [ebp - 0x55c]
mov ebx, dword [ebp - 0x450]
mov dword [eax], edi
mov eax, 3
jmp 0x10005a4c
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x598]
mov eax, dword [ebp - 0x598]
push 0xa
mov eax, dword [eax + 4]
add ecx, eax
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 - 0x428]
push eax
lea ecx, [ebp - 0x598]
call fcn.100068d0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10005b21
nop dword [eax + eax]
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x428]
push ecx
cmp eax, dword [esi + 8]
je 0x10005adc
mov ecx, eax
call fcn.10003410
add dword [esi + 4], 0x18
jmp 0x10005ae4
push eax
mov ecx, esi
call fcn.100066c0
mov eax, dword [ebp - 0x598]
lea ecx, [ebp - 0x598]
push 0xa
mov eax, dword [eax + 4]
add ecx, eax
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 - 0x428]
push eax
lea ecx, [ebp - 0x598]
call fcn.100068d0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10005ac0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [ebp - 0x454]
call esi
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x10005b6c
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005b62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005be4
push edx
push ecx
call fcn.10006dd3
add esp, 8
mov eax, dword [ebp - 0x598]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x598]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x59c], eax
lea ecx, [ebp - 0x588]
call fcn.10006520
lea ecx, [ebp - 0x580]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x538]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x42c]
cmp eax, 0x10
jb 0x10005bf4
mov edx, dword [ebp - 0x440]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005bea
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005bea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10006dd3
add esp, 8
mov eax, dword [ebp - 0x4f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x4f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x4f4], eax
lea ecx, [ebp - 0x4ec]
call fcn.10006520
lea ecx, [ebp - 0x4e8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x4a0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov al, 1
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.10006d95
mov esp, ebp
pop ebp
ret
call fcn.10001190
int3