Function at 0x42995a
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf220
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4fa654]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x4fa654]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 4]
cmp ecx, eax
jne 0x4299db
mov al, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004466c5
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor edx, edx
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], dx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x14], ecx
cmp ecx, eax
je 0x429ab9
mov esi, dword [esp + 0x14]
push 0x4e24f0
lea ebx, [esp + 0xfc]
mov ecx, esi
call fcn.00404d08
add esi, 0x1c
push esi
lea ecx, [esp + 0x118]
push ecx
push eax
mov byte [esp + 0x14c], 1
call fcn.00404cc7
push 0x4e6470
lea ebx, [esp + 0xe0]
mov ecx, eax
mov byte [esp + 0x144], 2
call fcn.00404d08
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0xc8]
mov byte [esp + 0x148], 3
call fcn.004058b2
push 1
xor edi, edi
mov esi, ebx
call fcn.00401198
push 1
lea esi, [esp + 0x118]
call fcn.00401198
push 1
lea esi, [esp + 0xfc]
mov byte [esp + 0x144], 0
call fcn.00401198
add dword [esp + 0x14], 0x38
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 4]
jne 0x429a0c
xor ebx, ebx
mov eax, dword [esp + 0xd0]
add eax, 0xfffffffe
lea ecx, [esp + 0xc0]
call fcn.00416b95
lea eax, [esp + 0x24]
push eax
call fcn.00404d9c
lea eax, [esp + 0x24]
push str.Request_headers:
push eax
mov byte [esp + 0x148], 4
call fcn.00405e4c
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xcc]
call fcn.004060a0
add esp, 0xc
lea edx, [esp + 0xdc]
lea ecx, [esp + 0x24]
call fcn.00404d5e
mov byte [esp + 0x140], 5
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
jae 0x429b34
lea eax, [esp + 0xdc]
push eax
push 4
pop ecx
call fcn.0042181f
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0xe0]
call fcn.00401198
lea ecx, [esp + 0x74]
mov byte [esp + 0x140], bl
call fcn.00404e06
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], vtable.std::ios_base.0
call fcn.00445c6f
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
pop ecx
jae 0x429b89
lea eax, [esp + 0xc0]
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [esp + 0x2c]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x429c30
push str.WinHttpAddRequestHeaders_failed:
lea eax, [esp + 0xe0]
push eax
call fcn.00404c84
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe4]
mov byte [esp + 0x148], 6
call fcn.00405528
push 1
xor edi, edi
lea esi, [esp + 0xe0]
mov byte [esp + 0x144], bl
call fcn.00401198
lea eax, [esp + 0xf8]
push eax
call fcn.00420059
pop ecx
mov esi, dword [esp + 0x18]
push ebx
push eax
or eax, 0xffffffff
mov byte [esp + 0x148], 7
call fcn.004058b2
push 1
lea esi, [esp + 0xfc]
call fcn.00401198
push 1
xor edi, edi
lea esi, [esp + 0xc4]
call fcn.00401198
mov al, bl
jmp 0x4299b7
mov bl, 1
jmp 0x429c19