Function at 0x40812c
Capabilities:
Create http request
Parse url

Disassembly:
push 0x70
mov eax, 0x42f74e
call fcn.0042dfe4
mov edi, ecx
xor ebx, ebx
push 0x3c
lea eax, [esi + 0xc]
push ebx
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call sub.MSVCR90.dll_memset
or ecx, 0xffffffff
mov dword [esi + 0x14], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x44], ecx
mov ecx, 0xffff
lea eax, [esi + 0xc]
mov dword [eax], 0x3c
mov word [esi + 0x24], cx
mov ecx, dword [edi + 0x14]
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x408182
mov edi, dword [edi + 4]
jmp 0x408185
add edi, 4
push eax
push ebx
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x40819a
xor al, al
jmp 0x408266
push dword [esi + 0x1c]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], ebx
push dword [esi + 0x20]
lea ecx, [ebp - 0x28]
push ebx
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call dword [0x433208]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push dword [esi + 0x38]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], 2
push dword [esi + 0x3c]
lea ecx, [ebp - 0x60]
push ebx
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call dword [0x433208]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x408239
mov eax, dword [eax + 4]
jmp 0x40823c
add eax, 4
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
cmp eax, ebx
je 0x408193
xor edx, edx
mov ecx, 0x414743
cmp edx, ecx
je 0x408264
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov al, 1
call fcn.0042e0bc
ret 4