Function at 0x434f50
Capabilities:
Check for peb beingdebugged flag
Initialize winhttp library
Prepare http request
Receive http response
Set http header

Disassembly:
push 0xffffffffffffffff
push 0x465ea4
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x48602c]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48602c]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x18], eax
mov edi, edx
mov dword [esp + 0x2c], ecx
xor ebx, ebx
mov dword [esp + 0xcc], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
push 0x38
lea ecx, [esp + 0x38]
push ebx
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
call sub.MSVCR80.dll_memset
or ebp, 0xffffffff
add esp, 0xc
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], 1
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov esi, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x435013
lea ecx, [esp + 0x30]
push ecx
sub eax, edx
push ebx
sar eax, 1
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x435278
push ebx
push ebx
push ebx
push ebx
push str.User_Agent
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x435278
push ebx
push ebx
push 0x1388
push 0x1388
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP80.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 byte [esp + 0xcc], 2
mov eax, dword [esp + 0x44]
push eax
push ebx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0xb0]
call dword [sym.imp.MSVCP80.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, [esp + 0xa8]
mov byte [esp + 0xd0], 3
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xcc], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esp + 0x48]
push ebx
push edx
lea ecx, [esp + 0xac]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x20], edi
je 0x435258
xor eax, eax
cmp word [esp + 0x48], 0x1bb
setne al
sub eax, 1
and eax, 0x800000
push eax
mov eax, dword [esp + 0x60]
push ebx
push ebx
push str.HTTP_1.1
push eax
push str.POST
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebp, eax
cmp ebp, ebx
je 0x43524e
push str.Content_type:_application_x_www_form_urlencoded_r_n
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x20000000
push eax
push str.Content_type:_application_x_www_form_urlencoded_r_n
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov eax, dword [esp + 0x9c]
push ebx
push eax
push eax
push esi
push ebx
push ebx
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x43516d
mov esi, dword [esp + 0x18]
push str.WinHttpControl::PostWebData:_can_not_send_request._r_n
call fcn.00432380
add esp, 4
jmp 0x435243
push ebx
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x43518f
mov esi, dword [esp + 0x18]
push str.WinHttpControl::PostWebData:_can_not_receive_response._r_n
call fcn.00432380
add esp, 4
jmp 0x435243
mov esi, dword [sym.imp.MSVCR80.dll_calloc]
lea ecx, [esp + 0x14]
push ecx
push ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x435218
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4352ad
mov ecx, dword [esp + 0x28]
add ecx, eax
cmp ecx, 0x1000
mov dword [esp + 0x28], ecx
jae 0x435243
add eax, 0x10
push eax
push 1
call esi
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x435243
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
push edi
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x43522b
cmp dword [esp + 0x24], ebx
push edi
je 0x4352a4
mov ecx, dword [esp + 0x30]
call dword [0x4682c8]
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp dword [esp + 0x14], ebx
ja 0x435195
jmp 0x4352ad
mov esi, dword [esp + 0x18]
push str.WinHttpControl::PostWebData:_can_not_query_data_available._r_n
call fcn.00432380
add esp, 4
jmp 0x435243
mov esi, dword [esp + 0x18]
push str.WinHttpControl::PostWebData:_can_not_read_data._r_n
call fcn.00432380
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 8
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
or ebp, 0xffffffff
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [esp + 0xa4]
mov byte [esp + 0xcc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd8]
mov dword [esp + 0xcc], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x435307
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0xa4]
mov byte [esp + 0xcc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd8]
mov dword [esp + 0xcc], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0043ad38
add esp, 0xbc
ret 0x20