Function at 0x4062ca
Capabilities:
Check http status code

Disassembly:
push 0x214
mov eax, 0x5080af
call fcn.004da055
mov esi, ecx
mov edi, esi
call fcn.004069e4
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x38]
push eax
mov dword [ebp - 0x158], eax
call edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
lea eax, [esi + 0x20]
push eax
mov dword [ebp - 0x12c], eax
call edi
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x60]
cmp eax, 0x1e
jbe 0x406326
push 0x1e
pop eax
cmp eax, ebx
jne 0x40634c
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bl, 1
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.004da0b1
ret
push eax
lea eax, [ebp - 0x168]
lea edi, [esi + 0x50]
push eax
lea eax, [ebp - 0x150]
mov ecx, edi
mov dword [ebp - 0x144], edi
call fcn.00408b24
mov edx, eax
call fcn.00408cec
sub esp, 0xc
mov eax, esp
lea edx, [ebp - 0x168]
mov dword [ebp - 0x130], esp
call fcn.0040693d
sub esp, 0xc
mov eax, esp
mov ecx, edi
mov dword [ebp - 0x130], esp
call fcn.00408b24
lea eax, [ebp - 0x140]
call fcn.0040c0d1
sub esp, 0xc
lea edx, [ebp - 0x168]
mov eax, esp
mov dword [ebp - 0x130], esp
call fcn.0040693d
lea eax, [ebp - 0x150]
mov ecx, edi
call fcn.00408b24
sub esp, 0xc
mov edx, eax
mov eax, esp
mov dword [ebp - 0x130], esp
call fcn.0040693d
lea eax, [ebp - 0x178]
push eax
push edi
call fcn.00408bc8
mov byte [ebp - 4], 1
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x220]
push eax
call fcn.00408d31
lea eax, [ebp - 0x210]
push 0x5b
push eax
mov byte [ebp - 4], 3
call fcn.0040bafe
mov eax, dword [ebp - 0x140]
pop ecx
pop ecx
mov edi, eax
cmp eax, dword [ebp - 0x13c]
je 0x40645c
jmp 0x40642e
mov eax, dword [ebp - 0x140]
cmp edi, eax
je 0x406442
lea eax, [ebp - 0x210]
push 0x2c
push eax
call fcn.0040bafe
pop ecx
pop ecx
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.0040be1d
add edi, 0x1c
pop ecx
cmp edi, dword [ebp - 0x13c]
jne 0x406428
lea eax, [ebp - 0x210]
push 0x5d
push eax
call fcn.0040bafe
pop ecx
pop ecx
cmp byte [esi + 0x1c], bl
je 0x4064c9
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x220]
call fcn.00408de7
push eax
lea eax, [ebp - 0xa0]
push str.flush_record_:
push eax
mov byte [ebp - 4], 4
call fcn.0040c04e
add esp, 0xc
push 0x54f2e0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040be1d
pop ecx
push eax
call fcn.0040ed5c
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.00402566
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00402566
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov byte [ebp - 4], 6
cmp dword [esi + 0x10], ebx
jbe 0x4065a0
push 0xf
pop eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
push 6
push str.Cookie
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.004024af
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00402245
lea ecx, [ebp - 0x154]
call fcn.0040d8d9
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 8
cmp edi, ebx
je 0x40655c
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
call fcn.004020b5
lea eax, [ebp - 0x4c]
push eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 9
call fcn.004020b5
add edi, 0x38
mov byte [ebp - 4], 7
lea eax, [edi - 0x38]
mov dword [ebp - 0x150], edi
cmp dword [ebp - 0x154], eax
je 0x406586
cmp eax, edi
je 0x406586
push edi
push dword [ebp - 0x154]
call fcn.0040dbdf
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00402566
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00402566
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x220]
call fcn.00408de7
mov ecx, dword [esi + 0x8c]
push 0xf
pop edx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edi, [ebp - 0x30]
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00405ea9
test al, al
jne 0x40660a
push ebx
push 1
mov ecx, edi
call fcn.00402566
push ebx
push 1
lea ecx, [ebp - 0x84]
call fcn.00402566
mov byte [ebp - 0x125], bl
jmp 0x4067bd
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00405fd5
lea eax, [ebp - 0xbc]
push eax
lea edi, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
call fcn.004048d0
add esp, 0xc
push eax
lea eax, [ebp - 0x108]
push str.data_list
push eax
mov byte [ebp - 4], 0xe
call fcn.0040c04e
add esp, 0xc
lea ecx, [ebp - 0xec]
push str.gzip1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00401f41
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x10
call fcn.00402128
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xec]
call fcn.00402566
push ebx
push edi
lea ecx, [ebp - 0x108]
call fcn.00402566
push ebx
push edi
lea ecx, [ebp - 0xbc]
call fcn.00402566
push ebx
push edi
lea ecx, [ebp - 0xa0]
call fcn.00402566
push ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00402566
lea eax, [ebp - 0x60]
push eax
call fcn.00405e26
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x12c]
mov edi, dword [eax]
jmp 0x406755
push ebx
push 0x52c94e
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.004024af
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xd0]
push edi
push eax
mov byte [ebp - 4], 0x12
call fcn.00405baa
add esp, 0x14
lea ebx, [ebp - 0x60]
mov byte [ebp - 4], 0x13
call fcn.00405e60
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0x12
call fcn.004058ba
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
call fcn.00402566
xor ebx, ebx
cmp dword [ebp - 0x60], 0xc8
je 0x40679b
mov eax, dword [ebp - 0x12c]
add edi, 0x1c
cmp edi, dword [eax + 4]
jne 0x4066d4
cmp dword [ebp - 0x60], 0xc8
je 0x40679b
push str.SensorsAnalytics_SDK_send_failed:
push 0x54f228
call fcn.0040bc74
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040be1d
add esp, 0xc
push eax
call fcn.0040ed5c
pop ecx
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0xb
call fcn.004058ba
jmp 0x4065f1
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0xb
call fcn.004058ba
push ebx
push 1
lea ecx, [ebp - 0x84]
call fcn.00402566
mov byte [ebp - 0x125], 1
push ebx
push 1
lea ecx, [ebp - 0x124]
call fcn.00402566
cmp byte [ebp - 0x125], bl
jne 0x40687e
lea eax, [esi + 0x20]
push eax
mov dword [ebp - 0x12c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x15
mov eax, dword [esi + 0x60]
mov esi, dword [esi + 0x84]
sub esi, eax
je 0x40686b
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0x140]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, esi
jbe 0x406812
sub eax, esi
jmp 0x406814
xor eax, eax
mov ecx, dword [ebp - 0x144]
imul eax, eax, 0x1c
add eax, dword [ebp - 0x140]
mov esi, eax
lea eax, [ebp - 0x178]
call fcn.00408b24
mov edx, eax
lea eax, [ebp - 0x168]
call fcn.0040693d
push dword [ebp - 0x130]
lea edx, [ebp - 0x168]
push dword [ebp - 0x13c]
push esi
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x130], esp
call fcn.0040693d
push dword [ebp - 0x144]
call fcn.0040cfc0
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 6
lea edi, [ebp - 0x154]
call fcn.00409c1f
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 1
call fcn.00408daf
lea eax, [ebp - 0x1c0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004d4bba
pop ecx
cmp dword [ebp - 0x140], ebx
je 0x4068d4
push dword [ebp - 0x13c]
mov eax, dword [ebp - 0x140]
call fcn.00409a18
push dword [ebp - 0x140]
call fcn.004d5dd0
pop ecx
mov bl, byte [ebp - 0x125]
jmp 0x406338