Function at 0x45f9e0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8fc4
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x55a3d0]
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 + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], eax
test ecx, ecx
jne 0x45fa32
lea eax, [ecx + 1]
jmp 0x45fd4e
mov edi, dword [eax]
mov ecx, dword [eax + 4]
xor eax, eax
cmp edi, ecx
je 0x45fd4e
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], eax
mov word [ebp - 0x48], dx
mov dword [ebp - 4], edx
lea ebx, [eax + 8]
cmp edi, ecx
je 0x45fb15
nop
push 0x51aa9c
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00405010
add esp, 0xc
mov ecx, eax
lea eax, [edi + 0x1c]
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0041afd0
push eax
mov edx, 0x51baa8
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00405100
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00411eb0
cmp dword [ebp - 0x18], ebx
jb 0x45fabb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b5907
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], ebx
jb 0x45fadc
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], cl
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x6c], ebx
jb 0x45fb00
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b5907
add esp, 4
mov eax, dword [ebp - 0x84]
add edi, 0x38
cmp edi, dword [eax + 4]
jne 0x45fa60
mov eax, dword [ebp - 0x38]
lea ecx, [eax - 2]
cmp ecx, eax
ja 0x45fb29
push 0xffffffffffffffff
push ecx
lea ecx, [ebp - 0x48]
call fcn.00412130
jmp 0x45fb36
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x48]
call fcn.0041ef30
lea ecx, [ebp - 0x128]
push ecx
call fcn.00403200
lea edx, [ebp - 0x128]
push str.Request_headers:
push edx
mov byte [ebp - 4], 4
call fcn.00404d50
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.0041b8e0
add esp, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x128]
call fcn.00402e30
mov edx, esi
push edx
push 3
mov byte [ebp - 4], 5
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x18], ebx
jb 0x45fb9a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b5907
add esp, 4
mov eax, dword [ebp - 0x128]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
mov ecx, dword [eax + 4]
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x84], edx
mov dword [ebp + ecx - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov byte [ebp - 4], 6
test byte [ebp - 0xe4], 1
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x45fbf4
mov edx, dword [ebp - 0x114]
mov eax, dword [edx]
push eax
call fcn.004b5907
add esp, 4
mov eax, dword [ebp - 0x114]
mov dword [eax], edi
mov ecx, dword [ebp - 0x104]
mov dword [ecx], edi
mov edx, dword [ebp - 0xf4]
mov dword [edx], edi
mov eax, dword [ebp - 0x110]
mov dword [eax], edi
mov ecx, dword [ebp - 0x100]
mov dword [ecx], edi
mov edx, dword [ebp - 0xf0]
mov dword [edx], edi
and dword [ebp - 0xe4], 0xfffffffe
lea ecx, [ebp - 0x124]
mov dword [ebp - 0xe8], edi
call fcn.0040d970
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0xd8]
mov dword [ebp + ecx - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push edx
mov dword [ebp - 0xd8], vtable.std::ios_base.0
call fcn.0049cb21
mov eax, dword [ebp - 0x48]
add esp, 4
cmp dword [ebp - 0x34], ebx
jae 0x45fc78
lea eax, [ebp - 0x48]
push 0x20000000
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x45fd3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x128]
push ecx
mov dword [esi], eax
call fcn.00403200
lea edx, [ebp - 0x128]
push str.WinHttpAddRequestHeaders_failed:
push edx
mov byte [ebp - 4], 7
call fcn.00404d50
mov eax, dword [esi]
add esp, 8
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.004024b0
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x128]
call fcn.00402e30
mov edx, esi
push edx
push 1
mov byte [ebp - 4], bl
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x18], ebx
jb 0x45fd05
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b5907
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00401690
cmp dword [ebp - 0x34], ebx
jb 0x45fd34
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b5907
add esp, 4
mov eax, 3
jmp 0x45fd4e
cmp dword [ebp - 0x34], ebx
jb 0x45fd4c
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b5907
add esp, 4
xor eax, eax
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.004b58f8
mov esp, ebp
pop ebp
ret 8